Searched refs:boot_reason (Results 1 – 3 of 3) sorted by relevance
444 int32_t BootReasonStrToEnum(const std::string& boot_reason) { in BootReasonStrToEnum() argument445 auto mapping = kBootReasonMap.find(boot_reason); in BootReasonStrToEnum()450 if (boot_reason.empty()) { in BootReasonStrToEnum()461 if (std::regex_search(boot_reason, std::regex(exact))) return id; in BootReasonStrToEnum()464 LOG(INFO) << "Unknown boot reason: " << boot_reason; in BootReasonStrToEnum()922 std::string BootReasonStrToReason(const std::string& boot_reason) { in BootReasonStrToReason() argument924 std::string reason(boot_reason); in BootReasonStrToReason()1365 int32_t boot_reason = BootReasonStrToEnum(reason); in RecordBootReason() local1367 boot_event_store.AddBootEventWithValue("boot_reason", boot_reason); in RecordBootReason()
16 chown system log /data/misc/bootstat/boot_reason
7819 64772 2900 -1 /data/misc/bootstat/boot_reason