Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DMobileNetworkListControllerTest.java123 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()
DMobileNetworkSummaryControllerTest.java89 when(mSubscriptionManager.isActiveSubscriptionId(anyInt())).thenReturn(true); in setUp()
173 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/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/apps/Settings/src/com/android/settings/network/telephony/
DMobileDataPreferenceController.java150 .isActiveSubscriptionId(defaultSubId) && defaultSubId != mSubId; in isDialogNeeded()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DMobileDataPreferenceController.java152 .isActiveSubscriptionId(defaultSubId) && defaultSubId != mSubId; in isDialogNeeded()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DMobileDataPreferenceControllerTest.java111 doReturn(true).when(mSubscriptionManager).isActiveSubscriptionId(SUB_ID_OTHER); in isDialogNeeded_enableNonDefaultSimInMultiSimMode_returnTrue()
DMobileNetworkActivityTest.java186 doReturn(true).when(mSubscriptionManager).isActiveSubscriptionId(CURRENT_SUB_ID); in getSubscriptionId_hasIntent_getIdFromIntent()
/packages/services/AlternativeNetworkAccess/src/com/android/ons/
DONSProfileSelector.java303 return mSubscriptionManager.isActiveSubscriptionId(subId); in isAvtiveSub()