Searched refs:cmd_params (Results 1 – 1 of 1) sorted by relevance
940 std::vector<std::string> cmd_params = Split(command, ","); in HandlePowerctlMessage() local946 if (cmd_params[0] == "shutdown") { in HandlePowerctlMessage()948 if (cmd_params.size() >= 2) { in HandlePowerctlMessage()949 if (cmd_params[1] == "userrequested") { in HandlePowerctlMessage()953 } else if (cmd_params[1] == "thermal") { in HandlePowerctlMessage()960 } else if (cmd_params[0] == "reboot") { in HandlePowerctlMessage()962 if (cmd_params.size() >= 2) { in HandlePowerctlMessage()963 reboot_target = cmd_params[1]; in HandlePowerctlMessage()1013 for (size_t i = 2; (cmd_params.size() > i) && cmd_params[i].size(); ++i) { in HandlePowerctlMessage()1014 reboot_target += "," + cmd_params[i]; in HandlePowerctlMessage()