Dithermaster
Member
At least what android auto does is to host a server through USB where it renders an offscreen user interface which is sent over as a compressed stream. The infotainment in the car is actually a client which subscribes to that stream and shows it while sending touch screen feedback.
That's essentially how CarPlay works too. It's a separate screen than the iPhone screen, as the pictures above show, not a mirror.