Home
last modified time | relevance | path

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

12

/tools/test/connectivity/acts/tests/google/tel/live/
DTelLiveVideoTest.py110 ads = self.android_devices
112 tasks = [(phone_setup_video, (self.log, ads[0])), (phone_setup_video,
113 (self.log, ads[1]))]
120 ads[0],
121 ads[1],
122 ads[0],
146 ads = self.android_devices
148 tasks = [(phone_setup_video, (self.log, ads[0])), (phone_setup_video,
149 (self.log, ads[1]))]
156 ads[0],
[all …]
DTelLiveSmsTest.py102 def _sms_test(self, ads): argument
111 if not sms_send_receive_verify(self.log, ads[0], ads[1],
113 ads[0].log.warning("SMS of length %s test failed", length)
116 ads[0].log.info("SMS of length %s test succeeded", length)
121 def _long_sms_test(self, ads): argument
130 if not sms_send_receive_verify(self.log, ads[0], ads[1],
132 ads[0].log.warning("SMS of length %s test failed", length)
135 ads[0].log.info("SMS of length %s test succeeded", length)
141 def _mms_test(self, ads, expected_result=True): argument
152 ads[0],
[all …]
DTelLiveVoiceConfTest.py94 def _three_phone_call_mo_add_mo(self, ads, phone_setups, verify_funcs): argument
119 for ad, setup_func in zip(ads, phone_setups):
125 for ad in ads:
134 ads[0],
135 ads[1],
141 calls = ads[0].droid.telecomCallGetCallIds()
142 ads[0].log.info("Calls in PhoneA %s", calls)
143 if num_active_calls(self.log, ads[0]) != 1:
150 ads[0],
151 ads[2],
[all …]
DTelLiveVoiceTest.py128 ads = self.android_devices
130 tasks = [(phone_setup_voice_general, (self.log, ads[0])),
131 (phone_setup_voice_general, (self.log, ads[1]))]
138 result = two_phone_call_short_seq(self.log, ads[0], None, None, ads[1],
158 ads = self.android_devices
160 tasks = [(phone_setup_voice_general, (self.log, ads[0])),
161 (phone_setup_voice_general, (self.log, ads[1]))]
168 result = two_phone_call_short_seq(self.log, ads[1], None, None, ads[0],
188 ads = self.android_devices
190 tasks = [(phone_setup_volte, (self.log, ads[0])), (phone_setup_volte,
[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 …]
DTelLiveDSDSVoiceTest.py110 def _msim_call_sequence(self, ads, mo_mt, slot_id, argument
135 if (len(ads) != 2) or (mo_mt not in [
141 sub_id = get_subid_from_slot_index(ads[0].log, ads[0], slot_id)
143 ad_caller = ads[0]
144 ad_callee = ads[1]
145 set_subid_for_outgoing_call(ads[0], sub_id)
149 ad_caller = ads[1]
150 ad_callee = ads[0]
152 callee_number = get_phone_number_for_subscription(ads[0].log,
153 ads[0], sub_id)
[all …]
DTelWifiVoiceTest.py223 def _wfc_call_sequence(self, ads, mo_mt, initial_wifi_cellular_setup_func, argument
274 if (len(ads) != 2) or (mo_mt not in [
281 ad_caller = ads[0]
282 ad_callee = ads[1]
284 ad_caller = ads[1]
285 ad_callee = ads[0]
301 if not phone_setup_voice_general(self.log, ads[1]):
324 if is_phone_not_in_call(self.log, ads[1]):
331 if is_phone_not_in_call(self.log, ads[1]):
341 if is_phone_in_call(self.log, ads[0]):
[all …]
DTelWifiVideoTest.py103 ads = self.android_devices
106 (self.log, ads[0], False, WFC_MODE_WIFI_PREFERRED,
109 (self.log, ads[1], False, WFC_MODE_WIFI_PREFERRED,
118 ads[0],
119 ads[1],
120 ads[0],
144 ads = self.android_devices
147 (self.log, ads[0], True, WFC_MODE_WIFI_PREFERRED,
150 (self.log, ads[1], True, WFC_MODE_WIFI_PREFERRED,
159 ads[0],
[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.py232 ads = [self.dut, self.dut]
234 ads = self.android_devices[:]
235 random.shuffle(ads)
238 sub_id = get_subid_from_slot_index(self.log, ads[0], slot_id)
239 ads[0].log.info("Message - MO - slot_Id %d", slot_id)
240 set_subid_for_message(ads[0], sub_id)
243 ads[1].log.info("Message - MT - slot_id %d", slot_id_rx)
298 result = message_func_map[selection](self.log, ads[0], ads[1],
338 ads = self.android_devices[:]
341 random.shuffle(ads)
[all …]
DTelLiveVideoDataTest.py53 ads = self.android_devices
54 tasks = [(phone_setup_video, (self.log, ads[0])), (phone_setup_video,
55 (self.log, ads[1]))]
63 ads[0],
64 ads[1],
73 if not verify_http_connection(self.log, ads[0]):
77 return hangup_call(self.log, ads[0])
DTelLiveStressCallTest.py121 ads = self.android_devices
122 tasks = [(phone_setup_video, (self.log, ads[0])), (phone_setup_video,
123 (self.log, ads[1]))]
/tools/test/connectivity/acts/tests/google/tel/live/msim/
DTelLiveMSIMSmsTest.py39 def _sms_test_dsds(self, ads): argument
48 ads[0], get_subid_from_slot_index(self.log,ads[0],slot))
50 ads[1], get_subid_from_slot_index(self.log,ads[1],slot))
53 ads[0].log.info("SMS Test - length %s from slot %s to slot %s",
55 if not sms_send_receive_verify(self.log, ads[0], ads[1],
57 ads[0].log.warning(
61 ads[0].log.info("SMS Test - length %s from slot %s to slot %s",
63 if not sms_send_receive_verify(self.log, ads[0], ads[1],
65 ads[0].log.warning(
70 ads[0].log.info("SMS of length %s test succeeded", length)
[all …]
DTelLiveMSIMVoiceTest.py47 ads = self.android_devices
49 tasks = [(phone_setup_voice_general_for_slot, (self.log, ads[0], 0)),
50 (phone_setup_voice_general_for_slot, (self.log, ads[1], 0)),
51 (phone_setup_voice_general_for_slot, (self.log, ads[0], 1)),
52 (phone_setup_voice_general_for_slot, (self.log, ads[1], 1))
59 return two_phone_call_msim_short_seq(self.log, ads[0], None, None,
60 ads[1], None, None, None)
/tools/test/connectivity/acts/framework/acts/test_utils/tel/
Dtel_voice_utils.py130 ads = [caller, callee]
133 ensure_phones_idle(log, ads)
183 ads = [phone_a, phone_b]
186 (ads[0], ads[1], ads[0], phone_a_in_call_check_func,
188 (ads[0], ads[1], ads[1], phone_a_in_call_check_func,
195 ensure_phones_idle(log, ads)
250 ads = [phone_a, phone_b]
253 (ads[0], ads[1], ads[0], phone_a_in_call_check_func,
255 (ads[0], ads[1], ads[1], phone_a_in_call_check_func,
261 ensure_phones_idle(log, ads)
[all …]
Dtel_test_utils.py3517 def verify_incall_state(log, ads, expected_status): argument
3530 for ad in ads:
3790 def _wait_for_droids_in_state(log, ads, max_time, state_check_func, *args, argument
3794 for ad in ads:
5316 def ensure_phones_idle(log, ads, max_time=MAX_WAIT_TIME_CALL_DROP): argument
5320 for ad in ads:
5434 def ensure_phones_default_state(log, ads, check_subscription=True): argument
5445 for ad in ads:
6254 def start_qxdm_loggers(log, ads, begin_time=None): argument
6255 tasks = [(start_qxdm_logger, [ad, begin_time]) for ad in ads
[all …]
/tools/test/connectivity/acts/framework/tests/
Dacts_android_device_test.py52 ads = []
56 ads.append(ad)
57 return ads
197 ads = get_mock_ads(5)
199 ad = android_device.get_device(ads, serial=expected_serial)
203 ads = get_mock_ads(5)
206 ads[1].h_port = expected_h_port
208 ads, serial=expected_serial, h_port=expected_h_port)
213 ads = get_mock_ads(5)
217 ad = android_device.get_device(ads, serial=len(ads))
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/
Dandroid_device.py82 ads = get_all_instances()
88 ads = get_instances(configs)
91 ads = get_instances_with_configs(configs)
93 ads[0].log.info('The primary device under test is "%s".' % ads[0].serial)
95 for ad in ads:
101 _start_services_on_ads(ads)
102 return ads
105 def destroy(ads): argument
111 for ad in ads:
118 def get_info(ads): argument
[all …]
Dnative_android_device.py33 ads = get_instances(configs)
34 for ad in ads:
39 return ads
42 def destroy(ads): argument
/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:
DBluetoothBaseTest.py64 def collect_bluetooth_manager_metrics_logs(self, ads, test_name): argument
74 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:
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
Dwifi_test_utils.py2085 def start_cnss_diags(ads): argument
2086 for ad in ads:
2105 def stop_cnss_diags(ads): argument
2106 for ad in ads:

12