Searched refs:isActiveSubscriptionId (Results 1 – 18 of 18) sorted by relevance
72 doReturn(true).when(mSubscriptionManager).isActiveSubscriptionId(SUB_ID); in displayPreference_subscriptionEnabled_categoryIsVisible()79 doReturn(false).when(mSubscriptionManager).isActiveSubscriptionId(SUB_ID); in displayPreference_subscriptionDisabled_categoryIsNotVisible()86 doReturn(true).when(mSubscriptionManager).isActiveSubscriptionId(SUB_ID); in onSubscriptionsChanged_subscriptionBecomesDisabled_categoryIsNotVisible()88 doReturn(false).when(mSubscriptionManager).isActiveSubscriptionId(SUB_ID); in onSubscriptionsChanged_subscriptionBecomesDisabled_categoryIsNotVisible()95 doReturn(false).when(mSubscriptionManager).isActiveSubscriptionId(SUB_ID); in onSubscriptionsChanged_subscriptionBecomesEnabled_categoryIsVisible()97 doReturn(true).when(mSubscriptionManager).isActiveSubscriptionId(SUB_ID); in onSubscriptionsChanged_subscriptionBecomesEnabled_categoryIsVisible()
110 doReturn(true).when(mSubscriptionManager).isActiveSubscriptionId(SUB_ID_OTHER); in isDialogNeeded_enableNonDefaultSimInMultiSimMode_returnTrue()
229 doReturn(true).when(mSubscriptionManager).isActiveSubscriptionId(CURRENT_SUB_ID); in getSubscriptionId_hasIntent_getIdFromIntent()
128 doReturn(true).when(mSubscriptionManager).isActiveSubscriptionId(eq(1)); in displayPreference_twoSubscriptions_correctlySetup()129 doReturn(true).when(mSubscriptionManager).isActiveSubscriptionId(eq(2)); in displayPreference_twoSubscriptions_correctlySetup()160 doReturn(true).when(mSubscriptionManager).isActiveSubscriptionId(eq(1)); in displayPreference_oneActiveESimOneInactivePSim_correctlySetup()161 doReturn(false).when(mSubscriptionManager).isActiveSubscriptionId(eq(2)); in displayPreference_oneActiveESimOneInactivePSim_correctlySetup()
90 when(mSubscriptionManager.isActiveSubscriptionId(anyInt())).thenReturn(true); in setUp()174 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()
84 mCategory.setVisible(mSubscriptionManager.isActiveSubscriptionId(mSubId)); in update()
158 .isActiveSubscriptionId(defaultSubId) && defaultSubId != mSubId; in isDialogNeeded()
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()
152 .isActiveSubscriptionId(defaultSubId) && defaultSubId != mSubId; in isDialogNeeded()
342 return mSubscriptionManager.isActiveSubscriptionId(subId); in isAvtiveSub()
408 .isActiveSubscriptionId(subId);
149 .isActiveSubscriptionId(anyInt()); in MockContextWithProvider()
3125 if (!subscriptionManager.isActiveSubscriptionId(subId)) { in getSubscriptionMatchingAPNList()