mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-01 07:50:47 +00:00
To get thermal/power/power_stats hals debug info in user build. Bug: 134545528 Test: tested in userdebug with dumpstate.unroot set to true Change-Id: I5594bb7b1a444529c6c4fa0e566b9aeca9792fb4
22 lines
700 B
Plaintext
22 lines
700 B
Plaintext
dump_hal(hal_thermal)
|
|
dump_hal(hal_power)
|
|
dump_hal(hal_power_stats)
|
|
|
|
userdebug_or_eng(`
|
|
allow dumpstate proc_modules:file r_file_perms;
|
|
allow dumpstate proc_stat:file r_file_perms;
|
|
allow dumpstate persist_file:dir r_dir_perms;
|
|
allow dumpstate sysfs_leds:dir search;
|
|
allow dumpstate system_block_device:blk_file r_file_perms;
|
|
|
|
dontaudit dumpstate self:netlink_xfrm_socket create_socket_perms_no_ioctl;
|
|
|
|
binder_call(dumpstate, per_mgr)
|
|
')
|
|
|
|
# For collecting bugreports.
|
|
allow dumpstate sysfs_scsi_devices_0000:file r_file_perms;
|
|
allow dumpstate sysfs_scsi_devices_other:file r_file_perms;
|
|
dontaudit dumpstate persist_file:dir r_dir_perms;
|
|
dontaudit dumpstate kernel:system module_request;
|