1allow hal_health_default mnt_vendor_file:dir search; 2allow hal_health_default persist_file:dir search; 3allow hal_health_default persist_battery_file:file create_file_perms; 4allow hal_health_default persist_battery_file:dir rw_dir_perms; 5 6set_prop(hal_health_default, vendor_battery_defender_prop) 7set_prop(hal_health_default, vendor_shutdown_prop) 8 9# Access to /sys/devices/platform/14700000.ufs/* 10allow hal_health_default sysfs_scsi_devices_0000:dir r_dir_perms; 11allow hal_health_default sysfs_scsi_devices_0000:file rw_file_perms; 12 13allow hal_health_default fwk_stats_service:service_manager find; 14binder_use(hal_health_default) 15 16allow hal_health_default sysfs_wlc:dir search; 17allow hal_health_default sysfs_batteryinfo:file w_file_perms; 18allow hal_health_default sysfs_thermal:dir search; 19allow hal_health_default sysfs_thermal:file w_file_perms; 20allow hal_health_default thermal_link_device:dir search; 21allow hal_health_default sysfs_wlc:file r_file_perms; 22