Loading bootstat/bootstat.cpp +5 −0 Original line number Original line Diff line number Diff line Loading @@ -207,6 +207,11 @@ const std::map<std::string, int32_t> kBootReasonMap = { {"reboot,adb", 67}, {"reboot,adb", 67}, {"reboot,userrequested", 68}, {"reboot,userrequested", 68}, {"shutdown,container", 69}, // Host OS asking Android Container to shutdown {"shutdown,container", 69}, // Host OS asking Android Container to shutdown {"cold,powerkey", 70}, {"warm,s3_wakeup", 71}, {"hard,hw_reset", 72}, {"shutdown,suspend", 73}, // Suspend to RAM {"shutdown,hibernate", 74}, // Suspend to DISK }; }; // Converts a string value representing the reason the system booted to an // Converts a string value representing the reason the system booted to an Loading Loading
bootstat/bootstat.cpp +5 −0 Original line number Original line Diff line number Diff line Loading @@ -207,6 +207,11 @@ const std::map<std::string, int32_t> kBootReasonMap = { {"reboot,adb", 67}, {"reboot,adb", 67}, {"reboot,userrequested", 68}, {"reboot,userrequested", 68}, {"shutdown,container", 69}, // Host OS asking Android Container to shutdown {"shutdown,container", 69}, // Host OS asking Android Container to shutdown {"cold,powerkey", 70}, {"warm,s3_wakeup", 71}, {"hard,hw_reset", 72}, {"shutdown,suspend", 73}, // Suspend to RAM {"shutdown,hibernate", 74}, // Suspend to DISK }; }; // Converts a string value representing the reason the system booted to an // Converts a string value representing the reason the system booted to an Loading