Add BrownoutDetected Events - zuma sepolicy
Brownout Detection is detected during the boot sequence. If the previous shutdown resulted in a reboot reason that has *ocp* or *uvlo* in it, the shutdown was due to brownout. Mitigation Logger should have logged the device state during the brownout. This event metric is to surface the logged data. Bug: 250009365 Test: Confirm triggering of events Ignore-AOSP-First: to detect brownout. Change-Id: I54e354372935e339f685fc8f5541a0568053ae08 Signed-off-by: George Lee <geolee@google.com>
This commit is contained in:
parent
fe97b2df7a
commit
b17a5fc383
1 changed files with 6 additions and 0 deletions
6
vendor/pixelstats_vendor.te
vendored
Normal file
6
vendor/pixelstats_vendor.te
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
# 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 { read write };
|
||||
get_prop(pixelstats_vendor, vendor_brownout_reason_prop);
|
Loading…
Add table
Add a link
Reference in a new issue