Home
last modified time | relevance | path

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

/system/core/init/
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.cpp321 void RebootMonitorThread(unsigned int cmd, const std::string& reboot_target, in RebootMonitorThread() argument
385 RebootSystem(cmd, reboot_target); in RebootMonitorThread()
581 static void DoReboot(unsigned int cmd, const std::string& reason, const std::string& reboot_target, in DoReboot() argument
584 LOG(INFO) << "Reboot start, reason: " << reason << ", reboot_target: " << reboot_target; in DoReboot()
605 RebootSystem(cmd, reboot_target); in DoReboot()
611 std::thread reboot_monitor_thread(&RebootMonitorThread, cmd, reboot_target, &reboot_semaphore, in DoReboot()
633 RebootSystem(cmd, reboot_target); in DoReboot()
754 RebootSystem(cmd, reboot_target); in DoReboot()
977 std::string reboot_target = ""; in HandlePowerctlMessage() local
999 reboot_target = cmd_params[1]; in HandlePowerctlMessage()
[all …]
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()