Home
last modified time | relevance | path

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

/tools/test/connectivity/acts/framework/acts/test_utils/tel/
Dtel_subscription_utils.py208 def set_subid_for_data(ad, sub_id, time_to_sleep=WAIT_TIME_CHANGE_DATA_SUB_ID): argument
219 if ad.droid.subscriptionGetDefaultDataSubId() != sub_id:
220 ad.droid.subscriptionSetDefaultDataSubId(sub_id)
222 setattr(ad, "default_data_sub_id", sub_id)
225 def set_subid_for_message(ad, sub_id): argument
235 ad.droid.subscriptionSetDefaultSmsSubId(sub_id)
237 ad.outgoing_message_sub_id = sub_id
240 def set_subid_for_outgoing_call(ad, sub_id): argument
250 ad.droid.telecomSetUserSelectedOutgoingPhoneAccountBySubId(sub_id)
252 ad.outgoing_voice_sub_id = sub_id
[all …]
Dtel_voice_utils.py498 sub_id, argument
602 def phone_setup_data_for_subscription(log, ad, sub_id, network_generation): argument
622 sub_id,
644 def phone_setup_4g_for_subscription(log, ad, sub_id): argument
655 return phone_setup_data_for_subscription(log, ad, sub_id, GEN_4G)
672 def phone_setup_3g_for_subscription(log, ad, sub_id): argument
683 return phone_setup_data_for_subscription(log, ad, sub_id, GEN_3G)
700 def phone_setup_2g_for_subscription(log, ad, sub_id): argument
711 return phone_setup_data_for_subscription(log, ad, sub_id, GEN_2G)
732 def phone_setup_csfb_for_subscription(log, ad, sub_id): argument
[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_test_utils.py265 sub_id = get_sub_id_by_adb(ad)
283 device_props = {'subscription': {sub_id: sub_record}}
284 ad.log.info("subId %s SIM record: %s", sub_id, sub_record)
308 for sub_id, sub_info in ad.telephony["subscription"].items():
309 ad.log.debug("Loop for Subid %s", sub_id)
310 sub_info["operator"] = get_operator_name(log, ad, sub_id)
313 ad.log.warning("Unable to find ICC-ID for subscriber %s", sub_id)
328 elif sub_id == active_sub_id:
335 if (not sub_info.get("phone_num")) and sub_id == active_sub_id:
336 ad.log.info("sub_id %s sub_info = %s", sub_id, sub_info)
[all …]
/tools/test/connectivity/acts/tests/google/net/
DDataCostTest.py59 sub_id = str(ad.droid.telephonyGetSubscriberId())
60 ad.droid.connectivityFactoryResetNetworkPolicies(sub_id)
61 ad.droid.connectivitySetDataWarningLimit(sub_id, -1)
104 def _get_total_data_usage_for_device(self, ad, conn_type, sub_id): argument
120 conn_type, sub_id, 0, end_time)
181 sub_id = str(ad.droid.telephonyGetSubscriberId())
193 total_pre = self._get_total_data_usage_for_device(ad, 0, sub_id)
196 sub_id, int((total_pre + 5) * 1000.0 * 1000.0))
199 sub_id, int((total_pre + 5) * 1000.0 * 1000.0))
DDataUsageTest.py112 sub_id = str(ad.droid.telephonyGetSubscriberId())
113 ad.droid.connectivityFactoryResetNetworkPolicies(sub_id)
164 sub_id = str(ad.droid.telephonyGetSubscriberId())
167 conn_type, sub_id, 0, end_time)
380 sub_id = str(dut_a.droid.telephonyGetSubscriberId())
403 sub_id, int((total_pre + INC_DATA) * BYTE_TO_MB_ANDROID))
/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)
/tools/test/connectivity/acts/tests/google/tel/live/
DTelLiveDSDSVoiceTest.py181 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 …]
DTelLiveSettingsTest.py260 sub_id = get_outgoing_voice_sub_id(self.dut)
261 slot_index = get_slot_index_from_subid(self.log, self.dut, sub_id)
DTelLiveStressFdrTest.py75 sub_id = get_outgoing_voice_sub_id(self.dut)
76 self.dut_capabilities = self.dut.telephony["subscription"][sub_id].get("capabilities", [])
DTelLiveRebootStressTest.py575 sub_id = get_outgoing_voice_sub_id(self.dut)
576 slot_index = get_slot_index_from_subid(self.log, self.dut, sub_id)