if you want to see if your device/rom works with android auto and you dont want to go to your car /sombody elses car all the time you can emulate android auto on your computer
unzip this file and put it somewher on your windows computer
open android auto on your phone and click version and then tap it again many times and okay the promtp for dev options
click on the 3 lines at the top right corner and click start head unit server
click on the batch script in the folder i linked below and android auto will open on your computer