Searched refs:getActiveSubscriptionIdList (Results 1 – 17 of 17) sorted by relevance
66 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()
71 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()
251 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()
287 public @NonNull int[] getActiveSubscriptionIdList() {288 return getSubscriptionManager().getActiveSubscriptionIdList();
86 || mSubscriptionManager.getActiveSubscriptionIdList().length <= 0) { in hasCarrier()
319 int[] subIds = subscriptionManager.getActiveSubscriptionIdList(); in showEnableAutoDataSwitchDialog()342 trySetCrossSimCalling(subscriptionManager.getActiveSubscriptionIdList(), in onEnableAutoDataSwitch()
93 final int[] activeSubIdList = subManager.getActiveSubscriptionIdList(); in getAvailabilityStatus()
573 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
71 int[] subscriptionIds = subscriptionManager.getActiveSubscriptionIdList(); in getPinLockedSubscriptionIds()
806 final int[] activeSubs = mSubscriptionManager.getActiveSubscriptionIdList(); in onSubChanged()
207 int[] activeSubIds = mSubscriptionManager.getActiveSubscriptionIdList(); in onCreate()
805 final int[] activeSubs = mSubscriptionManager.getActiveSubscriptionIdList(); in onSubChanged()
876 when(mSubscriptionManager.getActiveSubscriptionIdList()).thenReturn(subIds); in makeFakeActiveSubIds()
962 when(mSubscriptionManager.getActiveSubscriptionIdList()).thenReturn(subIds); in makeFakeActiveSubIds()
1337 when(mMockSubscriptionManager.getActiveSubscriptionIdList()).thenReturn(subscriptionIds); in setupSimsWithSubscriptionIds()
300 when(mSubscriptionManager.getActiveSubscriptionIdList()) in setUp()
5213 when(mSubscriptionManager.getActiveSubscriptionIdList()) in testResetSimNetworks()5270 when(mSubscriptionManager.getActiveSubscriptionIdList()) in testResetSimNetworks_getSimIdentityNull_shouldResetAllNonPeapSimIdentities()