/tools/test/connectivity/acts_tests/tests/google/tel/live/ |
D | TelLiveVoiceConfTest.py | 104 def _three_phone_call_mo_add_mo(self, ads, phone_setups, verify_funcs): argument 129 for ad, setup_func in zip(ads, phone_setups): 135 for ad in ads: 144 ads[0], 145 ads[1], 151 calls = ads[0].droid.telecomCallGetCallIds() 152 ads[0].log.info("Calls in PhoneA %s", calls) 153 if num_active_calls(self.log, ads[0]) != 1: 160 ads[0], 161 ads[2], [all …]
|
D | TelLiveSmsTest.py | 110 def _sms_test(self, ads): argument 119 if not sms_send_receive_verify(self.log, ads[0], ads[1], 121 ads[0].log.warning("SMS of length %s test failed", length) 124 ads[0].log.info("SMS of length %s test succeeded", length) 129 def _long_sms_test(self, ads): argument 136 sender_message_sub_id = get_outgoing_message_sub_id(ads[0]) 137 sender_mcc = ads[0].telephony["subscription"][sender_message_sub_id]["mcc"] 144 if not sms_send_receive_verify(self.log, ads[0], ads[1], 146 ads[0].log.warning("SMS of length %s test failed", length) 149 ads[0].log.info("SMS of length %s test succeeded", length) [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 | 177 ads = self.android_devices 179 tasks = [(phone_setup_voice_general, (self.log, ads[0])), 180 (phone_setup_voice_general, (self.log, ads[1]))] 187 result = two_phone_call_short_seq(self.log, ads[0], None, None, ads[1], 207 ads = self.android_devices 209 tasks = [(phone_setup_voice_general, (self.log, ads[0])), 210 (phone_setup_voice_general, (self.log, ads[1]))] 217 result = two_phone_call_short_seq(self.log, ads[1], None, None, ads[0], 237 ads = self.android_devices 239 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 | TelLiveGFTDSDSSupplementaryServiceTest.py | 123 ads, argument 151 for ad, setup_func in zip(ads, phone_setups): 157 for ad in ads: 166 ads[0], 167 ads[1], 173 calls = ads[0].droid.telecomCallGetCallIds() 174 ads[0].log.info("Calls in PhoneA %s", calls) 175 if num_active_calls(self.log, ads[0]) != 1: 184 ads[2], 185 ads[0].telephony['subscription'][get_incoming_voice_sub_id( [all …]
|
D | TelLiveSmokeTest.py | 71 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 …]
|
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 | TelLiveCBRSTest.py | 103 def _cbrs_call_sequence(self, ads, mo_mt, argument 132 if (len(ads) != 2) or (mo_mt not in [ 138 self.cbrs_subid, self.default_subid = get_cbrs_and_default_sub_id(ads[0]) 141 ad_caller = ads[0] 142 ad_callee = ads[1] 145 mo_operator = get_operator_name(ads[0].log, ads[0]) 146 mt_operator = get_operator_name(ads[1].log, ads[1]) 148 ad_caller = ads[1] 149 ad_callee = ads[0] 152 mt_operator = get_operator_name(ads[0].log, ads[0]) [all …]
|
D | TelLiveStressTest.py | 274 ads = [self.dut, self.dut] 276 ads = self.android_devices[:] 277 random.shuffle(ads) 280 sub_id = get_subid_from_slot_index(self.log, ads[0], slot_id) 281 ads[0].log.info("Message - MO - slot_Id %d", slot_id) 282 set_subid_for_message(ads[0], sub_id) 285 ads[1].log.info("Message - MT - slot_id %d", slot_id_rx) 338 result = message_func_map[selection](self.log, ads[0], ads[1], 373 ads = self.android_devices[:] 376 random.shuffle(ads) [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 | TelLiveGFTDSDSMessageTest.py | 168 ads = self.android_devices 171 ad_mo = ads[0] 172 ad_mt = ads[1] 174 ad_mo = ads[1] 175 ad_mt = ads[0] 187 ads, type="sms") 209 ads, type="sms") 223 if not set_dds_on_slot_1(ads[0]): 225 "Failed to set DDS at eSIM on %s", ads[0].serial) 228 if not set_dds_on_slot_0(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 | TelLiveGFTDSDSVoiceTest.py | 109 ads = self.android_devices 112 ad_mo = ads[0] 113 ad_mt = ads[1] 115 ad_mo = ads[1] 116 ad_mt = ads[0] 127 _, mo_sub_id, _ = get_subid_on_same_network_of_host_ad(ads) 145 _, mt_sub_id, _ = get_subid_on_same_network_of_host_ad(ads) 156 if not set_dds_on_slot_1(ads[0]): 157 ads[0].log.warning("Failed to set DDS at eSIM.") 160 if not set_dds_on_slot_0(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 | TelLiveStressCallTest.py | 122 ads = self.android_devices 123 tasks = [(phone_setup_video, (self.log, ads[0])), (phone_setup_video, 124 (self.log, ads[1]))]
|
/tools/test/connectivity/acts/framework/acts/test_utils/tel/ |
D | tel_voice_utils.py | 135 ads = [caller, callee] 138 ensure_phones_idle(log, ads) 188 ads = [phone_a, phone_b] 191 (ads[0], ads[1], ads[0], phone_a_in_call_check_func, 193 (ads[0], ads[1], ads[1], phone_a_in_call_check_func, 200 ensure_phones_idle(log, ads) 252 ads = [phone_a, phone_b] 254 (ads[0], ads[1], ads[0], phone_a_in_call_check_func, 256 (ads[0], ads[1], ads[1], phone_a_in_call_check_func, 261 ensure_phones_idle(log, ads) [all …]
|
D | tel_test_utils.py | 4884 def verify_incall_state(log, ads, expected_status): argument 4897 for ad in ads: 5337 def _wait_for_droids_in_state(log, ads, max_time, state_check_func, *args, argument 5341 for ad in ads: 6868 def ensure_phones_idle(log, ads, max_time=MAX_WAIT_TIME_CALL_DROP): argument 6872 for ad in ads: 6989 def ensure_phones_default_state(log, ads, check_subscription=True): argument 7000 for ad in ads: 7856 def start_qxdm_loggers(log, ads, begin_time=None): argument 7857 tasks = [(start_qxdm_logger, [ad, begin_time]) for ad in ads [all …]
|
D | tel_subscription_utils.py | 417 def get_subid_on_same_network_of_host_ad(ads, host_sub_id=None, type="voice"): argument 418 ad_host = ads[0] 419 ad_p1 = ads[1] 422 ad_p2 = ads[2]
|
/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_tests/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/controllers/ |
D | android_device.py | 85 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: 104 _start_services_on_ads(ads) 105 for ad in ads: 109 return ads 112 def destroy(ads): argument 118 for ad in ads: [all …]
|
D | native_android_device.py | 33 ads = get_instances(configs) 34 for ad in ads: 39 return ads 42 def destroy(ads): argument
|
/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],
|