allow vendor_thermal-engine { proc_stat proc_loadavg }:file r_file_perms; allow vendor_thermal-engine vendor_thermal_device:chr_file rw_file_perms; rw_dir_file(vendor_thermal-engine, vendor_sysfs_battery_supply) rw_dir_file(vendor_thermal-engine, vendor_sysfs_usb_supply) set_prop(vendor_thermal-engine, vendor_thermal_prop); r_dir_file(vendor_thermal-engine, sysfs_thermal)