allow hal_health_default mnt_vendor_file:dir search; | |
allow hal_health_default persist_file:dir search; | |
set_prop(hal_health_default, vendor_battery_defender_prop) | |
# Access to /sys/devices/platform/14700000.ufs/* | |
allow hal_health_default sysfs_scsi_devices_0000:dir r_dir_perms; | |
allow hal_health_default sysfs_scsi_devices_0000:file rw_file_perms; | |
allow hal_health_default sysfs_wlc:dir search; | |
allow hal_health_default sysfs_batteryinfo:file w_file_perms; |