pixel_stats: add access to PSI information

Add access to PSI information, i.e. /proc/pressure/xyz,
where xyz=cpu, io, or memory.

Test: local test
Bug: 233841658
Merged-In: Ic433cd2ebfdd24694ed63bee118e30e286c11b41
(cherry picked from commit 69d59aa6e7b3e9897ffc811558708d322d4bed2a)
Signed-off-by: Robin Hsu <robinhsu@google.com>
Change-Id: I0e45ec31bbf470504efdd0143bbecef31bce299e
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: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;