Home
last modified time | relevance | path

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

/system/core/init/
Dreboot.cpp517 std::vector<std::string> cmd_params = Split(command, ","); in HandlePowerctlMessage() local
522 if (cmd_params.size() > 3) { in HandlePowerctlMessage()
524 } else if (cmd_params[0] == "shutdown") { in HandlePowerctlMessage()
526 if (cmd_params.size() == 2) { in HandlePowerctlMessage()
527 if (cmd_params[1] == "userrequested") { in HandlePowerctlMessage()
531 } else if (cmd_params[1] == "thermal") { in HandlePowerctlMessage()
538 } else if (cmd_params[0] == "reboot") { in HandlePowerctlMessage()
540 if (cmd_params.size() >= 2) { in HandlePowerctlMessage()
541 reboot_target = cmd_params[1]; in HandlePowerctlMessage()
573 if ((cmd_params.size() == 3) && cmd_params[2].size()) { in HandlePowerctlMessage()
[all …]