Home
last modified time | relevance | path

Searched refs:subInfo (Results 1 – 25 of 48) sorted by relevance

12

/packages/apps/Settings/src/com/android/settings/network/
DSubscriptionUtil.java99 final SubscriptionInfo subInfo = subscriptionManager.getAccessibleSubscriptionInfo(subId); in getAvailableSubscription() local
100 if (subInfo == null) { in getAvailableSubscription()
104 final ParcelUuid groupUuid = subInfo.getGroupUuid(); in getAvailableSubscription()
109 return subInfo; in getAvailableSubscription()
114 return subInfo; in getAvailableSubscription()
133 for (SubscriptionInfo subInfo : subscriptions) { in isPrimarySubscriptionWithinSameUuid()
134 if (groupUuid.equals(subInfo.getGroupUuid())) { in isPrimarySubscriptionWithinSameUuid()
135 if (!subInfo.isEmbedded()) { in isPrimarySubscriptionWithinSameUuid()
136 physicalSubInfoList.add(subInfo); in isPrimarySubscriptionWithinSameUuid()
138 if (!subInfo.isOpportunistic()) { in isPrimarySubscriptionWithinSameUuid()
[all …]
DActiveSubsciptionsListener.java215 for (SubscriptionInfo subInfo : mCachedActiveSubscriptionInfo) {
216 logString.append(" " + subInfo.getSubscriptionId());
236 for (SubscriptionInfo subInfo : subInfoList) {
237 if (subInfo.getSubscriptionId() == subId) {
238 return subInfo;
272 for (SubscriptionInfo subInfo : subInfoList) {
273 if (subInfo.getSubscriptionId() == subId) {
274 return subInfo;
338 for (SubscriptionInfo subInfo : mCachedActiveSubscriptionInfo) {
339 if (subInfo.getSubscriptionId() == subId) {
DApnEditor.java541 final SubscriptionInfo subInfo = in fillUI() local
545 final String mcc = (subInfo == null) ? null : subInfo.getMccString(); in fillUI()
547 final String mnc = (subInfo == null) ? null : subInfo.getMncString(); in fillUI()
713 final SubscriptionInfo subInfo = in mvnoDescription() local
715 final String mcc = (subInfo == null) ? "" : in mvnoDescription()
716 Objects.toString(subInfo.getMccString(), ""); in mvnoDescription()
717 final String mnc = (subInfo == null) ? "" : in mvnoDescription()
718 Objects.toString(subInfo.getMncString(), ""); in mvnoDescription()
/packages/apps/Messaging/src/com/android/messaging/util/
DPhoneUtils.java420 final SubscriptionInfo subInfo = getActiveSubscriptionInfo(); in getSimCountry() local
421 if (subInfo != null) { in getSimCountry()
422 final String country = subInfo.getCountryIso(); in getSimCountry()
438 final SubscriptionInfo subInfo = getActiveSubscriptionInfo(); in getCarrierName() local
439 if (subInfo != null) { in getCarrierName()
440 final CharSequence displayName = subInfo.getDisplayName(); in getCarrierName()
444 final CharSequence carrierName = subInfo.getCarrierName(); in getCarrierName()
466 final SubscriptionInfo subInfo = getActiveSubscriptionInfo(); in getMccMnc() local
467 if (subInfo != null) { in getMccMnc()
468 mcc = subInfo.getMcc(); in getMccMnc()
[all …]
/packages/apps/Settings/src/com/android/settings/
DIccLockSettings.java210 final SubscriptionInfo subInfo = mProxySubscriptionMgr in restoreDialogStates() local
212 if (subInfo == null) { in restoreDialogStates()
217 subInfo.getSimSlotIndex()); in restoreDialogStates()
221 if (visibleSubInfo.getSubscriptionId() != subInfo.getSubscriptionId()) { in restoreDialogStates()
225 mSlotId = subInfo.getSimSlotIndex(); in restoreDialogStates()
226 mSubId = subInfo.getSubscriptionId(); in restoreDialogStates()
254 final SubscriptionInfo subInfo = getVisibleSubscriptionInfoForSimSlotIndex(slotId); in restoreTabFocus() local
255 if (subInfo == null) { in restoreTabFocus()
259 mSlotId = subInfo.getSimSlotIndex(); in restoreTabFocus()
260 mSubId = subInfo.getSubscriptionId(); in restoreTabFocus()
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/system/
DResetNetworkSubscriptionPreferenceControllerTest.java241 SubscriptionInfo subInfo = createSubInfo( in refreshUi_title_fourthPriority_subscriptionNetworkIds() local
248 Arrays.asList(subInfo, createSubInfo(SUBID_2, "sub2"))); in refreshUi_title_fourthPriority_subscriptionNetworkIds()
254 assertThat(title).contains(String.valueOf(subInfo.getMcc())); in refreshUi_title_fourthPriority_subscriptionNetworkIds()
255 assertThat(title).contains(String.valueOf(subInfo.getMnc())); in refreshUi_title_fourthPriority_subscriptionNetworkIds()
256 assertThat(title).contains(String.valueOf(subInfo.getSimSlotIndex())); in refreshUi_title_fourthPriority_subscriptionNetworkIds()
257 assertThat(title).contains(String.valueOf(subInfo.getSubscriptionId())); in refreshUi_title_fourthPriority_subscriptionNetworkIds()
262 SubscriptionInfo subInfo = createSubInfo( in refreshUi_title_thirdPriority_subscriptionCarrierName() local
269 Arrays.asList(subInfo, createSubInfo(SUBID_2, "sub2"))); in refreshUi_title_thirdPriority_subscriptionCarrierName()
274 assertThat(mListPreference.getTitle()).isEqualTo(subInfo.getCarrierName()); in refreshUi_title_thirdPriority_subscriptionCarrierName()
279 SubscriptionInfo subInfo = createSubInfo( in refreshUi_title_secondPriority_subscriptionNumber() local
[all …]
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageSummaryPreferenceController.java127 int subscriptionId, SubscriptionInfo subInfo) { in updateConfiguration() argument
136 if (subInfo != null) { in updateConfiguration()
209 final SubscriptionInfo subInfo = getSubscriptionInfo(mSubId); in updateState() local
211 updateConfiguration(mContext, mSubId, subInfo); in updateState()
222 if (subInfo != null) { in updateState()
242 refreshDataplanInfo(info, subInfo); in updateState()
295 SubscriptionInfo subInfo) { in refreshDataplanInfo() argument
306 if (subInfo != null && mHasMobileData) { in refreshDataplanInfo()
307 mCarrierName = subInfo.getCarrierName(); in refreshDataplanInfo()
DDataUsageSummary.java167 private void addMobileSection(int subId, SubscriptionInfo subInfo) { in addMobileSection() argument
173 if (subInfo != null && !TextUtils.isEmpty(subInfo.getDisplayName())) { in addMobileSection()
175 title.setTitle(subInfo.getDisplayName()); in addMobileSection()
DDataUsageUtils.java125 for (SubscriptionInfo subInfo : subInfoList) { in hasReadyMobileRadio()
126 isReady = isReady & tele.getSimState(subInfo.getSimSlotIndex()) == SIM_STATE_READY; in hasReadyMobileRadio()
128 Log.d(TAG, "hasReadyMobileRadio: subInfo=" + subInfo); in hasReadyMobileRadio()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DMobileNetworkUtils.java303 for (SubscriptionInfo subInfo : subInfoList) { in setMobileDataEnabled()
305 if (subInfo.getSubscriptionId() != subId && !subInfo.isOpportunistic()) { in setMobileDataEnabled()
307 subInfo.getSubscriptionId()).setDataEnabled(false); in setMobileDataEnabled()
603 final SubscriptionInfo subInfo = getSubscriptionInfo(sm, subId); in getCurrentCarrierNameForDisplay() local
604 if (subInfo != null) { in getCurrentCarrierNameForDisplay()
605 return subInfo.getCarrierName(); in getCurrentCarrierNameForDisplay()
615 final SubscriptionInfo subInfo = getSubscriptionInfo(sm, subId); in getCurrentCarrierNameForDisplay() local
616 if (subInfo != null) { in getCurrentCarrierNameForDisplay()
617 return subInfo.getCarrierName(); in getCurrentCarrierNameForDisplay()
632 for (SubscriptionInfo subInfo : subInfos) { in getSubscriptionInfo()
[all …]
DMobileNetworkSwitchController.java95 SubscriptionInfo subInfo = null; in update() local
98 subInfo = info; in update()
105 if (subInfo == null || (!subInfo.isEmbedded() && !SubscriptionUtil.showToggleForPhysicalSim( in update()
/packages/apps/Settings/src/com/android/settings/security/
DSimLockPreferenceController.java91 for (SubscriptionInfo subInfo : subInfoList) { in isSimReady()
92 final int simState = mTelephonyManager.getSimState(subInfo.getSimSlotIndex()); in isSimReady()
106 for (SubscriptionInfo subInfo : subInfoList) { in isHideSimLockSetting()
108 .createForSubscriptionId(subInfo.getSubscriptionId()); in isHideSimLockSetting()
110 subInfo.getSubscriptionId()); in isHideSimLockSetting()
/packages/apps/Car/Settings/src/com/android/car/settings/network/
DNetworkUtils.java73 for (SubscriptionInfo subInfo : subInfoList) { in setMobileDataEnabled()
75 if (subInfo.getSubscriptionId() != subId && !subInfo.isOpportunistic()) { in setMobileDataEnabled()
77 subInfo.getSubscriptionId()).setDataEnabled(false); in setMobileDataEnabled()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/security/
DSimLockPreferenceController.java82 for (SubscriptionInfo subInfo : subInfoList) { in isSimReady()
83 final int simState = mTelephonyManager.getSimState(subInfo.getSimSlotIndex()); in isSimReady()
101 for (SubscriptionInfo subInfo : subInfoList) { in isSimIccReady()
102 if (mTelephonyManager.hasIccCard(subInfo.getSimSlotIndex())) { in isSimIccReady()
/packages/apps/Messaging/src/android/support/v7/mms/
DUtils.java106 final SubscriptionInfo subInfo = subscriptionManager.getActiveSubscriptionInfo(subId); in getMccMnc() local
107 if (subInfo != null) { in getMccMnc()
108 mccMnc[0] = subInfo.getMcc(); in getMccMnc()
109 mccMnc[1] = subInfo.getMnc(); in getMccMnc()
/packages/services/Telephony/src/com/android/services/telephony/
DConferenceParticipantConnection.java183 SubscriptionInfo subInfo = TelecomAccountRegistry.getInstance(null). in getCountryIso() local
186 if (subInfo == null || TextUtils.isEmpty(subInfo.getCountryIso())) { in getCountryIso()
192 return subInfo.getCountryIso().toUpperCase(); in getCountryIso()
/packages/services/Telephony/src/com/android/phone/settings/
DPhoneAccountSettingsFragment.java366 SubscriptionInfo subInfo = mSubscriptionManager.getActiveSubscriptionInfo( in initAccountList() local
369 if (subInfo != null) { in initAccountList()
372 SubscriptionInfoHelper.addExtrasToIntent(intent, subInfo); in initAccountList()
565 .filter(subInfo -> !subInfo.isOpportunistic()) in getLaunchSmartForwardingMenuIntent()
572 .map(subInfo -> configManager.getConfigForSubId(subInfo.getSubscriptionId())) in getLaunchSmartForwardingMenuIntent()
/packages/apps/Settings/src/com/android/settings/datausage/lib/
DDataUsageLib.java52 for (SubscriptionInfo subInfo : subInfoList) { in getMobileTemplate()
53 if ((subInfo != null) && (subInfo.getSubscriptionId() == subId)) { in getMobileTemplate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DDataUsageSummaryPreferenceController.java274 SubscriptionInfo subInfo = mSubscriptionManager.getActiveSubscriptionInfo(mSubscriptionId); in refreshDataplanInfo() local
275 if (subInfo == null) { in refreshDataplanInfo()
276 subInfo = mSubscriptionManager.getAllSubscriptionInfoList().stream().filter( in refreshDataplanInfo()
279 if (subInfo != null && mHasMobileData) { in refreshDataplanInfo()
280 mCarrierName = subInfo.getCarrierName(); in refreshDataplanInfo()
DDataUsageUtils.java120 for (SubscriptionInfo subInfo : subInfoList) { in hasReadyMobileRadio()
121 isReady = isReady & tele.getSimState(subInfo.getSimSlotIndex()) == SIM_STATE_READY; in hasReadyMobileRadio()
123 Log.d(TAG, "hasReadyMobileRadio: subInfo=" + subInfo); in hasReadyMobileRadio()
DDataUsageSummary.java156 private void addMobileSection(int subId, SubscriptionInfo subInfo) { in addMobileSection() argument
161 if (subInfo != null && !TextUtils.isEmpty(subInfo.getDisplayName())) { in addMobileSection()
163 title.setTitle(subInfo.getDisplayName()); in addMobileSection()
/packages/services/Telephony/src/com/android/phone/
DNotificationMgr.java280 SubscriptionInfo subInfo = mSubscriptionManager.getActiveSubscriptionInfo(subId); in updateMwi() local
281 if (subInfo == null) { in updateMwi()
345 notificationText = subInfo.getDisplayName().toString(); in updateMwi()
367 .setColor(subInfo.getIconTint()) in updateMwi()
527 SubscriptionInfo subInfo = mSubscriptionManager.getActiveSubscriptionInfo(subId); in updateCfi() local
528 if (subInfo == null) { in updateCfi()
539 notificationTitle = subInfo.getDisplayName().toString(); in updateCfi()
546 .setColor(subInfo.getIconTint()) in updateCfi()
/packages/apps/Settings/src/com/android/settings/deviceinfo/imei/
DImeiInfoPreferenceController.java153 SubscriptionInfo subInfo = SubscriptionManager.from(mContext) in getPhoneType() local
155 return mTelephonyManager.getCurrentPhoneType(subInfo != null ? subInfo.getSubscriptionId() in getPhoneType()
/packages/apps/Settings/src/com/android/settings/wifi/calling/
DWifiCallingSettings.java110 for (SubscriptionInfo subInfo : mSil) { in maybeSetViewForSubId()
111 if (subId == subInfo.getSubscriptionId()) { in maybeSetViewForSubId()
112 mViewPager.setCurrentItem(mSil.indexOf(subInfo)); in maybeSetViewForSubId()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/calling/
DWifiCallingSettings.java110 for (SubscriptionInfo subInfo : mSil) { in maybeSetViewForSubId()
111 if (subId == subInfo.getSubscriptionId()) { in maybeSetViewForSubId()
112 mViewPager.setCurrentItem(mSil.indexOf(subInfo)); in maybeSetViewForSubId()

12