From e2c2724aeee2d2a88f8ebd030d10989cfed72123 Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Mon, 18 Dec 2017 13:40:27 -0800 Subject: [PATCH] bootstat: Add tons of new boot reasons. Bug: none Test: none Change-Id: I57e89a20f23d3b3cff2fa6667e25f1c37cb2870c --- bootstat/bootstat.cpp | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/bootstat/bootstat.cpp b/bootstat/bootstat.cpp index 40ebde027..b19ab781f 100644 --- a/bootstat/bootstat.cpp +++ b/bootstat/bootstat.cpp @@ -246,6 +246,32 @@ const std::map kBootReasonMap = { {"watchdog_sdi_apps_reset", 106}, {"smpl", 107}, {"oem_modem_failed_to_powerup", 108}, + {"reboot_normal", 109}, + {"oem_lpass_cfg", 110}, + {"oem_xpu_ns_error", 111}, + {"power_key_press", 112}, + {"hardware_reset", 113}, + {"reboot_by_powerkey", 114}, + {"reboot_verity", 115}, + {"oem_rpm_undef_error", 116}, + {"oem_crash_on_the_lk", 117}, + {"oem_rpm_reset", 118}, + {"oem_lpass_cfg", 119}, + {"oem_xpu_ns_error", 120}, + {"factory_cable", 121}, + {"oem_ar6320_failed_to_powerup", 122}, + {"watchdog_rpm_bite", 123}, + {"power_on_cable", 124}, + {"reboot_unknown", 125}, + {"wireless_charger", 126}, + {"0x776655ff", 127}, + {"oem_thermal_bite_reset", 128}, + {"charger", 129}, + {"pon1", 130}, + {"unknown", 131}, + {"reboot_rtc", 132}, + {"cold_boot", 133}, + {"hard_rst", 134}, }; // Converts a string value representing the reason the system booted to an