Home
last modified time | relevance | path

Searched refs:connection (Results 1 – 19 of 19) sorted by relevance

/tools/test/connectivity/acts/framework/tests/controllers/sl4a_lib/
Drpc_connection_test.py70 connection = self.mock_rpc_connection()
71 connection._initiate_handshake = pass_on_init
72 connection.open()
85 connection = self.mock_rpc_connection(uid=1)
86 connection._initiate_handshake = pass_on_continue
87 connection.open()
95 connection = self.mock_rpc_connection()
96 connection._initiate_handshake(
99 self.assertEqual(connection.uid, 1)
107 connection = self.mock_rpc_connection(MOCK_RESP_UNKNOWN_UID)
[all …]
Drpc_client_test.py66 for connection in working_connections + free_connections:
67 self.assertTrue(connection.close.called)
92 connection = client._get_free_connection()
94 self.assertEqual(connection, expected_connection)
177 connection = mock.Mock()
178 client._working_connections = [connection]
180 client._release_working_connection(connection)
182 self.assertTrue(connection in client._free_connections)
183 self.assertFalse(connection in client._working_connections)
/tools/test/connectivity/acts/framework/acts/controllers/sl4a_lib/
Drpc_client.py132 for connection in connections:
134 'Closing connection over ports %s' % connection.ports)
135 connection.close()
169 def _release_working_connection(self, connection): argument
180 self._working_connections.remove(connection)
181 self._free_connections.append(connection)
201 connection = self._get_free_connection()
202 ticket = connection.get_new_ticket()
205 connection.set_timeout(timeout)
211 connection.send_request(request)
[all …]
Dsl4a_session.py135 def diagnose_failure(self, connection): argument
137 self._on_error_callback(self, connection)
Dsl4a_manager.py124 def diagnose_failure(self, session, connection): argument
129 self.error_reporter.create_error_report(self, session, connection)
/tools/test/connectivity/acts/framework/tests/
Dacts_test_ssh.py25 from acts.controllers.utils_lib.ssh import connection
41 conn = connection.SshConnection(self.settings)
52 conn = connection.SshConnection(self.settings)
63 with self.assertRaises(connection.Error):
65 conn = connection.SshConnection(bad_settings)
74 with self.assertRaises(connection.Error):
76 conn = connection.SshConnection(bad_settings)
/tools/test/connectivity/acts/tests/google/bt/power/
DSetupBTPairingTest.py59 connection, client_address = sock.accept()
65 if connection is not None:
66 connection.close()
/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/commands/
Droute.py18 from acts.controllers.utils_lib.ssh import connection
63 except connection.CommandError as e:
174 except connection.CommandError as e:
/tools/tradefederation/core/src/com/android/tradefed/util/net/
DHttpHelper.java161 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); in createConnection() local
162 connection.setRequestMethod(method); in createConnection()
164 connection.setRequestProperty("Content-Type", contentType); in createConnection()
166 connection.setDoInput(true); in createConnection()
167 connection.setDoOutput(true); in createConnection()
168 connection.setConnectTimeout(getOpTimeout()); // timeout for establishing the connection in createConnection()
169 connection.setReadTimeout(getOpTimeout()); // timeout for receiving a read() response in createConnection()
170 connection.setRequestProperty("User-Agent", in createConnection()
172 return connection; in createConnection()
/tools/test/connectivity/acts/tests/google/wifi/
DSetupWifiNetworkTest.py44 connection, client_address = sock.accept()
50 connection.close()
/tools/test/connectivity/acts/tests/google/power/tel/lab/temp/
Diperf_server.py22 from acts.controllers.utils_lib.ssh import connection
203 self.ssh_session = connection.SshConnection(self.ssh_settings)
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
Dbluetooth.proto15 // Session information that gets logged for every BT connection.
65 // Information that gets logged for every Bluetooth connection.
67 // Type of technology used in the connection.
/tools/test/connectivity/acts/framework/acts/controllers/
Daccess_point.py32 from acts.controllers.utils_lib.ssh import connection
125 self.ssh = connection.SshConnection(self.ssh_settings)
Diperf_server.py23 from acts.controllers.utils_lib.ssh import connection
257 self.ssh_session = connection.SshConnection(self.ssh_settings)
Dandroid_device.py36 from acts.controllers.utils_lib.ssh import connection
251 ssh_connection = connection.SshConnection(ssh_settings)
/tools/test/connectivity/acts/tests/google/bt/pts/instructions/
DGAP_PTS_INSTRUCTIONS139 Note: Start the connection fast after PTS interaction
146 Note: Start the connection fast after PTS interaction
369 Note: During pairing establish a gatt connection
DGATT_PTS_INSTRUCTIONS869 Mote: Execute the first gatts_send_response as soon as the connection is made.
/tools/metalava/gradle/wrapper/
Dgradle-wrapper.jar ... .net.URI address java.net.URLConnection connection String userInfo private java.lang.String base64Encode ( ...
/tools/tradefederation/core/res/jacoco/
Djacocoagent.jarMETA-INF/MANIFEST.MF META-INF/MTNMINDS.SF META-INF/MTNMINDS ...