summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Lee <geolee@google.com>2023-10-31 02:55:49 +0000
committerGeorge Lee <geolee@google.com>2023-10-31 04:10:23 +0000
commit435e0aafa887e72ad900505696983ae3646c56a8 (patch)
tree5014c9fbda5f0037e4fe9f6f733749b34131b86f
parent037d5cccf328e0d78d3e501377dcfd094fad5575 (diff)
downloadgs201-sepolicy-435e0aafa887e72ad900505696983ae3646c56a8.tar.gz
pixelstats: Add Brownout Detection sepolicy
Bug: 307392882 Test: Confirm lastmeal data upload Change-Id: I9f7386c6c813c2790dcba1c79ce80531b6819b65 Signed-off-by: George Lee <geolee@google.com>
-rw-r--r--whitechapel_pro/pixelstats_vendor.te3
1 files changed, 3 insertions, 0 deletions
diff --git a/whitechapel_pro/pixelstats_vendor.te b/whitechapel_pro/pixelstats_vendor.te
index 6aba16a..15856a1 100644
--- a/whitechapel_pro/pixelstats_vendor.te
+++ b/whitechapel_pro/pixelstats_vendor.te
@@ -33,6 +33,9 @@ allow pixelstats_vendor sysfs_thermal:lnk_file r_file_perms;
# BCL
allow pixelstats_vendor sysfs_bcl:dir search;
allow pixelstats_vendor sysfs_bcl:file r_file_perms;
+allow pixelstats_vendor mitigation_vendor_data_file:dir search;
+allow pixelstats_vendor mitigation_vendor_data_file:file rw_file_perms;
+get_prop(pixelstats_vendor, vendor_brownout_reason_prop);
# PCIe statistics
allow pixelstats_vendor sysfs_exynos_pcie_stats:dir search;