Implement health AIDL HAL.

Test: VTS
Test: manual charger mode
Test: recovery
Bug: 213273090
Change-Id: I823e202f8877ad04e7fb5508358682bc6458f7c1
This commit is contained in:
Yifan Hong 2022-01-05 14:57:31 -08:00
parent 89bec046aa
commit d799f2f773
2 changed files with 4 additions and 0 deletions

View file

@ -18,3 +18,6 @@ BOARD_SEPOLICY_DIRS += device/google/gs201-sepolicy/dauntless
# PowerStats HAL
BOARD_SEPOLICY_DIRS += hardware/google/pixel-sepolicy/powerstats
# Health HAL
BOARD_SEPOLICY_DIRS += device/google/gs201-sepolicy/health

1
health/file_contexts Normal file
View file

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