Home
last modified time | relevance | path

Searched refs:sub_id (Results 1 – 12 of 12) sorted by relevance

/tools/test/connectivity/acts/framework/acts/test_utils/tel/
Dtel_voice_utils.py406 sub_id, argument
506 def phone_setup_data_for_subscription(log, ad, sub_id, network_generation): argument
526 sub_id,
548 def phone_setup_4g_for_subscription(log, ad, sub_id): argument
559 return phone_setup_data_for_subscription(log, ad, sub_id, GEN_4G)
576 def phone_setup_3g_for_subscription(log, ad, sub_id): argument
587 return phone_setup_data_for_subscription(log, ad, sub_id, GEN_3G)
604 def phone_setup_2g_for_subscription(log, ad, sub_id): argument
615 return phone_setup_data_for_subscription(log, ad, sub_id, GEN_2G)
636 def phone_setup_csfb_for_subscription(log, ad, sub_id): argument
[all …]
Dtel_subscription_utils.py173 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)
201 ad.outgoing_message_sub_id = sub_id
204 def set_subid_for_outgoing_call(ad, sub_id): argument
214 ad.droid.telecomSetUserSelectedOutgoingPhoneAccountBySubId(sub_id)
216 ad.outgoing_voice_sub_id = sub_id
219 def set_incoming_voice_sub_id(ad, sub_id): argument
[all …]
Dtel_test_utils.py273 sub_id = get_sub_id_by_adb(ad)
291 device_props = {'subscription': {sub_id: sub_record}}
292 ad.log.info("subId %s SIM record: %s", sub_id, sub_record)
316 for sub_id, sub_info in ad.telephony["subscription"].items():
317 ad.log.debug("Loop for Subid %s", sub_id)
318 sub_info["operator"] = get_operator_name(log, ad, sub_id)
321 ad.log.warning("Unable to find ICC-ID for subscriber %s", sub_id)
336 elif sub_id == active_sub_id:
343 if (not sub_info.get("phone_num")) and sub_id == active_sub_id:
344 ad.log.info("sub_id %s sub_info = %s", sub_id, sub_info)
[all …]
Dtel_video_utils.py100 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 …]
Dtel_data_utils.py487 sub_id = get_subid_from_slot_index(log, ad, sim_slot)
488 ad.log.info("Change Data to subId: %s, SIM slot: %s", sub_id, sim_slot)
489 set_subid_for_data(ad, sub_id)
490 if not wait_for_data_attach_for_subscription(log, ad, sub_id,
492 ad.log.error("Failed to attach data on subId:%s", sub_id)
/tools/test/connectivity/acts/tests/google/net/
DDataCostTest.py55 sub_id = str(ad.droid.telephonyGetSubscriberId())
56 ad.droid.connectivityFactoryResetNetworkPolicies(sub_id)
57 ad.droid.connectivitySetDataWarningLimit(sub_id, -1)
66 def _get_total_data_usage_for_device(self, ad, conn_type, sub_id): argument
82 conn_type, sub_id, 0, end_time)
139 sub_id = str(ad.droid.telephonyGetSubscriberId())
151 total_pre = self._get_total_data_usage_for_device(ad, 0, sub_id)
154 sub_id, int((total_pre + 5) * 1000.0 * 1000.0))
157 sub_id, int((total_pre + 5) * 1000.0 * 1000.0))
DDataUsageTest.py67 self.sub_id = str(self.dut.droid.telephonyGetSubscriberId())
145 conn_type, self.sub_id, 0, end_time)
320 self.sub_id, str(int((total_pre + INC_DATA) * BYTE_TO_MB_ANDROID)))
329 self.dut.droid.connectivityFactoryResetNetworkPolicies(self.sub_id)
363 self.sub_id, str(int((total_pre + INC_DATA) * BYTE_TO_MB_ANDROID)))
372 self.dut.droid.connectivityFactoryResetNetworkPolicies(self.sub_id)
/tools/test/connectivity/acts/tests/google/tel/live/
DTelLiveStressTest.py238 sub_id = get_subid_from_slot_index(self.log, ads[0], slot_id)
240 set_subid_for_message(ads[0], sub_id)
344 sub_id = get_subid_from_slot_index(self.log, ads[0], slot_id)
346 set_subid_for_outgoing_call(ads[0], sub_id)
513 def _prefnetwork_mode_change(self, sub_id): argument
528 set_preferred_network_mode_pref(self.log, self.dut, sub_id,
693 sub_id = get_subid_from_slot_index(self.log, self.dut, slot_id)
695 set_subid_for_data(self.dut, sub_id)
778 def _data_call_test(self, sub_id, generation): argument
789 self.log, self.dut, sub_id,
[all …]
DTelLiveDSDSVoiceTest.py141 sub_id = get_subid_from_slot_index(ads[0].log, ads[0], slot_id)
145 set_subid_for_outgoing_call(ads[0], sub_id)
153 ads[0], sub_id)
154 setattr(ads[0], "incoming_voice_sub_id", sub_id)
DTelLiveSettingsTest.py259 sub_id = get_outgoing_voice_sub_id(self.dut)
260 slot_index = get_slot_index_from_subid(self.log, self.dut, sub_id)
DTelLiveRebootStressTest.py579 sub_id = get_outgoing_voice_sub_id(self.dut)
580 slot_index = get_slot_index_from_subid(self.log, self.dut, sub_id)
/tools/test/connectivity/acts/tests/google/tel/etc/
Dmanage_sim.py62 sub_id = sub_info['subscriptionId']
65 plmn_id = droid.telephonyGetSimOperatorForSubscription(sub_id)
79 phone_num = droid.telephonyGetLine1NumberForSubscription(sub_id)