summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Hsu <robinhsu@google.com>2022-08-29 17:27:27 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2022-08-29 17:27:27 +0000
commitcebd482fb4a33bae65461337e1ce8777958b4b21 (patch)
tree094cd60b1cca6862124e622beefae37249a38d9c
parentcb7a2296d6f14e6be9d4110bb9b77d0702a01e34 (diff)
parent97d10b082df4969a2da410b3e38abd8209096d5a (diff)
downloadpixel-sepolicy-cebd482fb4a33bae65461337e1ce8777958b4b21.tar.gz
Merge "pixel_stats: add access to PSI information" into tm-qpr-dev
-rw-r--r--pixelstats/pixelstats_vendor.te1
1 files changed, 1 insertions, 0 deletions
diff --git a/pixelstats/pixelstats_vendor.te b/pixelstats/pixelstats_vendor.te
index ed506e9..75fd6fe 100644
--- a/pixelstats/pixelstats_vendor.te
+++ b/pixelstats/pixelstats_vendor.te
@@ -24,6 +24,7 @@ allow pixelstats_vendor sysfs_pixel_stat:dir r_dir_perms;
allow pixelstats_vendor sysfs_pixel_stat:file r_file_perms;
userdebug_or_eng(`
+ allow pixelstats_vendor { proc_pressure_cpu proc_pressure_io proc_pressure_mem }:file r_file_perms;
allow pixelstats_vendor proc_vmstat:file r_file_perms;
allow pixelstats_vendor sysfs_ion:dir search;
allow pixelstats_vendor sysfs_ion:file r_file_perms;