Home
last modified time | relevance | path

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

/tools/test/connectivity/acts/framework/tests/controllers/sl4a_lib/
Dsl4a_session_test.py38 session = mock.Mock()
39 session._terminated = False
40 session.is_alive = Sl4aSession.is_alive
41 self.assertNotEqual(session._terminated, session.is_alive)
48 session = mock.Mock()
49 session._terminated = True
50 session.is_alive = Sl4aSession.is_alive
51 self.assertNotEqual(session._terminated, session.is_alive)
59 session = mock.Mock()
60 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
289 for _, session in self.sessions.items():
290 session.terminate()
Derror_reporter.py192 def report_sl4a_session(self, sl4a_manager, session, report): argument
194 if session.server_port not in sl4a_manager.sl4a_ports_in_use:
196 'ports %s' % (session.server_port,
200 if session not in sl4a_manager.sessions.values():
203 (session.uid, session.server_port))
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
Dbluetooth.proto29 repeated BluetoothSession session = 1; field
98 // A metrics dump takes a snapshot of current Bluetooth session and thus
106 // Duration of the session.
118 // The information about the RFComm session.
121 // The information about the A2DP audio session.
145 // Session information that gets logged for A2DP session.
168 // Total audio time in this A2DP session
171 // Audio codec used in this A2DP session in A2DP source role
174 // Whether A2DP offload is enabled in this A2DP session
/tools/test/connectivity/acts/framework/acts/test_utils/car/
Dcar_media_utils.py183 for session in activeSessions:
184 log.info(session)
185 if (session == mediaSession):
/tools/tradefederation/contrib/src/com/android/performance/tests/
DAppInstallTest.java198 String session = sessionFromInstallCreateOutput(output); in installAndTime() local
204 "pm install-write %s %s %s", session, "base.apk", remotePath)); in installAndTime()
213 "pm install-write %s %s %s", session, "base.dm", dmRemotePath)); in installAndTime()
220 output = mDevice.executeShellCommand(String.format("pm install-commit %s", session)); in installAndTime()
/tools/test/connectivity/acts/framework/acts/test_utils/instrumentation/
Dinstrumentation_proto_parser.py92 def get_test_timestamps(session): argument
106 for test_status in session.test_status:
Dinstrumentation_base_test.py225 session = proto_parser.get_session_from_device(self.ad_dut)
230 f.write(str(session))
231 return session
/tools/test/connectivity/acts/framework/tests/test_utils/instrumentation/
Dinstrumentation_proto_parser_test.py71 session = parser.get_session_from_local_file(proto_file)
72 timestamps = parser.get_test_timestamps(session)
/tools/test/connectivity/acts/framework/acts/controllers/
Dandroid_device.py640 session = self._sl4a_manager.create_session()
641 droid = session.rpc_client
643 ed = session.get_event_dispatcher()
1116 session = self._sl4a_manager.create_session(
1119 self._sl4a_manager.sessions[session.uid] = session
1120 return session.rpc_client
/tools/asuite/aidegen/
DREADME.md63 running in a different desktop session.
/tools/test/connectivity/acts/framework/acts/test_utils/instrumentation/power/
Dinstrumentation_power_test.py358 session = self.dump_instrumentation_result_proto()
363 proto_parser.get_test_timestamps(session))
/tools/test/connectivity/acts/framework/acts/test_utils/tel/
DTelephonyBaseTest.py468 for session in ad._sl4a_manager.sessions.values():
469 ed = session.get_event_dispatcher()