Lines Matching refs:reboot_target
518 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()
574 reboot_target += "," + cmd_params[2]; in HandlePowerctlMessage()
590 auto shutdown_handler = [cmd, command, reboot_target, run_fsck](const BuiltinArguments&) { in HandlePowerctlMessage()
591 DoReboot(cmd, command, reboot_target, run_fsck); in HandlePowerctlMessage()