sm8550-common: Build QTI health service

Change-Id: I929a51b8516e5b3265f08160d0055f7dae6ab2bf
This commit is contained in:
Bruno Martins
2024-09-06 17:06:08 +08:00
committed by chaptsand
parent 34b23b3a8c
commit af42246aec
4 changed files with 2 additions and 18 deletions

View File

@@ -78,7 +78,6 @@
/(vendor|system/vendor)/bin/hw/nxp\.android\.hardware\.nfc@1\.2-service u:object_r:hal_nfc_default_exec:s0
/(vendor|system/vendor)/bin/hw/sehradiomanager u:object_r:sehradiomanager_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.samsung\.hardware\.camera\.provider-service_64 u:object_r:hal_camera_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.samsung\.hardware\.health-service u:object_r:hal_health_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.samsung\.hardware\.hyper-service u:object_r:hal_hyper_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.samsung\.hardware\.thermal@1\.0-service u:object_r:hal_thermal_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.samsung\.hardware\.vibrator-service u:object_r:hal_vibrator_default_exec:s0

View File

@@ -1,14 +1,3 @@
# Allow health HAL to read/write app_efs_file
allow hal_health_default app_efs_file:dir rw_dir_perms;
allow hal_health_default app_efs_file:file create_file_perms;
# Allow health HAL to read/write battery_efs_file
allow hal_health_default battery_efs_file:dir create_dir_perms;
allow hal_health_default battery_efs_file:file create_file_perms;
# Allow health HAL to search efs_file
allow hal_health_default efs_file:dir search;
# Allow health HAL to read/write vendor_sysfs_battery
r_dir_file(hal_health_default, vendor_sysfs_battery)
allow hal_health_default vendor_sysfs_battery:file w_file_perms;