Searched refs:system_boot_reason (Results 1 – 3 of 3) sorted by relevance
881 void BootReasonAddToHistory(const std::string& system_boot_reason) { in BootReasonAddToHistory() argument882 if (system_boot_reason.empty()) return; in BootReasonAddToHistory()883 LOG(INFO) << "Canonical boot reason: " << system_boot_reason; in BootReasonAddToHistory()885 if (!android::base::SetProperty(system_reboot_reason_property, system_boot_reason)) { in BootReasonAddToHistory()887 system_boot_reason.substr(0, PROPERTY_VALUE_MAX - 1)); in BootReasonAddToHistory()893 auto marked_system_boot_reason = system_boot_reason + mark_str; in BootReasonAddToHistory()1235 const std::string system_boot_reason(BootReasonStrToReason(bootloader_boot_reason)); in SetSystemBootReason() local1237 BootReasonAddToHistory(system_boot_reason); in SetSystemBootReason()1250 if (last_boot_reason.empty() || isKernelRebootReason(system_boot_reason)) { in SetSystemBootReason()1251 last_boot_reason = system_boot_reason; in SetSystemBootReason()[all …]
1233 local result=`adb_su stat -c %Y /data/misc/bootstat/system_boot_reason </dev/null 2>/dev/null`
7820 64772 2901 -1 /data/misc/bootstat/system_boot_reason