Home
last modified time | relevance | path

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

/test/vts/drivers/shell/
DShellDriver.cpp153 VtsDriverControlCommandMessage cmd_msg; in HandleShellCommandConnection() local
158 static_cast<google::protobuf::Message*>(&cmd_msg))) { in HandleShellCommandConnection()
163 if (cmd_msg.command_type() == EXIT) { in HandleShellCommandConnection()
166 } else if (cmd_msg.command_type() != EXECUTE_COMMAND) { in HandleShellCommandConnection()
167 LOG(ERROR) << "Unknown command type " << cmd_msg.command_type(); in HandleShellCommandConnection()
170 LOG(INFO) << "Received " << cmd_msg.shell_command_size() in HandleShellCommandConnection()
176 for (const auto& command : cmd_msg.shell_command()) { in HandleShellCommandConnection()
DShellDriverTest.cpp90 VtsDriverControlCommandMessage cmd_msg; in vts_shell_driver_test_client_start() local
92 cmd_msg.add_shell_command(command); in vts_shell_driver_test_client_start()
93 cmd_msg.set_command_type(EXECUTE_COMMAND); in vts_shell_driver_test_client_start()
95 if (!driverUtil.VtsSocketSendMessage(cmd_msg)) { in vts_shell_driver_test_client_start()