/tools/test/connectivity/acts/tests/google/tel/live/ |
D | TelLiveSmsTest.py | 100 def _sms_test(self, ads): argument 109 if not sms_send_receive_verify(self.log, ads[0], ads[1], 111 ads[0].log.warning("SMS of length %s test failed", length) 114 ads[0].log.info("SMS of length %s test succeeded", length) 119 def _long_sms_test(self, ads): argument 128 if not sms_send_receive_verify(self.log, ads[0], ads[1], 130 ads[0].log.warning("SMS of length %s test failed", length) 133 ads[0].log.info("SMS of length %s test succeeded", length) 139 def _mms_test(self, ads, expected_result=True): argument 150 ads[0], [all …]
|
D | TelLiveVideoTest.py | 111 ads = self.android_devices 113 tasks = [(phone_setup_video, (self.log, ads[0])), (phone_setup_video, 114 (self.log, ads[1]))] 121 ads[0], 122 ads[1], 123 ads[0], 147 ads = self.android_devices 149 tasks = [(phone_setup_video, (self.log, ads[0])), (phone_setup_video, 150 (self.log, ads[1]))] 157 ads[0], [all …]
|
D | TelLiveVoiceTest.py | 175 ads = self.android_devices 177 tasks = [(phone_setup_voice_general, (self.log, ads[0])), 178 (phone_setup_voice_general, (self.log, ads[1]))] 185 result = two_phone_call_short_seq(self.log, ads[0], None, None, ads[1], 205 ads = self.android_devices 207 tasks = [(phone_setup_voice_general, (self.log, ads[0])), 208 (phone_setup_voice_general, (self.log, ads[1]))] 215 result = two_phone_call_short_seq(self.log, ads[1], None, None, ads[0], 235 ads = self.android_devices 237 tasks = [(phone_setup_volte, (self.log, ads[0])), (phone_setup_volte, [all …]
|
D | TelLiveDSDSVoiceTest.py | 147 def _msim_call_sequence(self, ads, mo_mt, slot_id, argument 175 if (len(ads) != 2) or (mo_mt not in [ 181 sub_id = get_subid_from_slot_index(ads[0].log, ads[0], slot_id) 183 ad_caller = ads[0] 184 ad_callee = ads[1] 185 set_subid_for_outgoing_call(ads[0], sub_id) 188 mo_operator = get_operatorname_from_slot_index(ads[0], slot_id) 189 mt_operator = get_operator_name(ads[1].log, ads[1]) 191 ad_caller = ads[1] 192 ad_callee = ads[0] [all …]
|
D | TelLiveVideoDataTest.py | 53 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])
|
D | TelWifiVoiceTest.py | 219 def _wfc_call_sequence(self, ads, mo_mt, initial_wifi_cellular_setup_func, argument 270 if (len(ads) != 2) or (mo_mt not in [ 277 ad_caller = ads[0] 278 ad_callee = ads[1] 280 ad_caller = ads[1] 281 ad_callee = ads[0] 297 if not phone_setup_voice_general(self.log, ads[1]): 320 if is_phone_not_in_call(self.log, ads[1]): 327 if is_phone_not_in_call(self.log, ads[1]): 337 if is_phone_in_call(self.log, ads[0]): [all …]
|
D | TelWifiVideoTest.py | 103 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 …]
|
D | TelLiveCBRSTest.py | 96 def _cbrs_call_sequence(self, ads, mo_mt, argument 125 if (len(ads) != 2) or (mo_mt not in [ 131 self.cbrs_subid, self.default_subid = get_cbrs_and_default_sub_id(ads[0]) 134 ad_caller = ads[0] 135 ad_callee = ads[1] 138 mo_operator = get_operator_name(ads[0].log, ads[0]) 139 mt_operator = get_operator_name(ads[1].log, ads[1]) 141 ad_caller = ads[1] 142 ad_callee = ads[0] 145 mt_operator = get_operator_name(ads[0].log, ads[0]) [all …]
|
D | TelLiveMobilityStressTest.py | 131 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 …]
|
D | TelLiveStressCallTest.py | 121 ads = self.android_devices 122 tasks = [(phone_setup_video, (self.log, ads[0])), (phone_setup_video, 123 (self.log, ads[1]))]
|
D | TelLiveDataTest.py | 441 ads = self.android_devices
|
/tools/test/connectivity/acts/tests/google/tel/live/msim/ |
D | TelLiveMSIMSmsTest.py | 39 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 …]
|
D | TelLiveMSIMVoiceTest.py | 47 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/ |
D | tel_voice_utils.py | 132 ads = [caller, callee] 135 ensure_phones_idle(log, ads) 185 ads = [phone_a, phone_b] 188 (ads[0], ads[1], ads[0], phone_a_in_call_check_func, 190 (ads[0], ads[1], ads[1], phone_a_in_call_check_func, 197 ensure_phones_idle(log, ads) 252 ads = [phone_a, phone_b] 255 (ads[0], ads[1], ads[0], phone_a_in_call_check_func, 257 (ads[0], ads[1], ads[1], phone_a_in_call_check_func, 263 ensure_phones_idle(log, ads) [all …]
|
D | tel_test_utils.py | 4295 def verify_incall_state(log, ads, expected_status): argument 4308 for ad in ads: 4723 def _wait_for_droids_in_state(log, ads, max_time, state_check_func, *args, argument 4727 for ad in ads: 6252 def ensure_phones_idle(log, ads, max_time=MAX_WAIT_TIME_CALL_DROP): argument 6256 for ad in ads: 6373 def ensure_phones_default_state(log, ads, check_subscription=True): argument 6384 for ad in ads: 7222 def start_qxdm_loggers(log, ads, begin_time=None): argument 7223 tasks = [(start_qxdm_logger, [ad, begin_time]) for ad in ads [all …]
|
/tools/test/connectivity/acts/framework/tests/ |
D | acts_android_device_test.py | 52 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/ |
D | native_android_device.py | 33 ads = get_instances(configs) 34 for ad in ads: 39 return ads 42 def destroy(ads): argument
|
D | android_device.py | 83 ads = get_all_instances() 89 ads = get_instances(configs) 92 ads = get_instances_with_configs(configs) 94 ads[0].log.info('The primary device under test is "%s".' % ads[0].serial) 96 for ad in ads: 102 _start_services_on_ads(ads) 103 for ad in ads: 107 return ads 110 def destroy(ads): argument 116 for ad in ads: [all …]
|
/tools/test/connectivity/acts/tests/google/wifi/ |
D | WifiTeleCoexTest.py | 38 self.ads = self.android_devices 145 for ad in self.ads: 170 two_phone_call_short_seq(self.log, self.ads[0], None, None, self.ads[1],
|
/tools/test/connectivity/acts/framework/acts/test_utils/bt/ |
D | BtMetricsBaseTest.py | 74 def collect_bluetooth_manager_metrics_logs(self, ads): argument 84 for ad in ads:
|
D | BtFunhausBaseTest.py | 137 def _collect_bluetooth_manager_dumpsys_logs(self, ads): argument 143 for ad in ads:
|
D | BluetoothBaseTest.py | 50 def collect_bluetooth_manager_metrics_logs(self, ads, test_name): argument 60 for ad in ads:
|
/tools/test/connectivity/acts/tests/google/wifi/aware/functional/ |
D | MacRandomNoLeakageTest.py | 73 ads = [self.android_devices[0], self.android_devices[1]] 75 wutils.verify_mac_not_found_in_pcap(ads[i], mac, pcaps) 79 wutils.verify_mac_is_found_in_pcap(ads[i], mac, pcaps)
|
/tools/test/connectivity/acts/framework/acts/test_utils/net/ |
D | ipsec_test_utils.py | 204 def verify_esp_packets(ads): argument 210 for ad in ads:
|
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/ |
D | wifi_test_utils.py | 2395 def start_cnss_diags(ads): argument 2396 for ad in ads: 2415 def stop_cnss_diags(ads): argument 2416 for ad in ads:
|