Properly handle implementations of Vehicle HAL that do not support diagnostic properties.

OBD2_* properties are not required of a HAL, but DiagnosticHalService was treating them as such.
Handle this more reasonably, by providing a DiagnosticCapabilities to clients.

Test: runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/CarInfoManagerTest.java
Bug: 35388742
Change-Id: Ia38b5dd8d7d2d3c64c17696eadeac1f6285ad37d
2 files changed