Presumably you are the only person with the password to your phone unless you use biometrics, with which you can be forced to unlock it. The car's black box, on the other hand, can be dumped by warrant (at the most).
I am referring to the mobile network operators in the country having knowledge of your location at all times if you have a connected and powered on mobile device, which is then available to the government.