Home
last modified time | relevance | path

Searched refs:session (Results 1 – 10 of 10) sorted by relevance

/tools/test/connectivity/acts/framework/tests/controllers/sl4a_lib/
Dsl4a_session_test.py36 session = mock.Mock()
37 session._terminated = False
38 session.is_alive = sl4a_session.Sl4aSession.is_alive
39 self.assertNotEqual(session._terminated, session.is_alive)
46 session = mock.Mock()
47 session._terminated = True
48 session.is_alive = sl4a_session.Sl4aSession.is_alive
49 self.assertNotEqual(session._terminated, session.is_alive)
57 session = mock.Mock()
58 session._event_dispatcher = None
[all …]
Drpc_client_test.py36 session = mock.Mock()
38 client = rpc_client.RpcClient(session.uid, session.adb.serial,
53 session = mock.Mock()
55 client = rpc_client.RpcClient(session.uid, session.adb.serial,
80 session = mock.Mock()
82 client = rpc_client.RpcClient(session.uid, session.adb.serial,
113 session = mock.Mock()
115 client = rpc_client.RpcClient(session.uid, session.adb.serial,
141 session = mock.Mock()
143 client = rpc_client.RpcClient(session.uid, session.adb.serial,
[all …]
Dsl4a_manager_test.py386 def called_on(session): argument
387 called_terminate_on.append(session)
/tools/test/connectivity/acts/framework/acts/controllers/sl4a_lib/
Dsl4a_manager.py122 return set([session.server_port for session in self.sessions.values()])
124 def diagnose_failure(self, session, connection): argument
129 self.error_reporter.create_error_report(self, session, connection)
272 session = sl4a_session.Sl4aSession(
279 self.sessions[session.uid] = session
280 return session
285 for _, session in self.sessions.items():
286 session.terminate()
Derror_reporter.py193 def report_sl4a_session(self, sl4a_manager, session, report): argument
195 if session.server_port not in sl4a_manager.sl4a_ports_in_use:
197 'ports %s' % (session.server_port,
201 if session not in sl4a_manager.sessions.values():
204 (session.uid, session.server_port))
/tools/test/connectivity/acts/tests/google/bt/audio_lab/
DBtFunhausMetricsTest.py72 asserts.assert_equal(len(bluetooth_log.session), 1)
73 a2dp_session_log = bluetooth_log.session[0]
125 asserts.assert_equal(len(bluetooth_log.session), 1)
126 a2dp_session_log = bluetooth_log.session[0]
170 asserts.assert_equal(len(bluetooth_log.session), 1)
171 a2dp_session_log = bluetooth_log.session[0]
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
Dbluetooth.proto16 repeated BluetoothSession session = 1; field
79 // A metrics dump takes a snapshot of current Bluetooth session and thus
87 // Duration of the session.
99 // The information about the RFComm session.
102 // The information about the A2DP audio session.
117 // Session information that gets logged for A2DP session.
140 // Total audio time in this A2DP session
/tools/test/connectivity/acts/framework/acts/test_utils/car/
Dcar_media_utils.py180 for session in activeSessions:
181 log.info(session)
182 if (session == mediaSession):
/tools/test/connectivity/acts/framework/acts/controllers/
Dandroid_device.py613 session = self._sl4a_manager.create_session()
614 droid = session.rpc_client
616 ed = session.get_event_dispatcher()
1007 session = self._sl4a_manager.create_session(
1010 self._sl4a_manager.sessions[session.uid] = session
1011 return session.rpc_client
/tools/test/connectivity/acts/tests/google/tel/live/
DTelLiveStressTest.py204 for session in ad._sl4a_manager.sessions.values():
206 session.rpc_client.logI(log_msg)