Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionControllerTest.java169 SubscriptionInfo subInfo = mSubscriptionControllerUT in testChangeSIMProperty() local
180 subInfo = mSubscriptionControllerUT in testChangeSIMProperty()
183 assertNotNull(subInfo); in testChangeSIMProperty()
184 assertEquals(dataRoaming, subInfo.getDataRoaming()); in testChangeSIMProperty()
185 assertEquals(disName, subInfo.getDisplayName()); in testChangeSIMProperty()
186 assertEquals(iconTint, subInfo.getIconTint()); in testChangeSIMProperty()
187 assertEquals(disNum, subInfo.getNumber()); in testChangeSIMProperty()
188 assertEquals(isOpportunistic, subInfo.isOpportunistic()); in testChangeSIMProperty()
210 SubscriptionInfo subInfo = mSubscriptionControllerUT in testSetGetDisplayNameSrc() local
212 assertNotNull(subInfo); in testSetGetDisplayNameSrc()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccController.java1233 for (SubscriptionInfo subInfo : subInfoList) { in canManageActiveSubscriptionOnTargetSim()
1238 if ((cardId == TelephonyManager.UNSUPPORTED_CARD_ID || subInfo.getCardId() == cardId) in canManageActiveSubscriptionOnTargetSim()
1239 && subInfo.isEmbedded() in canManageActiveSubscriptionOnTargetSim()
1240 && mSubscriptionManager.canManageSubscription(subInfo, callingPackage)) { in canManageActiveSubscriptionOnTargetSim()
1286 for (SubscriptionInfo subInfo : subInfoList) { in canManageSubscriptionOnTargetSim()
1288 if (subInfo.isEmbedded() && subInfo.getCardId() == cardId) { in canManageSubscriptionOnTargetSim()
1289 return mSubscriptionManager.canManageSubscription(subInfo, callingPackage); in canManageSubscriptionOnTargetSim()
1298 for (SubscriptionInfo subInfo : subInfoList) { in canManageSubscriptionOnTargetSim()
1299 if (subInfo.isEmbedded() in canManageSubscriptionOnTargetSim()
1300 && mSubscriptionManager.canManageSubscription(subInfo, callingPackage)) { in canManageSubscriptionOnTargetSim()
/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/
DSubscriptionController.java430 SubscriptionInfo subInfo = getSubInfoRecord(cursor); in getSubInfo() local
431 if (subInfo != null) in getSubInfo()
437 subList.add(subInfo); in getSubInfo()
1565 for (SubscriptionInfo subInfo : allSubInfo) { in setDisplayNameUsingSrc()
1566 if (subInfo.getSubscriptionId() == subId in setDisplayNameUsingSrc()
1567 && (getNameSourcePriority(subInfo.getNameSource()) in setDisplayNameUsingSrc()
1569 || (displayName != null && displayName.equals(subInfo.getDisplayName())))) { in setDisplayNameUsingSrc()
2386 SubscriptionInfo subInfo = getSubInfoRecord(cursor); in getSubInfoUsingSlotIndexPrivileged() local
2387 if (subInfo != null) { in getSubInfoUsingSlotIndexPrivileged()
2391 subList.add(subInfo); in getSubInfoUsingSlotIndexPrivileged()
[all …]
DGsmCdmaPhone.java3768 SubscriptionInfo subInfo = SubscriptionManager.from(getContext()) in getCountryIso() local
3770 if (subInfo == null) { in getCountryIso()
3773 return subInfo.getCountryIso().toUpperCase(); in getCountryIso()
/frameworks/base/telephony/java/android/telephony/
DSubscriptionManager.java1178 SubscriptionInfo subInfo = null; in getActiveSubscriptionInfo() local
1183 subInfo = iSub.getActiveSubscriptionInfo(subId, mContext.getOpPackageName()); in getActiveSubscriptionInfo()
1189 return subInfo; in getActiveSubscriptionInfo()
1332 return activeList.stream().filter(subInfo -> isSubscriptionVisible(subInfo)) in getActiveSubscriptionInfoList()
2297 final SubscriptionInfo subInfo = in getResourcesForSubId() local
2303 if (subInfo != null) { in getResourcesForSubId()
2304 newConfig.mcc = subInfo.getMcc(); in getResourcesForSubId()
2305 newConfig.mnc = subInfo.getMnc(); in getResourcesForSubId()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccControllerTest.java1052 SubscriptionInfo subInfo = new SubscriptionInfo( in setHasCarrierPrivilegesOnActiveSubscription() local
1056 when(mSubscriptionManager.canManageSubscription(subInfo, PACKAGE_NAME)).thenReturn( in setHasCarrierPrivilegesOnActiveSubscription()
1059 Collections.singletonList(subInfo)); in setHasCarrierPrivilegesOnActiveSubscription()
1090 SubscriptionInfo subInfo = new SubscriptionInfo( in prepareOperationSubscription() local
1094 when(mSubscriptionManager.canManageSubscription(subInfo, PACKAGE_NAME)).thenReturn( in prepareOperationSubscription()
1097 Collections.singletonList(subInfo)); in prepareOperationSubscription()
/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/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccProfile.java408 SubscriptionInfo subInfo = subCon.getActiveSubscriptionInfo( in updateCarrierNameForSubscription() local
411 if (subInfo == null) { in updateCarrierNameForSubscription()
415 CharSequence oldSubName = subInfo.getDisplayName(); in updateCarrierNameForSubscription()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java428 for (SubscriptionInfo subInfo : sil) { in handleSimSubscriptionInfoChanged()
429 Log.v(TAG, "SubInfo:" + subInfo); in handleSimSubscriptionInfoChanged()