Home
last modified time | relevance | path

Searched refs:rpc_client (Results 1 – 16 of 16) sorted by relevance

/tools/test/connectivity/acts/framework/acts/controllers/sl4a_lib/
Dsl4a_session.py24 from acts.controllers.sl4a_lib import rpc_client
86 self.rpc_client = rpc_client.RpcClient(
143 self, self.rpc_client)
177 raise rpc_client.Sl4aConnectionError(
202 self.rpc_client.closeSl4aSession()
208 self.rpc_client.terminate()
Drpc_connection.py21 from acts.controllers.sl4a_lib import rpc_client
67 self.set_timeout(rpc_client.SOCKET_TIMEOUT)
89 raise rpc_client.Sl4aProtocolError(
90 rpc_client.Sl4aProtocolError.NO_RESPONSE_FROM_HANDSHAKE)
Dsl4a_manager.py21 from acts.controllers.sl4a_lib import rpc_client
162 raise rpc_client.Sl4aConnectionError(
219 raise rpc_client.MissingSl4AError(
Devent_dispatcher.py24 from acts.controllers.sl4a_lib import rpc_client
57 def __init__(self, serial, rpc_client): argument
59 self._rpc_client = rpc_client
84 except rpc_client.Sl4aConnectionError as e:
Drpc_client.py65 def __init__(self, rpc_client): argument
66 self._rpc_client = rpc_client
68 max_workers=max(rpc_client.max_connections - 2, 1))
/tools/test/connectivity/acts/framework/tests/controllers/sl4a_lib/
Drpc_client_test.py20 from acts.controllers.sl4a_lib import rpc_client
38 client = rpc_client.RpcClient(session.uid, session.adb.serial,
55 client = rpc_client.RpcClient(session.uid, session.adb.serial,
82 client = rpc_client.RpcClient(session.uid, session.adb.serial,
115 client = rpc_client.RpcClient(session.uid, session.adb.serial,
143 client = rpc_client.RpcClient(session.uid, session.adb.serial,
173 client = rpc_client.RpcClient(session.uid, session.adb.serial,
190 client = rpc_client.RpcClient(session.uid, session.adb.serial,
202 client = rpc_client.RpcClient(session.uid, session.adb.serial,
Drpc_connection_test.py19 from acts.controllers.sl4a_lib import rpc_client, rpc_connection
111 self.assertEqual(connection.uid, rpc_client.UNKNOWN_UID)
122 rpc_client.Sl4aProtocolError,
123 msg=rpc_client.Sl4aProtocolError.NO_RESPONSE_FROM_HANDSHAKE):
Dsl4a_session_test.py25 from acts.controllers.sl4a_lib import rpc_client
114 with self.assertRaises(rpc_client.Sl4aConnectionError):
178 self.assertFalse(session.rpc_client.terminate.called)
192 self.assertFalse(session.rpc_client.terminate.called)
Dsl4a_manager_test.py20 from acts.controllers.sl4a_lib import rpc_client
173 except rpc_client.Sl4aConnectionError:
196 except rpc_client.Sl4aConnectionError:
312 except rpc_client.MissingSl4AError:
327 except rpc_client.MissingSl4AError:
356 rpc_client.RpcClient, '__init__', return_value=None):
374 rpc_client.RpcClient, '__init__', return_value=None):
/tools/test/connectivity/acts/tests/google/ble/api/
DBleScanApiTest.py23 from acts.controllers.sl4a_lib import rpc_client
89 except rpc_client.Sl4aApiError as error:
95 except rpc_client.Sl4aApiError as error:
103 except rpc_client.Sl4aApiError as error:
114 except rpc_client.Sl4aApiError as error:
125 except rpc_client.Sl4aApiError as error:
DBleAdvertiseApiTest.py23 from acts.controllers.sl4a_lib import rpc_client
1035 except rpc_client.Sl4aApiError:
1210 except rpc_client.Sl4aApiError:
1224 except rpc_client.Sl4aApiError:
1237 except rpc_client.Sl4aApiError:
1253 except rpc_client.Sl4aApiError:
1269 except rpc_client.Sl4aApiError:
/tools/test/connectivity/acts/tests/google/wifi/
DWifiRttManagerTest.py24 from acts.controllers.sl4a_lib import rpc_client
121 except rpc_client.Sl4aApiError as e:
/tools/test/connectivity/acts/framework/acts/controllers/
Dandroid_device.py523 return self._sl4a_manager.sessions[session_id].rpc_client
614 droid = session.rpc_client
1011 return session.rpc_client
/tools/test/connectivity/acts/framework/acts/test_utils/power/
DPowerBaseTest.py241 except acts.controllers.sl4a_lib.rpc_client.Sl4aApiError:
/tools/test/connectivity/acts/tests/google/tel/live/
DTelLiveMobilityStressTest.py73 from acts.controllers.sl4a_lib.rpc_client import Sl4aProtocolError
DTelLiveStressTest.py206 session.rpc_client.logI(log_msg)