Home
last modified time | relevance | path

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

/test/vts/agents/hal/
DSocketClientToDriver.cpp35 VtsDriverControlResponseMessage response_message; in Exit() local
36 if (!VtsSocketRecvMessage(&response_message)) return false; in Exit()
59 VtsDriverControlResponseMessage response_message; in LoadHal() local
60 if (!VtsSocketRecvMessage(&response_message)) return -1; in LoadHal()
61 if (response_message.response_code() != VTS_DRIVER_RESPONSE_SUCCESS) { in LoadHal()
66 return response_message.return_value(); in LoadHal()
76 VtsDriverControlResponseMessage response_message; in GetFunctions() local
77 if (!VtsSocketRecvMessage(&response_message)) { in GetFunctions()
81 return response_message.return_message(); in GetFunctions()
105 VtsDriverControlResponseMessage response_message; in ReadSpecification() local
[all …]
/test/vts/drivers/hal/server/
DSocketServer.cpp112 VtsDriverControlResponseMessage response_message; in ProcessOneCommand() local
113 response_message.set_response_code(VTS_DRIVER_RESPONSE_SUCCESS); in ProcessOneCommand()
114 if (VtsSocketSendMessage(response_message)) { in ProcessOneCommand()
130 VtsDriverControlResponseMessage response_message; in ProcessOneCommand() local
132 response_message.set_response_code(VTS_DRIVER_RESPONSE_FAIL); in ProcessOneCommand()
134 response_message.set_response_code(VTS_DRIVER_RESPONSE_SUCCESS); in ProcessOneCommand()
136 response_message.set_return_value(driver_id); in ProcessOneCommand()
137 if (VtsSocketSendMessage(response_message)) return true; in ProcessOneCommand()
142 VtsDriverControlResponseMessage response_message; in ProcessOneCommand() local
143 response_message.set_response_code(VTS_DRIVER_RESPONSE_SUCCESS); in ProcessOneCommand()
[all …]
/test/vts/runners/host/tcp_server/
Dcallback_server_test.py112 response_message = SysMsg_pb2.AndroidSystemCallbackResponseMessage()
131 response_message.ParseFromString(received_message)
139 return response_message
172 response_message = self.ConnectToServer(func_id)
179 self.assertEqual(response_message.response_code, SysMsg_pb2.SUCCESS)
200 response_message = self.ConnectToServer(func_id)
206 self.assertEqual(response_message.response_code, SysMsg_pb2.SUCCESS)
217 response_message = self.ConnectToServer(func_id)
223 self.assertEqual(response_message.response_code, SysMsg_pb2.FAIL)
Dcallback_server.py62 response_message = SysMsg.AndroidSystemCallbackResponseMessage()
71 response_message.response_code = SysMsg.SUCCESS
75 response_message.response_code = SysMsg.FAIL
78 message = response_message.SerializeToString()