AA 7638 then QF 4367 at San Francisco
Santa Ana → San Francisco → Los Angeles
Timetable, San Francisco time
14:01AA 7638 from Santa Ana at the gate
10:33QF 4367 to Los Angeles leaves the gate
20 h 32 apart on the timetable, overnight
QF 4367 leaves 20 h 32 after AA 7638 arrives on the timetable: more than half a day, so not a connection we count.