AA 3794 then AA 9795 at Phoenix
Bakersfield → Phoenix → Santa Clara
Timetable, Phoenix time
15:29AA 3794 from Bakersfield at the gate
07:00AA 9795 to Santa Clara leaves the gate
15 h 31 apart on the timetable, overnight
AA 9795 leaves 15 h 31 after AA 3794 arrives on the timetable: more than half a day, so not a connection we count.