Mitigation Logger logs battery related information for 1 second when it
is triggered by under voltage or over current interrupts. Information
collected is to help debug system brownout. This change is to enable
bugreport reading out the mitigation log.
Bug: 228383769
Test: Boot and Test
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ia735e46fc1b86b1971e8838d43f8733c73793ef8
Change konb name to "buffer"
Bug: 230651222
Test: check dumpstate_board.txt from adb bugreport
Signed-off-by: Minchan Kim <minchan@google.com>
Change-Id: I80674d8728bab322ae2acdb3a8cd0ffaff39c977
The duration of dumpstate board binary is only 45s.
Change the log compression timeout from 120s to 20s.
Bug: 229932116
Change-Id: I4f3ebe0c89db50a3ad7071fe730585a391f7ac81
lshal is not supported for AIDL, now use dumpsys instead.
Update the debug command as below.
Old: lshal debug android.hardware.dumpstate@1.1::IDumpstateDevice/default [section]
New: dumpsys android.hardware.dumpstate.IDumpstateDevice/default [section]
Currently dumpsys does not start the Lazy HAL service, only dumpstate does.
Because we need to run dumpsys for debugging, keep the dumpstate HAL running at boot.
Do not set it to be a lazy HAL.
Test: atest VtsHalDumpstateTargetTest pass
adb shell dumpsys -t 30 android.hardware.dumpstate.IDumpstateDevice/default all
Bug: 223118410
Change-Id: I7f866a57c3eff8c9783fee89dce205cf9728c459
2022-04-15 17:00:31 +08:00
Renamed from dumpstate/DumpstateDevice.cpp (Browse further)