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.py160 client_socket, fd = self._create_client_side_connection(ports)
162 self.adb, ports, client_socket, fd, uid=uid)
189 client_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
190 client_socket.settimeout(SOCKET_TIMEOUT)
191 client_socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
194 client_socket.bind((socket.gethostname(), ports.client_port))
208 client_socket.connect(('127.0.0.1', ports.forwarded_port))
223 ports.client_port = client_socket.getsockname()[1]
224 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