/tools/test/connectivity/acts/framework/acts/test_utils/tel/ |
D | tel_voice_utils.py | 314 sub_id, argument 362 log, ad, sub_id, RAT_FAMILY_WLAN, 426 def phone_setup_data_for_subscription(log, ad, sub_id, network_generation): argument 446 sub_id, 468 def phone_setup_4g_for_subscription(log, ad, sub_id): argument 479 return phone_setup_data_for_subscription(log, ad, sub_id, GEN_4G) 496 def phone_setup_3g_for_subscription(log, ad, sub_id): argument 507 return phone_setup_data_for_subscription(log, ad, sub_id, GEN_3G) 524 def phone_setup_2g_for_subscription(log, ad, sub_id): argument 535 return phone_setup_data_for_subscription(log, ad, sub_id, GEN_2G) [all …]
|
D | tel_subscription_utils.py | 173 def set_subid_for_data(ad, sub_id, time_to_sleep=WAIT_TIME_CHANGE_DATA_SUB_ID): argument 184 if ad.droid.subscriptionGetDefaultDataSubId() != sub_id: 185 ad.droid.subscriptionSetDefaultDataSubId(sub_id) 189 def set_subid_for_message(ad, sub_id): argument 199 ad.droid.subscriptionSetDefaultSmsSubId(sub_id) 202 def set_subid_for_outgoing_call(ad, sub_id): argument 212 ad.droid.telecomSetUserSelectedOutgoingPhoneAccountBySubId(sub_id)
|
D | tel_test_utils.py | 218 sub_id = get_sub_id_by_adb(ad) 236 device_props = {'subscription': {sub_id: sim_record}} 237 ad.log.info("subId %s SIM record: %s", sub_id, sim_record) 265 for sub_id, sub_info in ad.cfg["subscription"].items(): 266 sub_info["operator"] = get_operator_name(log, ad, sub_id) 288 elif sub_id == active_sub_id: 295 if (not sub_info.get("phone_num")) and sub_id == active_sub_id: 296 ad.log.info("sub_id %s sub_info = %s", sub_id, sub_info) 300 sub_id, iccid, sim_filename) 309 ad.log.info("SubId %s info: %s", sub_id, sorted(sub_info.items())) [all …]
|
D | tel_video_utils.py | 98 sub_id, argument 126 return phone_idle_video_for_subscription(log, ad, sub_id) 143 def phone_idle_video_for_subscription(log, ad, sub_id): argument 185 def is_phone_in_call_video_for_subscription(log, ad, sub_id, video_state=None): argument 202 ad.serial, sub_id)) 229 def is_phone_in_call_viwifi_for_subscription(log, ad, sub_id, argument 247 ad.serial, sub_id)) 295 def is_phone_in_call_video_bidirectional_for_subscription(log, ad, sub_id): argument 307 ad.serial, sub_id)) 308 return is_phone_in_call_video_for_subscription(log, ad, sub_id, [all …]
|
/tools/test/connectivity/acts/tests/google/net/ |
D | DataCostTest.py | 65 def _get_total_data_usage_for_device(self, ad, conn_type, sub_id): argument 81 conn_type, sub_id, 0, end_time) 138 sub_id = str(ad.droid.telephonyGetSubscriberId()) 150 total_pre = self._get_total_data_usage_for_device(ad, 0, sub_id) 153 sub_id, int((total_pre + 5) * 1000.0 * 1000.0)) 156 sub_id, int((total_pre + 5) * 1000.0 * 1000.0)) 159 ad.droid.connectivityFactoryResetNetworkPolicies(sub_id) 160 ad.droid.connectivitySetDataWarningLimit(sub_id, -1)
|
D | DataUsageTest.py | 71 self.sub_id = str(self.dut.droid.telephonyGetSubscriberId()) 157 conn_type, self.sub_id, 0, end_time) 331 self.sub_id, str(int((total_pre + INC_DATA) * BYTE_TO_MB_ANDROID))) 340 self.dut.droid.connectivityFactoryResetNetworkPolicies(self.sub_id) 374 self.sub_id, str(int((total_pre + INC_DATA) * BYTE_TO_MB_ANDROID))) 383 self.dut.droid.connectivityFactoryResetNetworkPolicies(self.sub_id)
|
/tools/test/connectivity/acts/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)
|
/tools/test/connectivity/acts/tests/google/tel/live/ |
D | TelLiveStressTest.py | 355 def _prefnetwork_mode_change(self, sub_id): argument 364 set_preferred_network_mode_pref(self.log, self.dut, sub_id, 371 set_preferred_network_mode_pref(self.log, self.dut, sub_id, 541 sub_id = self.dut.droid.subscriptionGetDefaultSubId() 549 self._prefnetwork_mode_change(sub_id)
|
D | TelLiveRebootStressTest.py | 554 sub_id = get_outgoing_voice_sub_id(self.dut) 555 slot_index = get_slot_index_from_subid(self.log, self.dut, sub_id)
|
D | TelLiveSettingsTest.py | 1378 sub_id = get_outgoing_voice_sub_id(self.ad) 1379 slot_index = get_slot_index_from_subid(self.log, self.ad, sub_id)
|