Home
last modified time | relevance | path

Searched refs:getActiveSubscriptionInfoList (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DPhoneCallStateHandler.java120 List<SubscriptionInfo> infoList = mSubscriptionManager.getActiveSubscriptionInfoList(); in checkCallStatus()
152 List<SubscriptionInfo> infoList = mSubscriptionManager.getActiveSubscriptionInfoList();
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DUtilsTest.java349 when(mSubscriptionManager.getActiveSubscriptionInfoList()).thenReturn(new ArrayList<>()); in testCheckSimPresentWithNoSubscription()
359 when(mSubscriptionManager.getActiveSubscriptionInfoList()).thenReturn(subscriptionInfoList); in testCheckSimPresentWithNoMatchingSubscription()
369 when(mSubscriptionManager.getActiveSubscriptionInfoList()).thenReturn(subscriptionInfoList); in testCheckSimPresentWithMatchingSubscription()
379 when(mSubscriptionManager.getActiveSubscriptionInfoList()).thenReturn(subscriptionInfoList); in testCheckSimPresentWithUnknownCarrierId()
427 when(mSubscriptionManager.getActiveSubscriptionInfoList()).thenReturn(subscriptionInfoList); in testGetSubIdForWifiConfigurationWithMatchingSubscription()
462 when(mSubscriptionManager.getActiveSubscriptionInfoList()).thenReturn(subscriptionInfoList); in testGetImsiProtectionDescription()
480 when(mSubscriptionManager.getActiveSubscriptionInfoList()).thenReturn(subscriptionInfoList); in testGetImsiProtectionDescription_serverCertNetwork_returnEmptyString()
DStandardWifiEntryTest.java522 when(mSubscriptionManager.getActiveSubscriptionInfoList()).thenReturn(null); in testConnect_savedNetwork_usesSavedConfig_withOutSim()
1274 when(mSubscriptionManager.getActiveSubscriptionInfoList()) in testCanConnect_unknownCarrierId_returnTrueIfActiveSubscriptionAvailable()
1300 when(mSubscriptionManager.getActiveSubscriptionInfoList()) in testCanConnect_specifiedCarrierIdMatched_returnTrue()
1327 when(mSubscriptionManager.getActiveSubscriptionInfoList()) in testCanConnect_specifiedCarrierIdNotMatched_returnFalse()
/frameworks/base/telephony/java/com/android/internal/telephony/
DISub.aidl87 List<SubscriptionInfo> getActiveSubscriptionInfoList(String callingPackage, in getActiveSubscriptionInfoList() method
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/subscription/
DSubscriptionManagerServiceTest.java871 assertThat(mSubscriptionManagerServiceUT.getActiveSubscriptionInfoList( in testGetActiveSubscriptionInfoList()
882 .getActiveSubscriptionInfoList(CALLING_PACKAGE, CALLING_FEATURE, true); in testGetActiveSubscriptionInfoList()
893 .getActiveSubscriptionInfoList(CALLING_PACKAGE, CALLING_FEATURE, true); in testGetActiveSubscriptionInfoList()
1407 assertThat(mSubscriptionManagerServiceUT.getActiveSubscriptionInfoList( in testSubscriptionAssociationWorkProfileCallerVisibility()
1413 () -> mSubscriptionManagerServiceUT.getActiveSubscriptionInfoList( in testSubscriptionAssociationWorkProfileCallerVisibility()
1416 assertThat(mSubscriptionManagerServiceUT.getActiveSubscriptionInfoList( in testSubscriptionAssociationWorkProfileCallerVisibility()
1543 assertThat(mSubscriptionManagerServiceUT.getActiveSubscriptionInfoList( in testSubscriptionAssociationPersonalCallerVisibility()
1549 () -> mSubscriptionManagerServiceUT.getActiveSubscriptionInfoList( in testSubscriptionAssociationPersonalCallerVisibility()
1552 assertThat(mSubscriptionManagerServiceUT.getActiveSubscriptionInfoList( in testSubscriptionAssociationPersonalCallerVisibility()
2393 assertThat(mSubscriptionManagerServiceUT.getActiveSubscriptionInfoList( in testRemoveSubInfo()
[all …]
/frameworks/base/services/core/java/com/android/server/emergency/
DEmergencyAffordanceService.java210 mSubscriptionManager.getActiveSubscriptionInfoList(); in handleUpdateSimSubscriptionInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/emergency/
DEmergencyAffordanceServiceTest.java413 doReturn(subInfos).when(mSubscriptionManager).getActiveSubscriptionInfoList(); in setUpSim()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMultiSimSettingController.java578 .getActiveSubscriptionInfoList(mContext.getOpPackageName(), in onSubscriptionGroupChanged()
624 .getActiveSubscriptionInfoList(mContext.getOpPackageName(), in updateDefaults()
DIccProvider.java149 .getActiveSubscriptionInfoList(false); in loadAllSimContacts()
DCarrierKeyDownloadManager.java344 subscriptionManager.getActiveSubscriptionInfoList(); in isOtherSlotHasCarrier()
DSignalStrengthController.java380 .getActiveSubscriptionInfoList(mPhone.getContext().getOpPackageName(), in shouldRefreshSignalStrength()
DSmsController.java619 subInfoList = SubscriptionManager.from(context).getActiveSubscriptionInfoList(); in isSmsSimPickActivityNeeded()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccControllerTest.java1227 when(mSubscriptionManager.getActiveSubscriptionInfoList(anyBoolean())).thenReturn(null); in testgetResolvedPortIndexForDisableSubscriptionForNoActiveSubscription()
1943 when(mSubscriptionManager.getActiveSubscriptionInfoList(anyBoolean())).thenReturn( in setHasCarrierPrivilegesOnActiveSubscription()
1983 when(mSubscriptionManager.getActiveSubscriptionInfoList(anyBoolean())).thenReturn(subInfos); in setCanManageSubscriptionOnTargetSim()
2003 when(mSubscriptionManager.getActiveSubscriptionInfoList(anyBoolean())).thenReturn(subInfos); in setActiveSubscriptionInfoInMEPMode()
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssNetworkConnectivityHandler.java261 subManager.getActiveSubscriptionInfoList();
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DUtils.java618 List<SubscriptionInfo> subInfoList = subscriptionManager.getActiveSubscriptionInfoList(); in isSimPresent()
674 List<SubscriptionInfo> subInfoList = subscriptionManager.getActiveSubscriptionInfoList(); in getSubIdForConfig()
DStandardWifiEntry.java324 .getSystemService(SubscriptionManager.class).getActiveSubscriptionInfoList(); in canConnect()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccController.java1275 .getActiveSubscriptionInfoList(/* userVisibleOnly */false); in getResolvedPortIndexForDisableSubscription()
2054 .getActiveSubscriptionInfoList(/* userVisibleOnly */false); in canManageActiveSubscriptionOnTargetSim()
2089 .getActiveSubscriptionInfoList(false /* userVisibleonly */); in canManageSubscriptionOnTargetSim()
/frameworks/base/services/core/java/com/android/server/pm/
DUserRestrictionsUtils.java664 subscriptionManager.getActiveSubscriptionInfoList(); in applyUserRestriction()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/
DNetworkControllerBaseTest.java317 when(mMockSm.getActiveSubscriptionInfoList()).thenReturn(subs); in setSubscriptions()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DMultiSimSettingControllerTest.java198 }).when(mSubscriptionManagerService).getActiveSubscriptionInfoList( in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
DInternetDialogController.java982 mSubscriptionManager.getActiveSubscriptionInfoList();
/frameworks/base/telephony/common/com/google/android/mms/pdu/
DPduPersister.java1451 for (SubscriptionInfo subInfo : subscriptionManager.getActiveSubscriptionInfoList()) { in loadRecipients()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/subscription/
DSubscriptionManagerService.java2049 public List<SubscriptionInfo> getActiveSubscriptionInfoList(@NonNull String callingPackage, in getActiveSubscriptionInfoList() method in SubscriptionManagerService
4607 getActiveSubscriptionInfoList(mContext.getOpPackageName(), in isEsimBootStrapProvisioningActivated()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java2983 when(mSubscriptionManager.getActiveSubscriptionInfoList()).thenReturn( in setupTelephonySubscriptionManagers()
/frameworks/base/core/api/
Dlint-baseline.txt856 RequiresPermission: android.telephony.SubscriptionManager#getActiveSubscriptionInfoList():
857 …Method 'getActiveSubscriptionInfoList' documentation mentions permissions already declared by @Req…

12