diff options
author | James Hawkins | 2017-11-29 13:29:54 -0600 |
---|---|---|
committer | Gerrit Code Review | 2017-11-29 13:29:54 -0600 |
commit | b6233894211f883972ac2a22245584336be6efdd (patch) | |
tree | b34e5fd94c6891f85a1100832096a5a84e7e5bd8 /bootstat | |
parent | 34778d24aef56092b2999da6f8038fc1895c31a7 (diff) | |
parent | 74b1758cadefdc0d27d0c04ab9b49b2c96e48b51 (diff) | |
download | platform-system-core-b6233894211f883972ac2a22245584336be6efdd.tar.gz platform-system-core-b6233894211f883972ac2a22245584336be6efdd.tar.xz platform-system-core-b6233894211f883972ac2a22245584336be6efdd.zip |
Merge "bootstat: Add a few more bootreasons."android-o-mr1-iot-preview-6
Diffstat (limited to 'bootstat')
-rw-r--r-- | bootstat/bootstat.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bootstat/bootstat.cpp b/bootstat/bootstat.cpp index 8c11289a2..05474ef6b 100644 --- a/bootstat/bootstat.cpp +++ b/bootstat/bootstat.cpp | |||
@@ -228,6 +228,13 @@ const std::map<std::string, int32_t> kBootReasonMap = { | |||
228 | {"reboot,its_just_so_hard", 88}, // produced by boot_reason_test | 228 | {"reboot,its_just_so_hard", 88}, // produced by boot_reason_test |
229 | {"reboot,Its Just So Hard", 89}, // produced by boot_reason_test | 229 | {"reboot,Its Just So Hard", 89}, // produced by boot_reason_test |
230 | {"usb", 90}, | 230 | {"usb", 90}, |
231 | {"charge", 91}, | ||
232 | {"oem_tz_crash", 92}, | ||
233 | {"uvlo", 93}, | ||
234 | {"oem_ps_hold", 94}, | ||
235 | {"abnormal_reset", 95}, | ||
236 | {"oemerr_unknown", 96}, | ||
237 | {"reboot_fastboot_mode", 97}, | ||
231 | }; | 238 | }; |
232 | 239 | ||
233 | // Converts a string value representing the reason the system booted to an | 240 | // Converts a string value representing the reason the system booted to an |