Home
last modified time | relevance | path

Searched refs:getActiveSubscriptionIdList (Results 1 – 17 of 17) sorted by relevance

/packages/modules/ConfigInfrastructure/service/javatests/src/com/android/server/deviceconfig/
DSimPinReplayManagerTest.java66 when(mSubscriptionManager.getActiveSubscriptionIdList()).thenReturn(new int[] {1}); // has sim in prepareSimPinReplay_success()
84 when(mSubscriptionManager.getActiveSubscriptionIdList()).thenReturn(new int[] {}); // no sim in prepareSimPinReplay_noSim()
94 when(mSubscriptionManager.getActiveSubscriptionIdList()).thenReturn(new int[] {1}); // has sim in prepareSimPinReplay_noSimPin()
107 when(mSubscriptionManager.getActiveSubscriptionIdList()).thenReturn(new int[] {1}); // has sim in prepareSimPinReplay_carrierDisableSimPin()
124 when(mSubscriptionManager.getActiveSubscriptionIdList()).thenReturn(new int[] {1}); // has sim in prepareSimPinReplay_carrierEnabled()
143 when(mSubscriptionManager.getActiveSubscriptionIdList()).thenReturn(new int[] {1}); // has sim in prepareSimPinReplay_prepareError()
162 when(mSubscriptionManager.getActiveSubscriptionIdList()).thenReturn(new int[] {1}); // has sim in prepareSimPinReplay_preparePinRequired()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/
DNrDisabledInDsdsFooterPreferenceControllerTest.java71 when(mSubscriptionManager.getActiveSubscriptionIdList()).thenReturn(new int[] {1, 2}); in isAvailable_dataOnAndDsdsAnd5GSupported_Available()
81 when(mSubscriptionManager.getActiveSubscriptionIdList()).thenReturn(new int[] {1, 2}); in isAvailable_5gNotSupported_notAvailable()
91 when(mSubscriptionManager.getActiveSubscriptionIdList()).thenReturn(new int[] {1, 2}); in isAvailable_mobileDataOff_notAvailable()
101 when(mSubscriptionManager.getActiveSubscriptionIdList()).thenReturn(new int[] {1}); in isAvailable_singleSimMode_notAvailable()
DMobileNetworkUtilsTest.java251 assertThat(MobileNetworkUtils.getActiveSubscriptionIdList(mContext)) in getActiveSubscriptionIdList_nonActive_returnEmptyArray()
259 assertThat(MobileNetworkUtils.getActiveSubscriptionIdList(mContext)) in getActiveSubscriptionIdList_normalCaseTwoActiveSims_returnValidSubId()
269 assertThat(MobileNetworkUtils.getActiveSubscriptionIdList(mContext)) in getActiveSubscriptionIdList_TwoActiveSimsAndOneIsNtn_returnOneSubId()
/packages/apps/Settings/src/com/android/settings/network/
DActiveSubscriptionsListener.java287 public @NonNull int[] getActiveSubscriptionIdList() {
288 return getSubscriptionManager().getActiveSubscriptionIdList();
DProviderModelSliceHelper.java86 || mSubscriptionManager.getActiveSubscriptionIdList().length <= 0) { in hasCarrier()
/packages/apps/Settings/src/com/android/settings/sim/
DSimDialogActivity.java319 int[] subIds = subscriptionManager.getActiveSubscriptionIdList(); in showEnableAutoDataSwitchDialog()
342 trySetCrossSimCalling(subscriptionManager.getActiveSubscriptionIdList(), in onEnableAutoDataSwitch()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DNrDisabledInDsdsFooterPreferenceController.java93 final int[] activeSubIdList = subManager.getActiveSubscriptionIdList(); in getAvailabilityStatus()
DMobileNetworkUtils.java573 final int[] subIds = getActiveSubscriptionIdList(context); in getSearchableSubscriptionId()
595 final int[] subIds = getActiveSubscriptionIdList(context); in getAvailability()
713 static int[] getActiveSubscriptionIdList(Context context) { in getActiveSubscriptionIdList() method in MobileNetworkUtils
/packages/modules/ConfigInfrastructure/service/java/com/android/server/deviceconfig/
DSimPinReplayManager.java71 int[] subscriptionIds = subscriptionManager.getActiveSubscriptionIdList(); in getPinLockedSubscriptionIds()
/packages/services/Telephony/src/com/android/phone/
DRcsProvisioningMonitor.java806 final int[] activeSubs = mSubscriptionManager.getActiveSubscriptionIdList(); in onSubChanged()
DSimPhonebookProvider.java207 int[] activeSubIds = mSubscriptionManager.getActiveSubscriptionIdList(); in onCreate()
DImsStateCallbackController.java805 final int[] activeSubs = mSubscriptionManager.getActiveSubscriptionIdList(); in onSubChanged()
/packages/services/Telephony/tests/src/com/android/phone/
DRcsProvisioningMonitorTest.java876 when(mSubscriptionManager.getActiveSubscriptionIdList()).thenReturn(subIds); in makeFakeActiveSubIds()
DImsStateCallbackControllerTest.java962 when(mSubscriptionManager.getActiveSubscriptionIdList()).thenReturn(subIds); in makeFakeActiveSubIds()
DSimPhonebookProviderTest.java1337 when(mMockSubscriptionManager.getActiveSubscriptionIdList()).thenReturn(subscriptionIds); in setupSimsWithSubscriptionIds()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiCarrierInfoManagerTest.java300 when(mSubscriptionManager.getActiveSubscriptionIdList()) in setUp()
DWifiConfigManagerTest.java5213 when(mSubscriptionManager.getActiveSubscriptionIdList()) in testResetSimNetworks()
5270 when(mSubscriptionManager.getActiveSubscriptionIdList()) in testResetSimNetworks_getSimIdentityNull_shouldResetAllNonPeapSimIdentities()