blob: 41195208d98b5d5329821a2a9b1ca46f6652d45e [file] [log] [blame]
r_dir_file(hal_health_default, sysfs_scsi_devices_0000)
allow hal_health_default hal_pixelstats_hwservice:hwservice_manager find;
binder_call(hal_health_default, pixelstats_system)
allow hal_health_default fwk_stats_hwservice:hwservice_manager find;
binder_call(hal_health_default, statsd)
allow hal_health_default fwk_stats_service:service_manager find;
binder_use(hal_health_default)
allow hal_health_default persist_file:dir search;
allow hal_health_default persist_battery_file:file create_file_perms;
allow hal_health_default persist_battery_file:dir rw_dir_perms;
allow hal_health_default persist_file:lnk_file read;
allow hal_health_default persist_file:dir search;
allow hal_health_default sysfs_batteryinfo:file rw_file_perms;
allow hal_health_default self:capability2 wake_alarm;
allow hal_health_default mnt_vendor_file:dir search;
allow hal_health_default sysfs_wlc:dir r_dir_perms;
allow hal_health_default sysfs_thermal:dir r_dir_perms;
allow hal_health_default sysfs_thermal:file rw_file_perms;
allow hal_health_default sysfs_chargelevel:file rw_file_perms;
set_prop(hal_health_default, vendor_shutdown_prop)
set_prop(hal_health_default, vendor_battery_defender_prop)