AA 3049 then UA 115 at San Francisco
Chicago O'Hare → San Francisco → Papeete
Timetable, San Francisco time
12:41AA 3049 from Chicago O'Hare at the gatealso QF 3164
11:55UA 115 to Papeete leaves the gate
23 h 14 apart on the timetable, overnight
UA 115 leaves 23 h 14 after AA 3049 arrives on the timetable: more than half a day, so not a connection we count.