Searched refs:boot_reason (Results 1 – 2 of 2) sorted by relevance
477 int32_t BootReasonStrToEnum(const std::string& boot_reason) { in BootReasonStrToEnum() argument478 auto mapping = kBootReasonMap.find(boot_reason); in BootReasonStrToEnum()483 if (boot_reason.empty()) { in BootReasonStrToEnum()494 if (std::regex_search(boot_reason, std::regex(exact))) return id; in BootReasonStrToEnum()497 LOG(INFO) << "Unknown boot reason: " << boot_reason; in BootReasonStrToEnum()953 std::string BootReasonStrToReason(const std::string& boot_reason) { in BootReasonStrToReason() argument955 std::string reason(boot_reason); in BootReasonStrToReason()1382 int32_t boot_reason = BootReasonStrToEnum(reason); in RecordBootReason() local1384 boot_event_store.AddBootEventWithValue("boot_reason", boot_reason); in RecordBootReason()
16 chown system log /data/misc/bootstat/boot_reason