Ziyi Cui 4a96ebedbf gs-common:dumpstate: Dump Temperature Residency at bugreport
At the bugreport, capture Temperature Residency metrics

Bug: 246799997
Test: Test: "adb bugreport" includes temp residency metrics capture.
Change-Id: I1cb1c9e53890f3175812e15a15f09bcb7fd9d6af
2022-11-24 00:12:48 +00:00

11 lines
378 B
Plaintext

pixel_bugreport(dump_thermal)
allow dump_thermal sysfs_thermal:dir r_dir_perms;
allow dump_thermal sysfs_thermal:file r_file_perms;
allow dump_thermal sysfs_thermal:lnk_file r_file_perms;
allow dump_thermal vendor_toolbox_exec:file execute_no_trans;
#vendor-metrics
r_dir_file(dump_thermal, sysfs_vendor_metrics)
allow dump_thermal sysfs_vendor_metrics:lnk_file r_file_perms;