Home
last modified time | relevance | path

Searched refs:isActiveSubscriptionId (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DDisabledSubscriptionControllerTest.java72 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()
DMobileDataPreferenceControllerTest.java110 doReturn(true).when(mSubscriptionManager).isActiveSubscriptionId(SUB_ID_OTHER); in isDialogNeeded_enableNonDefaultSimInMultiSimMode_returnTrue()
DMobileNetworkActivityTest.java229 doReturn(true).when(mSubscriptionManager).isActiveSubscriptionId(CURRENT_SUB_ID); in getSubscriptionId_hasIntent_getIdFromIntent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DMobileNetworkListControllerTest.java128 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()
DMobileNetworkSummaryControllerTest.java90 when(mSubscriptionManager.isActiveSubscriptionId(anyInt())).thenReturn(true); in setUp()
174 when(mSubscriptionManager.isActiveSubscriptionId(eq(1))).thenReturn(false); in getSummary_oneInactivePSim_correctSummaryAndClickHandler()
/packages/apps/Settings/src/com/android/settings/network/
DMobileNetworkListController.java112 if (mSubscriptionManager.isActiveSubscriptionId(subId)) { in update()
118 if (mSubscriptionManager.isActiveSubscriptionId(subId)) { in update()
127 if (!info.isEmbedded() && !mSubscriptionManager.isActiveSubscriptionId(subId)) { in update()
DMobileNetworkSummaryController.java113 if (!info.isEmbedded() && !mSubscriptionManager.isActiveSubscriptionId(subId)) { in getSummary()
166 if (!info.isEmbedded() && !mSubscriptionManager.isActiveSubscriptionId(subId)) { in update()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/
DMobileNetworkListController.java112 if (mSubscriptionManager.isActiveSubscriptionId(subId)) { in update()
118 if (mSubscriptionManager.isActiveSubscriptionId(subId)) { in update()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DDisabledSubscriptionController.java84 mCategory.setVisible(mSubscriptionManager.isActiveSubscriptionId(mSubId)); in update()
DMobileDataPreferenceController.java158 .isActiveSubscriptionId(defaultSubId) && defaultSubId != mSubId; in isDialogNeeded()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowSubscriptionManager.java87 protected boolean isActiveSubscriptionId(int subscriptionId) { in isActiveSubscriptionId() method in ShadowSubscriptionManager
/packages/apps/Car/Settings/src/com/android/car/settings/network/
DMobileNetworkListPreferenceController.java89 if (mSubscriptionManager.isActiveSubscriptionId(info.getSubscriptionId())) { in createPreference()
DMobileDataTogglePreferenceController.java136 boolean needToDisableOthers = mSubscriptionManager.isActiveSubscriptionId(defaultSubId) in handlePreferenceChanged()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DMobileDataPreferenceController.java152 .isActiveSubscriptionId(defaultSubId) && defaultSubId != mSubId; in isDialogNeeded()
/packages/services/AlternativeNetworkAccess/src/com/android/ons/
DONSProfileSelector.java342 return mSubscriptionManager.isActiveSubscriptionId(subId); in isAvtiveSub()
/packages/services/Mms/src/com/android/mms/service/
DMmsService.java408 .isActiveSubscriptionId(subId);
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyProviderTest.java149 .isActiveSubscriptionId(anyInt()); in MockContextWithProvider()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyProvider.java3125 if (!subscriptionManager.isActiveSubscriptionId(subId)) { in getSubscriptionMatchingAPNList()