1allow hal_thermal_default sysfs_thermal:dir r_dir_perms; 2allow hal_thermal_default sysfs_thermal:file rw_file_perms; 3allow hal_thermal_default sysfs_thermal:lnk_file r_file_perms; 4allow hal_thermal_default thermal_link_device:dir r_dir_perms; 5allow hal_thermal_default proc_stat:file r_file_perms; 6allow hal_thermal_default self:netlink_generic_socket create_socket_perms_no_ioctl; 7allow hal_thermal_default self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl; 8allow hal_thermal_default sysfs_gpu:file r_file_perms; 9 10hal_client_domain(hal_thermal_default, hal_power); 11 12# read thermal_config 13get_prop(hal_thermal_default, vendor_thermal_prop) 14 15# Needed for reporting thermal stats event 16allow hal_thermal_default fwk_stats_service:service_manager find; 17binder_call(hal_thermal_default, servicemanager) 18