Home
last modified time | relevance | path

Searched refs:subscriptionInfo (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DDeviceInfoUtils.java179 SubscriptionInfo subscriptionInfo) { in getFormattedPhoneNumber() argument
181 if (subscriptionInfo != null) { in getFormattedPhoneNumber()
185 subscriptionInfo.getSubscriptionId()).getLine1Number(); in getFormattedPhoneNumber()
200 for (SubscriptionInfo subscriptionInfo : subscriptionInfoList) { in getFormattedPhoneNumbers()
202 subscriptionInfo.getSubscriptionId()).getLine1Number(); in getFormattedPhoneNumbers()
218 SubscriptionInfo subscriptionInfo) { in getBidiFormattedPhoneNumber() argument
219 final String phoneNumber = getFormattedPhoneNumber(context, subscriptionInfo); in getBidiFormattedPhoneNumber()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DMobileSignalControllerFactory.kt44 subscriptionInfo: SubscriptionInfo, in createMobileSignalController()
51 subscriptionInfo, in createMobileSignalController()
62 subscriptionInfo, in createMobileSignalController()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DUtilsTest.java356 SubscriptionInfo subscriptionInfo = mock(SubscriptionInfo.class); in testCheckSimPresentWithNoMatchingSubscription() local
357 when(subscriptionInfo.getCarrierId()).thenReturn(TEST_CARRIER_ID + 1); in testCheckSimPresentWithNoMatchingSubscription()
358 subscriptionInfoList.add(subscriptionInfo); in testCheckSimPresentWithNoMatchingSubscription()
366 SubscriptionInfo subscriptionInfo = mock(SubscriptionInfo.class); in testCheckSimPresentWithMatchingSubscription() local
367 when(subscriptionInfo.getCarrierId()).thenReturn(TEST_CARRIER_ID); in testCheckSimPresentWithMatchingSubscription()
368 subscriptionInfoList.add(subscriptionInfo); in testCheckSimPresentWithMatchingSubscription()
376 SubscriptionInfo subscriptionInfo = mock(SubscriptionInfo.class); in testCheckSimPresentWithUnknownCarrierId() local
377 when(subscriptionInfo.getCarrierId()).thenReturn(TEST_CARRIER_ID); in testCheckSimPresentWithUnknownCarrierId()
378 subscriptionInfoList.add(subscriptionInfo); in testCheckSimPresentWithUnknownCarrierId()
423 SubscriptionInfo subscriptionInfo = mock(SubscriptionInfo.class); in testGetSubIdForWifiConfigurationWithMatchingSubscription() local
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/mobile/dataservice/
DMobileNetworkDatabase.java71 public void insertSubsInfo(SubscriptionInfoEntity... subscriptionInfo) { in insertSubsInfo() argument
73 mSubscriptionInfoDao().insertSubsInfo(subscriptionInfo); in insertSubsInfo()
DSubscriptionInfoDao.java31 void insertSubsInfo(SubscriptionInfoEntity... subscriptionInfo); in insertSubsInfo() argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DPerSimStatusTest.java246 SubscriptionInfo subscriptionInfo = mock(SubscriptionInfo.class); in onPullAtom_perSimStatus_noImsManager() local
247 doReturn("us").when(subscriptionInfo).getCountryIso(); in onPullAtom_perSimStatus_noImsManager()
306 SubscriptionInfo subscriptionInfo = mock(SubscriptionInfo.class); in onPullAtom_perSimStatus_noImsMmTelManager() local
307 doReturn("us").when(subscriptionInfo).getCountryIso(); in onPullAtom_perSimStatus_noImsMmTelManager()
368 SubscriptionInfo subscriptionInfo = mock(SubscriptionInfo.class); in onPullAtom_perSimStatus_noUiccSlot() local
369 doReturn("us").when(subscriptionInfo).getCountryIso(); in onPullAtom_perSimStatus_noUiccSlot()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
DInternetDialogController.java587 DisplayInfo(SubscriptionInfo subscriptionInfo, CharSequence originalName) { in getUniqueSubscriptionDisplayNames() argument
588 this.subscriptionInfo = subscriptionInfo; in getUniqueSubscriptionDisplayNames()
592 public SubscriptionInfo subscriptionInfo; in getUniqueSubscriptionDisplayNames() field in InternetDialogController.DisplayInfo
621 info.subscriptionInfo); in getUniqueSubscriptionDisplayNames()
652 + info.subscriptionInfo.getSubscriptionId(); in getUniqueSubscriptionDisplayNames()
656 info -> info.subscriptionInfo.getSubscriptionId(), in getUniqueSubscriptionDisplayNames()
/frameworks/base/core/java/android/os/
DRecoverySystem.java1138 for (SubscriptionInfo subscriptionInfo : subscriptionInfos) { in removeEuiccInvisibleSubs()
1141 "Remove invisible subscription " + subscriptionInfo.getSubscriptionId() in removeEuiccInvisibleSubs()
1142 + " from card " + subscriptionInfo.getCardId()); in removeEuiccInvisibleSubs()
1143 euiccManager.createForCardId(subscriptionInfo.getCardId()) in removeEuiccInvisibleSubs()
1144 .deleteSubscription(subscriptionInfo.getSubscriptionId(), callbackIntent); in removeEuiccInvisibleSubs()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccController.java1339 SubscriptionInfo subscriptionInfo = in getResolvedPortIndexForSubscriptionSwitch() local
1342 if (subscriptionInfo == null in getResolvedPortIndexForSubscriptionSwitch()
1343 || subscriptionInfo.isOpportunistic() in getResolvedPortIndexForSubscriptionSwitch()
1345 && subscriptionInfo.getProfileClass() in getResolvedPortIndexForSubscriptionSwitch()
1882 SubscriptionInfo subscriptionInfo = subscriptionInfos.get(i); in getCurrentEmbeddedSubscriptionIds() local
1883 if (subscriptionInfo.isEmbedded() && subscriptionInfo.getCardId() == cardId) { in getCurrentEmbeddedSubscriptionIds()
1884 currentEmbeddedSubscriptionIds.add(subscriptionInfo.getSubscriptionId()); in getCurrentEmbeddedSubscriptionIds()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DStandardWifiEntry.java332 for (SubscriptionInfo subscriptionInfo : activeSubscriptionInfos) { in canConnect()
333 if (subscriptionInfo.getCarrierId() == mTargetWifiConfig.carrierId) { in canConnect()
/frameworks/base/services/tests/VpnTests/java/com/android/server/connectivity/
DVpnTest.java2494 final SubscriptionInfo subscriptionInfo = mock(SubscriptionInfo.class); in mockCarrierConfig() local
2495 doReturn(subId).when(subscriptionInfo).getSubscriptionId(); in mockCarrierConfig()
2496 doReturn(List.of(subscriptionInfo)).when(mSubscriptionManager) in mockCarrierConfig()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/subscription/
DSubscriptionManagerService.java2959 .map(subscriptionInfo -> conditionallyRemoveIdentifiers(subscriptionInfo, in getSubscriptionsInGroup()