AA 1732 then AA 5525 at Philadelphia
San Francisco → Philadelphia → Toronto
Timetable, Philadelphia time
21:04AA 1732 from San Francisco at the gate
19:55AA 5525 to Toronto leaves the gate
22 h 51 apart on the timetable, overnight
AA 5525 leaves 22 h 51 after AA 1732 arrives on the timetable: more than half a day, so not a connection we count.