Loading bootstat/bootstat.cpp +6 −0 Original line number Diff line number Diff line Loading @@ -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 Loading
bootstat/bootstat.cpp +6 −0 Original line number Diff line number Diff line Loading @@ -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