bootstat: add more bootreasons
add more bootreasons for new projects Bug: 184012295 Test: trigger apc watchdog then "adb shell bootstat -p" Change-Id: I7166969dde3675cdbe8433dbfba634a192f6be33
This commit is contained in:
parent
53e977339b
commit
d5f24c5bb9
1 changed files with 24 additions and 0 deletions
|
|
@ -439,6 +439,30 @@ const std::map<std::string, int32_t> kBootReasonMap = {
|
|||
{"reboot,forcedsilent", 191},
|
||||
{"reboot,forcednonsilent", 192},
|
||||
{"reboot,thermal,tj", 193},
|
||||
{"reboot,emergency", 194},
|
||||
{"reboot,factory", 195},
|
||||
{"reboot,fastboot", 196},
|
||||
{"reboot,gsa,hard", 197},
|
||||
{"reboot,gsa,soft", 198},
|
||||
{"reboot,master_dc,fault_n", 199},
|
||||
{"reboot,master_dc,reset", 200},
|
||||
{"reboot,ocp", 201},
|
||||
{"reboot,pin", 202},
|
||||
{"reboot,rom_recovery", 203},
|
||||
{"reboot,uvlo", 204},
|
||||
{"reboot,uvlo,pmic,if", 205},
|
||||
{"reboot,uvlo,pmic,main", 206},
|
||||
{"reboot,uvlo,pmic,sub", 207},
|
||||
{"reboot,warm", 208},
|
||||
{"watchdog,aoc", 209},
|
||||
{"watchdog,apc", 210},
|
||||
{"watchdog,apc,bl,debug,early", 211},
|
||||
{"watchdog,apc,bl,early", 212},
|
||||
{"watchdog,apc,early", 213},
|
||||
{"watchdog,apm", 214},
|
||||
{"watchdog,gsa,hard", 215},
|
||||
{"watchdog,gsa,soft", 216},
|
||||
{"watchdog,pmucal", 217},
|
||||
};
|
||||
|
||||
// Converts a string value representing the reason the system booted to an
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue