Home
last modified time | relevance | path

Searched refs:reboot_target (Results 1 – 6 of 6) sorted by relevance

/system/core/init/
Dreboot.cpp323 void RebootMonitorThread(unsigned int cmd, const std::string& reboot_target, in RebootMonitorThread() argument
387 RebootSystem(cmd, reboot_target); in RebootMonitorThread()
613 static void DoReboot(unsigned int cmd, const std::string& reason, const std::string& reboot_target, in DoReboot() argument
616 LOG(INFO) << "Reboot start, reason: " << reason << ", reboot_target: " << reboot_target; in DoReboot()
637 RebootSystem(cmd, reboot_target, reason); in DoReboot()
643 std::thread reboot_monitor_thread(&RebootMonitorThread, cmd, reboot_target, &reboot_semaphore, in DoReboot()
665 RebootSystem(cmd, reboot_target, reason); in DoReboot()
798 RebootSystem(cmd, reboot_target, reason); in DoReboot()
1030 std::string reboot_target = ""; in HandlePowerctlMessage() local
1052 reboot_target = cmd_params[1]; in HandlePowerctlMessage()
[all …]
Dreboot_utils.h27 void SetFatalRebootTarget(const std::optional<std::string>& reboot_target = std::nullopt);
32 void __attribute__((noreturn)) RebootSystem(unsigned int cmd, const std::string& reboot_target,
Dreboot_utils.cpp44 void SetFatalRebootTarget(const std::optional<std::string>& reboot_target) { in SetFatalRebootTarget() argument
63 if (reboot_target) { in SetFatalRebootTarget()
64 init_fatal_reboot_target = *reboot_target; in SetFatalRebootTarget()
/system/core/fastboot/
Dtask.cpp64 RebootTask::RebootTask(const FlashingPlan* fp, const std::string& reboot_target) in RebootTask() argument
65 : reboot_target_(reboot_target), fp_(fp){}; in RebootTask()
Dtask.h68 RebootTask(const FlashingPlan* fp, const std::string& reboot_target);
Dfastboot.cpp2455 std::string reboot_target = next_arg(&args); in Main() local
2456 tasks.emplace_back(std::make_unique<RebootTask>(fp.get(), reboot_target)); in Main()