mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-01-27 18:19:03 +00:00
Merge "Add soc serial number to bugreport"
This commit is contained in:
committed by
Android (Google) Code Review
commit
df94ed1014
@@ -136,6 +136,7 @@ Return<void> DumpstateDevice::dumpstateBoard(const hidl_handle& handle) {
|
||||
}
|
||||
|
||||
getModemLogs(fd);
|
||||
DumpFileToFd(fd, "SoC serial number", "/sys/devices/soc0/serial_number");
|
||||
DumpFileToFd(fd, "CPU present", "/sys/devices/system/cpu/present");
|
||||
DumpFileToFd(fd, "CPU online", "/sys/devices/system/cpu/online");
|
||||
DumpFileToFd(fd, "INTERRUPTS", "/proc/interrupts");
|
||||
|
||||
1
sepolicy/vendor/hal_dumpstate_impl.te
vendored
1
sepolicy/vendor/hal_dumpstate_impl.te
vendored
@@ -29,6 +29,7 @@ allow hal_dumpstate_impl uio_device:chr_file rw_file_perms;
|
||||
r_dir_file(hal_dumpstate_impl, sysfs_uio)
|
||||
r_dir_file(hal_dumpstate_impl, sysfs_rmtfs)
|
||||
r_dir_file(hal_dumpstate_impl, sysfs_msm_subsys)
|
||||
r_dir_file(hal_dumpstate_impl, sysfs_soc)
|
||||
|
||||
allow hal_dumpstate_impl sysfs_thermal:dir search;
|
||||
allow hal_dumpstate_impl sysfs_thermal:file r_file_perms;
|
||||
|
||||
Reference in New Issue
Block a user