Home | History | Annotate | Download | only in tcp_client

Lines Matching refs:SysMsg_pb2

24 from vts.proto import AndroidSystemControlMessage_pb2 as SysMsg_pb2
101 self.SendCommand(SysMsg_pb2.SET_HOST_INFO,
104 if (resp.response_code != SysMsg_pb2.SUCCESS):
121 self.SendCommand(SysMsg_pb2.LIST_HALS, paths=base_paths)
123 if (resp.response_code == SysMsg_pb2.SUCCESS):
129 self.SendCommand(SysMsg_pb2.CHECK_DRIVER_SERVICE,
132 return (resp.response_code == SysMsg_pb2.SUCCESS)
144 self.SendCommand(SysMsg_pb2.LAUNCH_DRIVER_SERVICE,
157 return (resp.response_code == SysMsg_pb2.SUCCESS)
161 self.SendCommand(SysMsg_pb2.LIST_APIS)
164 if (resp.response_code == SysMsg_pb2.SUCCESS):
235 self.SendCommand(SysMsg_pb2.CALL_API, arg=arg, caller_uid=caller_uid)
238 if (resp_code == SysMsg_pb2.SUCCESS):
275 logging.error("SysMsg_pb2.SUCCESS is %s", SysMsg_pb2.SUCCESS)
281 self.SendCommand(SysMsg_pb2.VTS_AGENT_COMMAND_GET_ATTRIBUTE, arg=arg)
284 if (resp_code == SysMsg_pb2.SUCCESS):
305 logging.error("SysMsg_pb2.SUCCESS is %s", SysMsg_pb2.SUCCESS)
312 SysMsg_pb2.VTS_AGENT_COMMAND_EXECUTE_SHELL_COMMAND,
324 elif resp.response_code != SysMsg_pb2.SUCCESS:
342 self.SendCommand(SysMsg_pb2.PING)
345 if resp is not None and resp.response_code == SysMsg_pb2.SUCCESS:
359 SysMsg_pb2.VTS_AGENT_COMMAND_READ_SPECIFICATION,
423 command_msg = SysMsg_pb2.AndroidSystemControlCommandMessage()
504 response_msg = SysMsg_pb2.AndroidSystemControlResponseMessage()
507 if response_msg.response_code == SysMsg_pb2.SUCCESS