Searched refs:cmd_params (Results 1 – 1 of 1) sorted by relevance
976 std::vector<std::string> cmd_params = Split(command, ","); in HandlePowerctlMessage() local982 if (cmd_params[0] == "shutdown") { in HandlePowerctlMessage()984 if (cmd_params.size() >= 2) { in HandlePowerctlMessage()985 if (cmd_params[1] == "userrequested") { in HandlePowerctlMessage()989 } else if (cmd_params[1] == "thermal") { in HandlePowerctlMessage()996 } else if (cmd_params[0] == "reboot") { in HandlePowerctlMessage()998 if (cmd_params.size() >= 2) { in HandlePowerctlMessage()999 reboot_target = cmd_params[1]; in HandlePowerctlMessage()1049 for (size_t i = 2; (cmd_params.size() > i) && cmd_params[i].size(); ++i) { in HandlePowerctlMessage()1050 reboot_target += "," + cmd_params[i]; in HandlePowerctlMessage()