Searched refs:last_reboot_reason_file (Results 1 – 1 of 1) sorted by relevance
875 const char last_reboot_reason_file[] = LAST_REBOOT_REASON_FILE; variable1065 if (!android::base::ReadFileToString(last_reboot_reason_file, &content)) { in BootReasonStrToReason()1242 if (!android::base::ReadFileToString(last_reboot_reason_file, &last_boot_reason)) { in SetSystemBootReason()1243 PLOG(ERROR) << "Failed to read " << last_reboot_reason_file; in SetSystemBootReason()1247 LOG(INFO) << "Last reboot reason read from " << last_reboot_reason_file << " : " in SetSystemBootReason()1260 if (unlink(last_reboot_reason_file) != 0) { in SetSystemBootReason()1261 PLOG(ERROR) << "Failed to unlink " << last_reboot_reason_file; in SetSystemBootReason()