/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/ |
D | host_utils.py | 15 import socket 31 port = _try_bind(0, socket.SOCK_STREAM, socket.IPPROTO_TCP) 33 if port and _try_bind(port, socket.SOCK_DGRAM, socket.IPPROTO_UDP): 46 return (_try_bind(port, socket.SOCK_STREAM, socket.IPPROTO_TCP) and 47 _try_bind(port, socket.SOCK_DGRAM, socket.IPPROTO_UDP)) 51 s = socket.socket(socket.AF_INET, socket_type, socket_proto) 58 except socket.error:
|
/tools/test/connectivity/acts/framework/tests/ |
D | acts_host_utils_test.py | 17 import socket 29 test_s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) 38 test_s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
/tools/test/connectivity/acts/tests/google/bt/power/ |
D | SetupBTPairingTest.py | 25 import socket 49 sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 50 sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) 60 except socket.timeout: 62 except socket.error: 68 sock.shutdown(socket.SHUT_RDWR)
|
/tools/test/connectivity/acts/tests/google/wifi/ |
D | SetupWifiNetworkTest.py | 18 import socket 34 sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 35 sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) 45 except socket.timeout: 47 except socket.error: 51 sock.shutdown(socket.SHUT_RDWR)
|
D | WifiTetheringTest.py | 18 import socket 88 socket.inet_pton(socket.AF_INET6, ip_address) 90 except socket.error: 260 socket = sutils.open_datagram_socket(ad, local_ip, port) 262 ad, ad, socket, socket, remote_ip, port) 263 sutils.close_datagram_socket(ad, socket)
|
/tools/test/connectivity/acts/framework/acts/controllers/sl4a_lib/ |
D | sl4a_session.py | 16 import socket 156 client_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 158 client_socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) 161 client_socket.bind((socket.gethostname(), ports.client_port)) 176 except socket.timeout: 180 except socket.error as e:
|
D | rpc_connection.py | 17 import socket 85 except socket.timeout as e:
|
/tools/test/connectivity/acts/framework/tests/controllers/sl4a_lib/ |
D | sl4a_session_test.py | 18 from socket import timeout 19 from socket import error as socket_error 81 with mock.patch('socket.socket') as socket: 88 socket.return_value = socket_instance 107 with mock.patch('socket.socket') as socket: 112 socket.return_value = socket_instance 128 with mock.patch('socket.socket') as socket: 133 socket.return_value = socket_instance 155 with mock.patch('socket.socket') as socket: 160 socket.return_value = socket_instance
|
/tools/test/connectivity/acts/framework/acts/test_utils/net/ |
D | ipsec_test_utils.py | 148 def apply_transport_mode_transforms_datagram_socket(ad, socket, transforms): argument 157 socket, cconst.DIRECTION_IN, transforms[0]) 159 socket, cconst.DIRECTION_OUT, transforms[1]) 166 def remove_transport_mode_transforms_datagram_socket(ad, socket): argument 173 status = ad.droid.ipSecRemoveTransportModeTransformsDatagramSocket(socket) 176 def apply_transport_mode_transforms_socket(ad, socket, transforms): argument 185 socket, cconst.DIRECTION_IN, transforms[0]) 187 socket, cconst.DIRECTION_OUT, transforms[1]) 194 def remove_transport_mode_transforms_socket(ad, socket): argument 201 status = ad.droid.ipSecRemoveTransportModeTransformsSocket(socket)
|
/tools/test/connectivity/acts/framework/acts/controllers/anritsu_lib/ |
D | mg3710a.py | 21 import socket 56 self._sock = socket.create_connection( 62 except socket.timeout: 65 except socket.error: 98 except socket.timeout: 100 except socket.error: 122 except socket.timeout: 124 except socket.error:
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | packet_sender.py | 21 import socket 174 except socket.error as excpt: 196 except socket.error as excpt: 438 ndst_ip = socket.inet_pton(socket.AF_INET6, target_ip6) 440 node_mcast = socket.inet_ntop(socket.AF_INET6, nnode_mcast)
|
D | native.py | 20 import socket
|
D | android_device.py | 26 import socket 1205 socket.inet_aton(ip_address) 1207 except socket.error: 1228 socket.inet_aton(ipv4_gateway) 1230 except socket.error:
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | SubprocessTestResultsParserTest.java | 280 Socket socket = null; in testParser_receiveFromSocket() local 284 socket = new Socket("localhost", resultParser.getSocketServerPort()); in testParser_receiveFromSocket() 285 if (!socket.isConnected()) { in testParser_receiveFromSocket() 288 PrintWriter out = new PrintWriter(socket.getOutputStream(), true); in testParser_receiveFromSocket() 300 StreamUtil.close(socket); in testParser_receiveFromSocket() 305 StreamUtil.close(socket); in testParser_receiveFromSocket()
|
/tools/acloud/internal/lib/ |
D | base_cloud_client.py | 24 import socket 60 socket.error, ssl.SSLError)
|
/tools/test/connectivity/acts/tests/google/net/ |
D | DataCostTest.py | 19 import socket
|
D | DnsOverTlsTest.py | 19 import socket
|
/tools/test/connectivity/acts/tests/google/tel/live/ |
D | TelLiveMobilityStressTest.py | 72 import socket
|
/tools/tradefederation/core/res/jacoco/ |
D | jacocoagent.jar | META-INF/MANIFEST.MF
META-INF/MTNMINDS.SF
META-INF/MTNMINDS ... |
D | jacocoant.jar | META-INF/MANIFEST.MF
META-INF/MTNMINDS.SF
META-INF/MTNMINDS ... |