Home
last modified time | relevance | path

Searched refs:system_boot_reason (Results 1 – 3 of 3) sorted by relevance

/system/core/bootstat/
Dbootstat.cpp881 void BootReasonAddToHistory(const std::string& system_boot_reason) { in BootReasonAddToHistory() argument
882 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() local
1237 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 …]
Dboot_reason_test.sh1233 local result=`adb_su stat -c %Y /data/misc/bootstat/system_boot_reason </dev/null 2>/dev/null`
/system/iorap/tests/src/compiler/testdata/
Dcommon_textcache7820 64772 2901 -1 /data/misc/bootstat/system_boot_reason