platform_hardware_interfaces/automotive
Hao Chen fba3ac86cc Applying the vehicle connector to the VHAL
Make VHAL to use the connector/server interfaces instead of talking to
the (faked) vehicle directly. Use passthrough connector for now since we
have not moved to the virtualized scenario yet (but soon :)

Bug: b/141493212

Test: On both Osprey and Hawk. Build and flash the image. If on Osprey, see
go/enable-google-vhal-on-osprey; if on hawk, `aae app vhal apply google`
to enable Google VHAL

```
# no VHAL crash
$ adb logcat

$ vts-tradefed
> run vts-hal-auto -m VtsHalAutomotiveVehicleV2_0Host
# 30 passed, 2 failed, the same as the result before this patch

# See value changed in Vehicle HAL tab, KitchenSink app:
$ python packages/services/Car/tools/emulator/prop_event_simulator.py --property
VEHICLEPROPERTY_HVAC_AC_ON --area 0 --value 1

# unit tests
$ atest packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/CarPropertyTest.java
```

Change-Id: Iab77a0ae32db2c55b4c65aa8f3e4f73ec9ef2644
2019-11-21 16:57:31 -08:00
..
audiocontrol/1.0 Merge "Remove libhwbinder/libhidltransport deps" am: 6b62c58a9a am: 8c22c3862f am: 6684ee8c36 2019-09-06 16:06:13 -07:00
can/1.0 Add support for SLCAN 2019-11-13 09:42:27 -08:00
evs Explictly cast size_t into a long data type 2019-10-12 05:27:34 -07:00
vehicle/2.0 Applying the vehicle connector to the VHAL 2019-11-21 16:57:31 -08:00
OWNERS Update OWNERS 2019-09-30 13:41:40 -07:00
README.md Explicitly unfreeze the Automotive HALs 2018-06-04 14:21:31 -07:00

Autmotive HALs


Overview:

The automotive HAL tree is used by Android Automotive to discover and operate hardware specific to a car.

The HALs are not (yet) frozen, as the HAL definition is expected to evolve between Android releases.