platform_hardware_interfaces/health
Devin Moore 92f705cee5 Use onUnlinked in health HAL
It's possible to get an onBinderDied callback after a call to
AIBinder_unlinkToDeath() so we can't delete the objects in callbacks_
until we are done using the void* cookie.
Handling the cleanup in onBinderUnlinked will handle the case where we
manually unlink it as well as the case where it's unlinked due to death.

Test: atest VtsHalHealthTargetTest
Bug: 319210610
Change-Id: Iee4783217cc88134af6de0fe66128684ca984dba
2024-01-25 00:17:47 +00:00
..
1.0 Don't depend on String8 cast to C string [health] 2023-09-13 04:25:40 +00:00
2.0 health: Remove 2.0 HAL implementation. 2023-11-02 13:42:21 -07:00
2.1 Merge OWNERS files for health 2023-09-08 21:22:23 +00:00
aidl Use onUnlinked in health HAL 2024-01-25 00:17:47 +00:00
storage Split out health.storage OWNERS file 2023-09-11 17:36:30 +00:00
utils Add android.hardware.health AIDL HAL V3. 2023-12-11 11:01:52 -08:00
OWNERS health: OWNERS -elsk +dvander. 2024-01-17 10:49:07 -08:00