Searched refs:last_reboot_reason_file (Results 1 – 1 of 1) sorted by relevance
873 const char last_reboot_reason_file[] = LAST_REBOOT_REASON_FILE; variable1063 if (!android::base::ReadFileToString(last_reboot_reason_file, &content)) { in BootReasonStrToReason()1240 if (!android::base::ReadFileToString(last_reboot_reason_file, &last_boot_reason)) { in SetSystemBootReason()1241 PLOG(ERROR) << "Failed to read " << last_reboot_reason_file; in SetSystemBootReason()1245 LOG(INFO) << "Last reboot reason read from " << last_reboot_reason_file << " : " in SetSystemBootReason()1258 if (unlink(last_reboot_reason_file) != 0) { in SetSystemBootReason()1259 PLOG(ERROR) << "Failed to unlink " << last_reboot_reason_file; in SetSystemBootReason()