Home
last modified time | relevance | path

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

/system/core/init/
Dreboot_utils.cpp110 RebootSystem(unsigned int cmd, const std::string& rebootTarget, const std::string& reboot_reason) { in RebootSystem() argument
132 if (!reboot_reason.empty()) reason = reboot_reason; in RebootSystem()
Dreboot_utils.h33 const std::string& reboot_reason = "");
Dbuiltins.cpp1172 auto reboot_reason = vdc_arg + "_failed"; in ExecVdcRebootOnFailure() local
1175 reboot_reason = "userspace_failed," + vdc_arg; in ExecVdcRebootOnFailure()
1178 auto reboot = [reboot_reason, should_reboot_into_recovery](const std::string& message) { in ExecVdcRebootOnFailure()
1182 LOG(ERROR) << message << ": Rebooting into recovery, reason: " << reboot_reason; in ExecVdcRebootOnFailure()
1184 {"--prompt_and_wipe_data", "--reason="s + reboot_reason}); in ExecVdcRebootOnFailure()
1189 LOG(ERROR) << "Failure (reboot suppressed): " << reboot_reason; in ExecVdcRebootOnFailure()
1192 LOG(ERROR) << message << ": rebooting, reason: " << reboot_reason; in ExecVdcRebootOnFailure()
1193 trigger_shutdown("reboot," + reboot_reason); in ExecVdcRebootOnFailure()