sm8550-common: Build QTI health service
Change-Id: I929a51b8516e5b3265f08160d0055f7dae6ab2bf
This commit is contained in:
@@ -204,6 +204,8 @@ PRODUCT_PACKAGES += \
|
|||||||
|
|
||||||
# Health
|
# Health
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
|
android.hardware.health-service.qti \
|
||||||
|
android.hardware.health-service.qti_recovery \
|
||||||
android.hardware.health@1.0.vendor \
|
android.hardware.health@1.0.vendor \
|
||||||
android.hardware.health@2.1.vendor
|
android.hardware.health@2.1.vendor
|
||||||
|
|
||||||
|
@@ -868,12 +868,6 @@ vendor/lib64/libllvm-qgl.so
|
|||||||
# Graphics (Vulkan)
|
# Graphics (Vulkan)
|
||||||
vendor/lib64/hw/vulkan.adreno.so
|
vendor/lib64/hw/vulkan.adreno.so
|
||||||
|
|
||||||
# Health
|
|
||||||
vendor/bin/hw/vendor.samsung.hardware.health-service
|
|
||||||
vendor/etc/init/vendor.samsung.hardware.health-service.rc
|
|
||||||
vendor/etc/vintf/manifest/vendor.samsung.hardware.health-service.xml
|
|
||||||
vendor/lib64/vendor.samsung.hardware.health-V1-ndk.so
|
|
||||||
|
|
||||||
# Hermes
|
# Hermes
|
||||||
vendor/bin/hermesd
|
vendor/bin/hermesd
|
||||||
vendor/etc/init/hermesd.rc
|
vendor/etc/init/hermesd.rc
|
||||||
|
1
sepolicy/vendor/file_contexts
vendored
1
sepolicy/vendor/file_contexts
vendored
@@ -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/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/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\.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\.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\.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
|
/(vendor|system/vendor)/bin/hw/vendor\.samsung\.hardware\.vibrator-service u:object_r:hal_vibrator_default_exec:s0
|
||||||
|
11
sepolicy/vendor/hal_health_default.te
vendored
11
sepolicy/vendor/hal_health_default.te
vendored
@@ -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
|
# Allow health HAL to read/write vendor_sysfs_battery
|
||||||
r_dir_file(hal_health_default, vendor_sysfs_battery)
|
r_dir_file(hal_health_default, vendor_sysfs_battery)
|
||||||
allow hal_health_default vendor_sysfs_battery:file w_file_perms;
|
allow hal_health_default vendor_sysfs_battery:file w_file_perms;
|
||||||
|
Reference in New Issue
Block a user