/tools/test/connectivity/acts/framework/acts/test_utils/tel/ |
D | tel_test_utils.py | 275 sub_id = get_sub_id_by_adb(ad) 293 device_props = {'subscription': {sub_id: sub_record}} 294 ad.log.info("subId %s SIM record: %s", sub_id, sub_record) 318 for sub_id, sub_info in ad.telephony["subscription"].items(): 319 ad.log.debug("Loop for Subid %s", sub_id) 320 sub_info["operator"] = get_operator_name(log, ad, sub_id) 323 ad.log.warning("Unable to find ICC-ID for subscriber %s", sub_id) 338 elif sub_id == active_sub_id: 345 if (not sub_info.get("phone_num")) and sub_id == active_sub_id: 346 ad.log.info("sub_id %s sub_info = %s", sub_id, sub_info) [all …]
|
D | tel_voice_utils.py | 793 sub_id, argument 897 def phone_setup_data_for_subscription(log, ad, sub_id, network_generation): argument 917 sub_id, 939 def phone_setup_5g_for_subscription(log, ad, sub_id): argument 950 return phone_setup_data_for_subscription(log, ad, sub_id, GEN_5G) 967 def phone_setup_4g_for_subscription(log, ad, sub_id): argument 978 return phone_setup_data_for_subscription(log, ad, sub_id, GEN_4G) 995 def phone_setup_3g_for_subscription(log, ad, sub_id): argument 1006 return phone_setup_data_for_subscription(log, ad, sub_id, GEN_3G) 1023 def phone_setup_2g_for_subscription(log, ad, sub_id): argument [all …]
|
D | tel_subscription_utils.py | 223 def set_subid_for_data(ad, sub_id, time_to_sleep=WAIT_TIME_CHANGE_DATA_SUB_ID): argument 234 if ad.droid.subscriptionGetDefaultDataSubId() != sub_id: 235 ad.droid.subscriptionSetDefaultDataSubId(sub_id) 237 setattr(ad, "default_data_sub_id", sub_id) 240 def set_subid_for_message(ad, sub_id): argument 250 ad.droid.subscriptionSetDefaultSmsSubId(sub_id) 252 ad.outgoing_message_sub_id = sub_id 255 def set_subid_for_outgoing_call(ad, sub_id): argument 265 ad.droid.telecomSetUserSelectedOutgoingPhoneAccountBySubId(sub_id) 267 ad.outgoing_voice_sub_id = sub_id [all …]
|
D | tel_video_utils.py | 100 sub_id, argument 128 return phone_idle_video_for_subscription(log, ad, sub_id) 145 def phone_idle_video_for_subscription(log, ad, sub_id): argument 187 def is_phone_in_call_video_for_subscription(log, ad, sub_id, video_state=None): argument 204 ad.serial, sub_id)) 231 def is_phone_in_call_viwifi_for_subscription(log, ad, sub_id, argument 249 ad.serial, sub_id)) 297 def is_phone_in_call_video_bidirectional_for_subscription(log, ad, sub_id): argument 309 ad.serial, sub_id)) 310 return is_phone_in_call_video_for_subscription(log, ad, sub_id, [all …]
|
D | tel_data_utils.py | 491 sub_id = get_subid_from_slot_index(log, ad, sim_slot) 492 ad.log.info("Change Data to subId: %s, SIM slot: %s", sub_id, sim_slot) 493 set_subid_for_data(ad, sub_id) 494 if not wait_for_data_attach_for_subscription(log, ad, sub_id, 496 ad.log.error("Failed to attach data on subId:%s", sub_id)
|
/tools/test/connectivity/acts_tests/tests/google/tel/live/ |
D | TelLiveDSDSVoiceTest.py | 181 sub_id = get_subid_from_slot_index(ads[0].log, ads[0], slot_id) 185 set_subid_for_outgoing_call(ads[0], sub_id) 195 ads[0], sub_id) 196 setattr(ads[0], "incoming_voice_sub_id", sub_id) 322 sub_id = get_subid_from_slot_index(ads[0].log, ads[0], slot_id) 323 set_slways_allow_mms_data(ads[0], sub_id) 327 set_subid_for_message(ads[0], sub_id) 337 ads[0], sub_id) 338 setattr(ads[0], "incoming_message_sub_id", sub_id) 391 sub_id = get_subid_from_slot_index(self.log, self.android_devices[0], 0) [all …]
|
D | TelLiveStressTest.py | 280 sub_id = get_subid_from_slot_index(self.log, ads[0], slot_id) 282 set_subid_for_message(ads[0], sub_id) 379 sub_id = get_subid_from_slot_index(self.log, ads[0], slot_id) 381 set_subid_for_outgoing_call(ads[0], sub_id) 568 def _prefnetwork_mode_change(self, sub_id): argument 586 set_preferred_network_mode_pref(self.log, self.dut, sub_id, 779 sub_id = get_subid_from_slot_index(self.log, self.dut, slot_id) 781 set_subid_for_data(self.dut, sub_id) 863 def _data_call_test(self, sub_id, generation): argument 877 self.log, self.dut, sub_id, [all …]
|
D | TelLiveGFTDSDSSupplementaryServiceTest.py | 115 for sub_id in (slot0_sub_id, slot1_sub_id): 116 set_incoming_voice_sub_id(ad, sub_id) 117 get_operator_name(log, ad, sub_id)
|
D | TelLiveSettingsTest.py | 260 sub_id = get_outgoing_voice_sub_id(self.dut) 261 slot_index = get_slot_index_from_subid(self.log, self.dut, sub_id)
|
D | TelLiveStressFdrTest.py | 75 sub_id = get_outgoing_voice_sub_id(self.dut) 76 self.dut_capabilities = self.dut.telephony["subscription"][sub_id].get("capabilities", [])
|
D | TelLiveRebootStressTest.py | 579 sub_id = get_outgoing_voice_sub_id(self.dut) 580 slot_index = get_slot_index_from_subid(self.log, self.dut, sub_id)
|
D | TelLiveDataTest.py | 301 sub_id = ad.droid.subscriptionGetDefaultSubId() 307 set_preferred_network_mode_pref(ad.log, ad, sub_id, 311 set_preferred_network_mode_pref(ad.log, ad, sub_id,
|
/tools/test/connectivity/acts_tests/tests/google/net/ |
D | DataCostTest.py | 60 sub_id = str(ad.droid.telephonyGetSubscriberId()) 61 ad.droid.connectivityFactoryResetNetworkPolicies(sub_id) 62 ad.droid.connectivitySetDataWarningLimit(sub_id, -1) 111 def _get_total_data_usage_for_device(self, ad, conn_type, sub_id): argument 127 conn_type, sub_id, 0, end_time) 189 sub_id = str(ad.droid.telephonyGetSubscriberId()) 201 total_pre = self._get_total_data_usage_for_device(ad, 0, sub_id) 204 sub_id, int((total_pre + 5) * 1000.0 * 1000.0)) 207 sub_id, int((total_pre + 5) * 1000.0 * 1000.0))
|
D | DataUsageTest.py | 113 sub_id = str(ad.droid.telephonyGetSubscriberId()) 114 ad.droid.connectivityFactoryResetNetworkPolicies(sub_id) 165 sub_id = str(ad.droid.telephonyGetSubscriberId()) 168 conn_type, sub_id, 0, end_time) 381 sub_id = str(dut_a.droid.telephonyGetSubscriberId()) 404 sub_id, int((total_pre + INC_DATA) * BYTE_TO_MB_ANDROID))
|
/tools/test/connectivity/acts_tests/tests/google/tel/etc/ |
D | manage_sim.py | 62 sub_id = sub_info['subscriptionId'] 65 plmn_id = droid.telephonyGetSimOperatorForSubscription(sub_id) 79 phone_num = droid.telephonyGetLine1NumberForSubscription(sub_id)
|