AV 6985 then AA 9310 at San Francisco
Vancouver → San Francisco → Santa Ana
Timetable, San Francisco time
16:06AV 6985 from Vancouver at the gate
13:29AA 9310 to Santa Ana leaves the gate
21 h 23 apart on the timetable, overnight
AA 9310 leaves 21 h 23 after AV 6985 arrives on the timetable: more than half a day, so not a connection we count.