platform_hardware_interfaces/health
Yifan Hong 830cdb119e health: Add default impl of health AIDL HAL
Compared to the HIDL HAL implementation,
- libhealthloop (and the HealthLoop class) is kept
- Create libhealthaidlimpl that replaces libhealth2impl. Fork the implementation because
  libhealth2impl is highly coupled with HIDL’s design rationale. This includes forking:
  - HalHealthLoop
  - Health implementation
- Combine the passthrough Health and hwbinder BinderHealth classes into the AIDL
  implementation of Health. This is because AIDL does not support passthrough transport.
  Separating the implementation for the two transports in HIDL does not make sense for AIDL.
- In HIDL, a BinderHealth is a HalHealthLoop which is composed of a (passthrough)
  Health implementation. As a result of this change, in AIDL, a Health implementation
  is a HalHealthLoop, which associates with the Health implementation itself with a raw
  pointer.
- hidl_death_recipient becomes ScopedAIBinder_DeathRecipient
- Callback becomes LinkedCallback

Test: manual
Bug: 177269435
Change-Id: I76e914117ce09b218cdb9d655f2135d29bb629ae
2021-10-26 23:53:55 -07:00
..
1.0 [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces 2021-02-23 14:26:20 -08:00
2.0 health: drop backup instance for non-recovery. 2021-10-19 12:50:11 -07:00
2.1 Backfill owner information for VTS module VtsHalHealthV2_1TargetTest. 2021-08-30 12:59:11 -07:00
aidl health: Add default impl of health AIDL HAL 2021-10-26 23:53:55 -07:00
storage Merge "Add OWNERS for VTS module VtsHalHealthStorageV1_0TargetTest" am: 08716a4fd9 am: f471733e9e 2021-07-28 22:03:34 +00:00
utils health: Add default impl of health AIDL HAL 2021-10-26 23:53:55 -07:00