1# Batery history
2allow pixelstats_vendor battery_history_device:chr_file r_file_perms;
3
4# BCL
5allow pixelstats_vendor sysfs_bcl:dir search;
6allow pixelstats_vendor sysfs_bcl:file r_file_perms;
7allow pixelstats_vendor mitigation_vendor_data_file:dir search;
8allow pixelstats_vendor mitigation_vendor_data_file:file rw_file_perms;
9get_prop(pixelstats_vendor, vendor_brownout_reason_prop);
10
11#vendor-metrics
12r_dir_file(pixelstats_vendor, sysfs_vendor_metrics)
13allow pixelstats_vendor sysfs_vendor_metrics:lnk_file r_file_perms;
14allow pixelstats_vendor sysfs_vendor_metrics:file w_file_perms;
15
16# Wireless charge
17allow pixelstats_vendor sysfs_wlc:dir search;
18allow pixelstats_vendor sysfs_wlc:file rw_file_perms;
19
20# PCIe Link Statistics
21allow pixelstats_vendor sysfs_pcie:dir search;
22allow pixelstats_vendor sysfs_pcie:file rw_file_perms;
23
24allow pixelstats_vendor sysfs_pixelstats:file r_file_perms;
25
26#Thermal
27r_dir_file(pixelstats_vendor, sysfs_thermal)
28allow pixelstats_vendor sysfs_thermal:lnk_file r_file_perms;
29