Searched refs:reboot_reason (Results 1 - 1 of 1) sorted by relevance

/system/core/init/
H A Dbuiltins.cpp988 static Result<Success> ExecWithRebootOnFailure(const std::string& reboot_reason, argument
994 service->AddReapCallback([reboot_reason](const siginfo_t& siginfo) {
997 LOG(ERROR) << "Rebooting into recovery, reason: " << reboot_reason;
998 reboot_into_recovery({"--prompt_and_wipe_data", "--reason="s + reboot_reason});
1000 LOG(ERROR) << "Failure (reboot suppressed): " << reboot_reason;

Completed in 304 milliseconds