platform_hardware_interfaces/automotive
Min Yun 1a87dbca80 Change AP_POWER_STATE_REPORT's access property.
Change AP_POWER_STATE_REPORT's access property from WRITE to READ_WRITE.
In Vehicle environment some hals communicate with external ecu,
so they must know the boot reason.
(Not only on, but DEEP_SLEEPY_EXIT, ON, CANCELD)
To handle this, AOSP provide CarPowerManager, but it use AIDL.
But, in treble, vendor process must communicate with system process via hidl.
So, vendor processes(almost hal), can't use CarPowerManager.
(Beside, CarPowerManager use /dev/binder but vendor process use /dev/vndbinder).
If hals subscribe AP_POWER_STATE_REPORT via vehicle hal,
they can handle the power state.

bug: 140370318

Merged-In: Ic4c7f1d66a4fdee1cfb8b9da42cf76bc7aed5948
Change-Id: Ic4c7f1d66a4fdee1cfb8b9da42cf76bc7aed5948
2019-09-27 21:28:34 +00:00
..
audiocontrol/1.0 Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
evs Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
vehicle/2.0 Change AP_POWER_STATE_REPORT's access property. 2019-09-27 21:28:34 +00:00
OWNERS Add pfg@ to owners for automotive HALs 2019-05-14 12:58:31 -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.