Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionControllerTest.java182 SubscriptionInfo subInfo = mSubscriptionControllerUT in testChangeSIMProperty() local
193 subInfo = mSubscriptionControllerUT in testChangeSIMProperty()
196 assertNotNull(subInfo); in testChangeSIMProperty()
197 assertEquals(dataRoaming, subInfo.getDataRoaming()); in testChangeSIMProperty()
198 assertEquals(disName, subInfo.getDisplayName()); in testChangeSIMProperty()
199 assertEquals(iconTint, subInfo.getIconTint()); in testChangeSIMProperty()
200 assertEquals(disNum, subInfo.getNumber()); in testChangeSIMProperty()
201 assertEquals(isOpportunistic, subInfo.isOpportunistic()); in testChangeSIMProperty()
223 SubscriptionInfo subInfo = mSubscriptionControllerUT in testSetGetDisplayNameSrc() local
225 assertNotNull(subInfo); in testSetGetDisplayNameSrc()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/
DVendorSubscriptionController.java260 for (SubscriptionInfo subInfo : sil) { in updateUserPreferences()
261 if (isUiccProvisioned(subInfo.getSimSlotIndex())) { in updateUserPreferences()
263 if (mNextActivatedSub == null) mNextActivatedSub = subInfo; in updateUserPreferences()
324 for (SubscriptionInfo subInfo : subInfoList) { in handleDataPreference()
325 if (subInfo.getSubscriptionId() == userPrefDataSubId) { in handleDataPreference()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSubscriptionController.java475 SubscriptionInfo subInfo = getSubInfoRecord(cursor); in getSubInfo() local
476 if (subInfo != null) { in getSubInfo()
480 subList.add(subInfo); in getSubInfo()
582 for (SubscriptionInfo subInfo : mCacheActiveSubInfoList) { in getSubscriptionInfo()
583 if (subInfo.getSubscriptionId() == subId) { in getSubscriptionInfo()
584 return subInfo; in getSubscriptionInfo()
588 for (SubscriptionInfo subInfo : mCacheOpportunisticSubInfoList) { in getSubscriptionInfo()
589 if (subInfo.getSubscriptionId() == subId) { in getSubscriptionInfo()
590 return subInfo; in getSubscriptionInfo()
1659 for (SubscriptionInfo subInfo : allSubInfo) { in setDisplayNameUsingSrc()
[all …]
DGsmCdmaPhone.java4148 SubscriptionInfo subInfo = SubscriptionManager.from(getContext()) in getCountryIso() local
4150 if (subInfo == null || TextUtils.isEmpty(subInfo.getCountryIso())) { in getCountryIso()
4153 return subInfo.getCountryIso().toUpperCase(); in getCountryIso()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DCarrierNetworkConfig.java205 for (SubscriptionInfo subInfo : subInfoList) { in updateNetworkConfig()
206 CharSequence displayNameCs = subInfo.getDisplayName(); in updateNetworkConfig()
209 subInfo.getSubscriptionId()); in updateNetworkConfig()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccController.java1468 for (SubscriptionInfo subInfo : subInfoList) { in canManageActiveSubscriptionOnTargetSim()
1473 if ((cardId == TelephonyManager.UNSUPPORTED_CARD_ID || subInfo.getCardId() == cardId) in canManageActiveSubscriptionOnTargetSim()
1474 && subInfo.isEmbedded() in canManageActiveSubscriptionOnTargetSim()
1475 && mSubscriptionManager.canManageSubscription(subInfo, callingPackage)) { in canManageActiveSubscriptionOnTargetSim()
1521 for (SubscriptionInfo subInfo : subInfoList) { in canManageSubscriptionOnTargetSim()
1523 if (subInfo.isEmbedded() && subInfo.getCardId() == cardId) { in canManageSubscriptionOnTargetSim()
1524 return mSubscriptionManager.canManageSubscription(subInfo, callingPackage); in canManageSubscriptionOnTargetSim()
1533 for (SubscriptionInfo subInfo : subInfoList) { in canManageSubscriptionOnTargetSim()
1534 if (subInfo.isEmbedded() in canManageSubscriptionOnTargetSim()
1535 && mSubscriptionManager.canManageSubscription(subInfo, callingPackage)) { in canManageSubscriptionOnTargetSim()
/frameworks/base/telephony/java/android/telephony/
DSubscriptionManager.java1177 SubscriptionInfo subInfo = null; in getActiveSubscriptionInfo() local
1182 subInfo = iSub.getActiveSubscriptionInfo(subId, mContext.getOpPackageName(), in getActiveSubscriptionInfo()
1189 return subInfo; in getActiveSubscriptionInfo()
1365 return activeList.stream().filter(subInfo -> isSubscriptionVisible(subInfo)) in getActiveSubscriptionInfoList()
2418 final SubscriptionInfo subInfo = in getResourcesForSubId() local
2422 if (subInfo != null) { in getResourcesForSubId()
2423 overrideConfig.mcc = subInfo.getMcc(); in getResourcesForSubId()
2424 overrideConfig.mnc = subInfo.getMnc(); in getResourcesForSubId()
/frameworks/base/services/tests/servicestests/src/com/android/server/emergency/
DEmergencyAffordanceServiceTest.java452 SubscriptionInfo subInfo = new SubscriptionInfo(1, "890126042XXXXXXXXXXX", 0, "T-mobile", in getSubscriptionInfoList() local
455 subInfos.add(subInfo); in getSubscriptionInfoList()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DVoiceCallSessionStats.java238 for (SubscriptionInfo subInfo : subInfos) { in onActiveSubscriptionInfoChanged()
239 if (subInfo.getSimSlotIndex() == slotId) { in onActiveSubscriptionInfoChanged()
240 mCarrierId = subInfo.getCarrierId(); in onActiveSubscriptionInfoChanged()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccControllerTest.java1154 SubscriptionInfo subInfo = new SubscriptionInfo( in setHasCarrierPrivilegesOnActiveSubscription() local
1158 when(mSubscriptionManager.canManageSubscription(subInfo, PACKAGE_NAME)).thenReturn( in setHasCarrierPrivilegesOnActiveSubscription()
1161 Collections.singletonList(subInfo)); in setHasCarrierPrivilegesOnActiveSubscription()
1192 SubscriptionInfo subInfo = new SubscriptionInfo( in prepareOperationSubscription() local
1196 when(mSubscriptionManager.canManageSubscription(subInfo, PACKAGE_NAME)).thenReturn( in prepareOperationSubscription()
1199 Collections.singletonList(subInfo)); in prepareOperationSubscription()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccProfile.java461 SubscriptionInfo subInfo = subCon.getActiveSubscriptionInfo( in updateCarrierNameForSubscription() local
464 if (subInfo == null) { in updateCarrierNameForSubscription()
468 CharSequence oldSubName = subInfo.getDisplayName(); in updateCarrierNameForSubscription()
1689 SubscriptionInfo subInfo = SubscriptionController.getInstance() in checkSubIdAndIccIdMatch()
1692 return subInfo != null && IccUtils.stripTrailingFs(subInfo.getIccId()).equals( in checkSubIdAndIccIdMatch()
/frameworks/base/services/core/java/com/android/server/pm/
DUserRestrictionsUtils.java537 for (SubscriptionInfo subInfo : subscriptionInfoList) { in applyUserRestriction()
540 + subInfo.getSubscriptionId(), "0", userId); in applyUserRestriction()
/frameworks/base/telephony/common/com/google/android/mms/pdu/
DPduPersister.java1451 for (SubscriptionInfo subInfo : subscriptionManager.getActiveSubscriptionInfoList()) { in loadRecipients()
1453 createForSubscriptionId(subInfo.getSubscriptionId()).getLine1Number(); in loadRecipients()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java456 for (SubscriptionInfo subInfo : sil) { in handleSimSubscriptionInfoChanged()
457 Log.v(TAG, "SubInfo:" + subInfo); in handleSimSubscriptionInfoChanged()