Implement health AIDL HAL.

Test: VTS
Test: manual charger mode
Test: recovery
Bug: 213273090
Change-Id: Iabaf31644f4406092a881841fb4084499fb4de89
This commit is contained in:
Yifan Hong 2022-01-05 23:08:07 -08:00
parent 2caa560163
commit 5521fb530c
2 changed files with 4 additions and 0 deletions

View file

@ -36,3 +36,6 @@ PRODUCT_PUBLIC_SEPOLICY_DIRS += device/google/gs101-sepolicy/public
ifeq ($(TARGET_PKVM_ENABLED),true)
BOARD_SEPOLICY_DIRS += device/google/gs101-sepolicy/pkvm
endif
# Health HAL
BOARD_SEPOLICY_DIRS += device/google/gs101-sepolicy/health

1
health/file_contexts Normal file
View file

@ -0,0 +1 @@
/vendor/bin/hw/android\.hardware\.health-service\.gs101 u:object_r:hal_health_default_exec:s0