Home
last modified time | relevance | path

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

12

/packages/apps/Settings/src/com/android/settings/network/
DSubscriptionUtil.java132 final SubscriptionInfo subInfo = subscriptionManager.getAccessibleSubscriptionInfo(subId); in getAvailableSubscription() local
133 if (subInfo == null) { in getAvailableSubscription()
137 final ParcelUuid groupUuid = subInfo.getGroupUuid(); in getAvailableSubscription()
142 return subInfo; in getAvailableSubscription()
147 if (subInfo.isEmbedded()) { in getAvailableSubscription()
148 return subInfo; in getAvailableSubscription()
159 && (slotInfo.getLogicalSlotIdx() == subInfo.getSimSlotIndex()) in getAvailableSubscription()
160 && TextUtils.equals(slotInfo.getCardId(), subInfo.getCardString())) { in getAvailableSubscription()
161 return subInfo; in getAvailableSubscription()
183 for (SubscriptionInfo subInfo : subscriptions) { in isPrimarySubscriptionWithinSameUuid()
[all …]
DActiveSubsciptionsListener.java195 for (SubscriptionInfo subInfo : mCachedActiveSubscriptionInfo) {
196 logString.append(" " + subInfo.getSubscriptionId());
216 for (SubscriptionInfo subInfo : subInfoList) {
217 if (subInfo.getSubscriptionId() == subId) {
218 return subInfo;
252 for (SubscriptionInfo subInfo : subInfoList) {
253 if (subInfo.getSubscriptionId() == subId) {
254 return subInfo;
318 for (SubscriptionInfo subInfo : mCachedActiveSubscriptionInfo) {
319 if (subInfo.getSubscriptionId() == subId) {
DApnEditor.java571 final SubscriptionInfo subInfo = in fillUI() local
575 final String mcc = (subInfo == null) ? null : subInfo.getMccString(); in fillUI()
577 final String mnc = (subInfo == null) ? null : subInfo.getMncString(); in fillUI()
741 final SubscriptionInfo subInfo = in mvnoDescription() local
743 final String mcc = (subInfo == null) ? "" : in mvnoDescription()
744 Objects.toString(subInfo.getMccString(), ""); in mvnoDescription()
745 final String mnc = (subInfo == null) ? "" : in mvnoDescription()
746 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/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/network/telephony/
DMobileNetworkUtils.java354 for (SubscriptionInfo subInfo : subInfoList) { in setMobileDataEnabled()
356 if (subInfo.getSubscriptionId() != subId && !subInfo.isOpportunistic()) { in setMobileDataEnabled()
358 subInfo.getSubscriptionId()).setDataEnabled(false); in setMobileDataEnabled()
650 final SubscriptionInfo subInfo = getSubscriptionInfo(sm, subId); in getCurrentCarrierNameForDisplay() local
651 if (subInfo != null) { in getCurrentCarrierNameForDisplay()
652 return subInfo.getCarrierName(); in getCurrentCarrierNameForDisplay()
662 final SubscriptionInfo subInfo = getSubscriptionInfo(sm, subId); in getCurrentCarrierNameForDisplay() local
663 if (subInfo != null) { in getCurrentCarrierNameForDisplay()
664 return subInfo.getCarrierName(); in getCurrentCarrierNameForDisplay()
679 for (SubscriptionInfo subInfo : subInfos) { in getSubscriptionInfo()
[all …]
DMobileNetworkSwitchController.java99 SubscriptionInfo subInfo = null; in update() local
102 subInfo = info; in update()
109 if (subInfo == null || !subInfo.isEmbedded()) { 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/Settings/src/com/android/settings/
DIccLockSettings.java232 final SubscriptionInfo subInfo = in onCreateView() local
234 if (subInfo != null) { in onCreateView()
238 subInfo.getSubscriptionId()); in onCreateView()
242 componenterList.add(subInfo); in onCreateView()
267 for (SubscriptionInfo subInfo : componenterList) { in onCreateView()
268 int slot = subInfo.getSimSlotIndex(); in onCreateView()
270 String.valueOf(subInfo == null in onCreateView()
272 : subInfo.getDisplayName()))); in onCreateView()
673 for (SubscriptionInfo subInfo : subInfoList) { in getActiveSubscriptionInfoForSimSlotIndex()
674 if (subInfo.getSimSlotIndex() == slotId) { in getActiveSubscriptionInfoForSimSlotIndex()
[all …]
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DDataUsageSummaryPreferenceController.java271 SubscriptionInfo subInfo = mSubscriptionManager.getActiveSubscriptionInfo(mSubscriptionId); in refreshDataplanInfo() local
272 if (subInfo == null) { in refreshDataplanInfo()
273 subInfo = mSubscriptionManager.getAllSubscriptionInfoList().stream().filter( in refreshDataplanInfo()
276 if (subInfo != null && mHasMobileData) { in refreshDataplanInfo()
277 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()
366 .setColor(subInfo.getIconTint()) in updateMwi()
518 SubscriptionInfo subInfo = mSubscriptionManager.getActiveSubscriptionInfo(subId); in updateCfi() local
519 if (subInfo == null) { in updateCfi()
530 notificationTitle = subInfo.getDisplayName().toString(); in updateCfi()
537 .setColor(subInfo.getIconTint()) in updateCfi()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageSummary.java151 private void addMobileSection(int subId, SubscriptionInfo subInfo) { in addMobileSection() argument
157 if (subInfo != null && !TextUtils.isEmpty(subInfo.getDisplayName())) { in addMobileSection()
159 title.setTitle(subInfo.getDisplayName()); in addMobileSection()
DDataUsageUtils.java122 for (SubscriptionInfo subInfo : subInfoList) { in hasReadyMobileRadio()
123 isReady = isReady & tele.getSimState(subInfo.getSimSlotIndex()) == SIM_STATE_READY; in hasReadyMobileRadio()
125 Log.d(TAG, "hasReadyMobileRadio: subInfo=" + subInfo); in hasReadyMobileRadio()
/packages/apps/Settings/src/com/android/settings/deviceinfo/imei/
DImeiInfoPreferenceController.java163 SubscriptionInfo subInfo = SubscriptionManager.from(mContext) in getPhoneType() local
165 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()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DMobileNetworkUtils.java232 for (SubscriptionInfo subInfo : subInfoList) { in setMobileDataEnabled()
234 if (subInfo.getSubscriptionId() != subId && !subInfo.isOpportunistic()) { in setMobileDataEnabled()
236 subInfo.getSubscriptionId()).setDataEnabled(false); in setMobileDataEnabled()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DDataUsageSummaryPreferenceController.java234 SubscriptionInfo subInfo = mSubscriptionManager.getDefaultDataSubscriptionInfo(); in refreshDataplanInfo() local
235 if (subInfo != null) { in refreshDataplanInfo()
236 mCarrierName = subInfo.getCarrierName(); in refreshDataplanInfo()

12