Home
last modified time | relevance | path

Searched refs:ads (Results 1 – 20 of 20) sorted by relevance

/tools/test/connectivity/acts/tests/google/tel/live/
DTelLiveVideoTest.py100 ads = self.android_devices
102 tasks = [(phone_setup_video, (self.log, ads[0])), (phone_setup_video,
103 (self.log, ads[1]))]
110 ads[0],
111 ads[1],
112 ads[0],
136 ads = self.android_devices
138 tasks = [(phone_setup_video, (self.log, ads[0])), (phone_setup_video,
139 (self.log, ads[1]))]
146 ads[0],
[all …]
DTelLiveVoiceConfTest.py101 def _three_phone_call_mo_add_mo(self, ads, phone_setups, verify_funcs): argument
126 for ad, setup_func in zip(ads, phone_setups):
132 for ad in ads:
141 ads[0],
142 ads[1],
148 calls = ads[0].droid.telecomCallGetCallIds()
149 ads[0].log.info("Calls in PhoneA %s", calls)
150 if num_active_calls(self.log, ads[0]) != 1:
157 ads[0],
158 ads[2],
[all …]
DTelLiveSmokeTest.py71 ads = self.android_devices
80 ensure_phones_default_state(self.log, ads)
81 tasks = [(phone_setup_volte, (self.log, ads[0])),
82 (phone_setup_volte, (self.log, ads[1]))]
92 sms_idle_result = sms_send_receive_verify(self.log, ads[0], ads[1],
96 if (wait_for_cell_data_connection(self.log, ads[0], True) and
97 verify_http_connection(self.log, ads[0])):
103 ads[0],
104 ads[1],
114 self.log, ads[0], ads[1], [rand_ascii_str(51)])
[all …]
DTelLiveVideoDataTest.py59 ads = self.android_devices
60 tasks = [(phone_setup_video, (self.log, ads[0])), (phone_setup_video,
61 (self.log, ads[1]))]
69 ads[0],
70 ads[1],
79 if not verify_http_connection(self.log, ads[0]):
83 return hangup_call(self.log, ads[0])
DTelWifiVoiceTest.py218 def _wfc_call_sequence(self, ads, mo_mt, initial_wifi_cellular_setup_func, argument
269 if (len(ads) != 2) or (mo_mt not in [
276 ad_caller = ads[0]
277 ad_callee = ads[1]
279 ad_caller = ads[1]
280 ad_callee = ads[0]
296 if not phone_setup_voice_general(self.log, ads[1]):
319 if is_phone_not_in_call(self.log, ads[1]):
326 if is_phone_not_in_call(self.log, ads[1]):
336 if is_phone_in_call(self.log, ads[0]):
[all …]
DTelWifiVideoTest.py105 ads = self.android_devices
108 (self.log, ads[0], False, WFC_MODE_WIFI_PREFERRED,
111 (self.log, ads[1], False, WFC_MODE_WIFI_PREFERRED,
120 ads[0],
121 ads[1],
122 ads[0],
146 ads = self.android_devices
149 (self.log, ads[0], True, WFC_MODE_WIFI_PREFERRED,
152 (self.log, ads[1], True, WFC_MODE_WIFI_PREFERRED,
161 ads[0],
[all …]
DTelLiveRebootStressTest.py350 ads = self.android_devices
355 if ads[0].is_apk_installed(apk):
356 ads[0].log.info("apk %s is installed", apk)
360 ads[0].log.info(
364 ads[0].adb.shell(
368 ads[0].log.info(cmd)
369 ads[0].adb.shell(cmd)
371 if not ads[0].is_apk_running(monitor_apk):
372 ads[0].log.info("%s is not running", monitor_apk)
374 ads = self.android_devices
[all …]
DTelLiveMobilityStressTest.py131 def _send_message(self, ads): argument
148 if not message_func_map[selection](self.log, ads[0], ads[1],
151 length, ads[0].serial, ads[1].serial)
161 message_type_map[selection], length, ads[0].serial,
162 ads[1].serial)
165 def _make_phone_call(self, ads): argument
171 ads[0],
172 ads[1],
173 ad_hangup=ads[random.randrange(0, 2)],
279 ads = [self.dut, self.helper]
[all …]
DTelLiveStressTest.py182 ads = [self.dut, self.dut]
184 ads = self.android_devices[:]
185 random.shuffle(ads)
201 the_number, message_type, length, ads[0].serial, ads[1].serial)
224 if not message_func_map[selection](self.log, ads[0], ads[1],
255 ads = self.android_devices[:]
257 random.shuffle(ads)
258 for ad in ads:
269 the_number, ads[0].serial, ads[1].serial, duration)
271 for ad in ads:
[all …]
DTelLiveStressCallTest.py124 ads = self.android_devices
125 tasks = [(phone_setup_video, (self.log, ads[0])), (phone_setup_video,
126 (self.log, ads[1]))]
DTelLiveDataTest.py354 ads = self.android_devices
1642 if not wifi_tethering_cleanup(self.log, ads[0], [ads[1]]):
2193 if not ads[0].droid.wifiIsApEnabled():
/tools/test/connectivity/acts/framework/tests/
Dacts_android_device_test.py50 ads = []
54 ads.append(ad)
55 return ads
194 ads = get_mock_ads(5)
196 ad = android_device.get_device(ads, serial=expected_serial)
200 ads = get_mock_ads(5)
203 ads[1].h_port = expected_h_port
205 ads, serial=expected_serial, h_port=expected_h_port)
210 ads = get_mock_ads(5)
215 ad = android_device.get_device(ads, serial=len(ads))
[all …]
/tools/test/connectivity/acts/framework/acts/test_utils/tel/
Dtel_voice_utils.py119 ads = [caller, callee]
122 ensure_phones_idle(log, ads)
173 ads = [phone_a, phone_b]
176 (ads[0], ads[1], ads[0], phone_a_in_call_check_func,
178 (ads[0], ads[1], ads[1], phone_a_in_call_check_func,
184 ensure_phones_idle(log, ads)
244 ads = [phone_a, phone_b]
247 (ads[0], ads[1], ads[0], phone_a_in_call_check_func,
249 (ads[0], ads[1], ads[1], phone_a_in_call_check_func,
251 (ads[1], ads[0], ads[0], phone_b_in_call_check_func,
[all …]
Dtel_test_utils.py2758 def verify_incall_state(log, ads, expected_status): argument
2771 for ad in ads:
2939 def _wait_for_droids_in_state(log, ads, max_time, state_check_func, *args, argument
2943 for ad in ads:
4382 def ensure_phones_idle(log, ads, max_time=MAX_WAIT_TIME_CALL_DROP): argument
4386 for ad in ads:
4477 def ensure_phones_default_state(log, ads, check_subscription=True): argument
4488 for ad in ads:
5216 def start_qxdm_loggers(log, ads, begin_time=None): argument
5217 tasks = [(start_qxdm_logger, [ad, begin_time]) for ad in ads
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/
Dnative_android_device.py33 ads = get_instances(configs)
34 for ad in ads:
39 return ads
42 def destroy(ads): argument
Dandroid_device.py86 ads = get_all_instances()
91 ads = get_instances(configs)
94 ads = get_instances_with_configs(configs)
96 ads[0].log.info('The primary device under test is "%s".' % ads[0].serial)
98 for ad in ads:
102 _start_services_on_ads(ads)
103 return ads
106 def destroy(ads): argument
112 for ad in ads:
119 def get_info(ads): argument
[all …]
/tools/test/connectivity/acts/tests/google/wifi/
DWifiTeleCoexTest.py41 self.ads = self.android_devices
148 for ad in self.ads:
173 two_phone_call_short_seq(self.log, self.ads[0], None, None, self.ads[1],
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
DBtMetricsBaseTest.py74 def collect_bluetooth_manager_metrics_logs(self, ads): argument
84 for ad in ads:
DBtFunhausBaseTest.py138 def _collect_bluetooth_manager_dumpsys_logs(self, ads): argument
144 for ad in ads:
/tools/test/connectivity/acts/framework/acts/test_utils/net/
Dipsec_test_utils.py204 def verify_esp_packets(ads): argument
210 for ad in ads: