Home
last modified time | relevance | path

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

/system/core/init/
Dreboot.cpp518 std::string reboot_target = ""; in HandlePowerctlMessage() local
541 reboot_target = cmd_params[1]; in HandlePowerctlMessage()
544 if (reboot_target == "fastboot" && in HandlePowerctlMessage()
546 reboot_target = "bootloader"; in HandlePowerctlMessage()
550 if (reboot_target == "bootloader") { in HandlePowerctlMessage()
557 } else if (reboot_target == "sideload" || reboot_target == "sideload-auto-reboot" || in HandlePowerctlMessage()
558 reboot_target == "fastboot") { in HandlePowerctlMessage()
559 std::string arg = reboot_target == "sideload-auto-reboot" ? "sideload_auto_reboot" in HandlePowerctlMessage()
560 : reboot_target; in HandlePowerctlMessage()
569 reboot_target = "recovery"; in HandlePowerctlMessage()
[all …]
Dreboot_utils.h29 void __attribute__((noreturn)) RebootSystem(unsigned int cmd, const std::string& reboot_target);