mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-02-01 10:28:38 +00:00
Add BrownoutDetected Events - gs201 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: Idfc02a8bde6088a5c504ee72014537555af78b04 Signed-off-by: George Lee <geolee@google.com>
This commit is contained in:
committed by
TreeHugger Robot
parent
ed15ad3ae1
commit
5712ba4dec
@@ -34,3 +34,10 @@ allow pixelstats_vendor sysfs_bcl:file r_file_perms;
|
||||
#perf-metrics
|
||||
r_dir_file(pixelstats_vendor, sysfs_vendor_metrics)
|
||||
allow pixelstats_vendor sysfs_vendor_metrics: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 { read write };
|
||||
get_prop(pixelstats_vendor, vendor_brownout_reason_prop);
|
||||
|
||||
Reference in New Issue
Block a user