bootstat: add recovery/fastboot boot reasons
Test: none Change-Id: I3013c28d02c9744bdfa312c179143f7db9e51596
This commit is contained in:
parent
4e7acf7075
commit
8d1be80de2
1 changed files with 6 additions and 0 deletions
|
|
@ -304,6 +304,12 @@ const std::map<std::string, int32_t> kBootReasonMap = {
|
|||
{"reboot,pmic_off_fault,.*", 175},
|
||||
{"reboot,pmic_off_s3rst,.*", 176},
|
||||
{"reboot,pmic_off_other,.*", 177},
|
||||
{"reboot,fastboot_menu", 178},
|
||||
{"reboot,recovery_menu", 179},
|
||||
{"reboot,recovery_ui", 180},
|
||||
{"shutdown,fastboot", 181},
|
||||
{"shutdown,recovery", 182},
|
||||
{"reboot,unknown[0-9]*", 183},
|
||||
};
|
||||
|
||||
// Converts a string value representing the reason the system booted to an
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue