Home
last modified time | relevance | path

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

/tools/test/connectivity/acts/framework/acts/controllers/sl4a_lib/
Dsl4a_session.py127 client_socket, fd = self._create_client_side_connection(ports)
129 self.adb, ports, client_socket, fd, uid=uid)
156 client_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
157 client_socket.settimeout(SOCKET_TIMEOUT)
158 client_socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
161 client_socket.bind((socket.gethostname(), ports.client_port))
175 client_socket.connect(('127.0.0.1', ports.forwarded_port))
190 ports.client_port = client_socket.getsockname()[1]
191 return client_socket, client_socket.makefile(mode='brw')
Drpc_connection.py51 def __init__(self, adb, ports, client_socket, socket_fd, uid=UNKNOWN_UID): argument
52 self._client_socket = client_socket