Searched refs:isActiveSubscriptionId (Results 1 – 13 of 13) sorted by relevance
123 doReturn(true).when(mSubscriptionManager).isActiveSubscriptionId(eq(1)); in displayPreference_twoSubscriptions_correctlySetup()124 doReturn(true).when(mSubscriptionManager).isActiveSubscriptionId(eq(2)); in displayPreference_twoSubscriptions_correctlySetup()154 doReturn(true).when(mSubscriptionManager).isActiveSubscriptionId(eq(1)); in displayPreference_oneActiveESimOneInactivePSim_correctlySetup()155 doReturn(false).when(mSubscriptionManager).isActiveSubscriptionId(eq(2)); in displayPreference_oneActiveESimOneInactivePSim_correctlySetup()
89 when(mSubscriptionManager.isActiveSubscriptionId(anyInt())).thenReturn(true); in setUp()173 when(mSubscriptionManager.isActiveSubscriptionId(eq(1))).thenReturn(false); in getSummary_oneInactivePSim_correctSummaryAndClickHandler()
112 if (mSubscriptionManager.isActiveSubscriptionId(subId)) { in update()118 if (mSubscriptionManager.isActiveSubscriptionId(subId)) { in update()127 if (!info.isEmbedded() && !mSubscriptionManager.isActiveSubscriptionId(subId)) { in update()
113 if (!info.isEmbedded() && !mSubscriptionManager.isActiveSubscriptionId(subId)) { in getSummary()166 if (!info.isEmbedded() && !mSubscriptionManager.isActiveSubscriptionId(subId)) { in update()
112 if (mSubscriptionManager.isActiveSubscriptionId(subId)) { in update()118 if (mSubscriptionManager.isActiveSubscriptionId(subId)) { in update()
87 protected boolean isActiveSubscriptionId(int subscriptionId) { in isActiveSubscriptionId() method in ShadowSubscriptionManager
89 if (mSubscriptionManager.isActiveSubscriptionId(info.getSubscriptionId())) { in createPreference()
136 boolean needToDisableOthers = mSubscriptionManager.isActiveSubscriptionId(defaultSubId) in handlePreferenceChanged()
150 .isActiveSubscriptionId(defaultSubId) && defaultSubId != mSubId; in isDialogNeeded()
152 .isActiveSubscriptionId(defaultSubId) && defaultSubId != mSubId; in isDialogNeeded()
111 doReturn(true).when(mSubscriptionManager).isActiveSubscriptionId(SUB_ID_OTHER); in isDialogNeeded_enableNonDefaultSimInMultiSimMode_returnTrue()
186 doReturn(true).when(mSubscriptionManager).isActiveSubscriptionId(CURRENT_SUB_ID); in getSubscriptionId_hasIntent_getIdFromIntent()
303 return mSubscriptionManager.isActiveSubscriptionId(subId); in isAvtiveSub()