Home
last modified time | relevance | path

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

12

/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/
DDisabledSubscriptionControllerTest.java76 doReturn(true).when(mSubscriptionManager).isActiveSubscriptionId(SUB_ID); in displayPreference_subscriptionEnabled_categoryIsVisible()
83 doReturn(false).when(mSubscriptionManager).isActiveSubscriptionId(SUB_ID); in displayPreference_subscriptionDisabled_categoryIsNotVisible()
90 doReturn(true).when(mSubscriptionManager).isActiveSubscriptionId(SUB_ID); in onSubscriptionsChanged_subscriptionBecomesDisabled_categoryIsNotVisible()
92 doReturn(false).when(mSubscriptionManager).isActiveSubscriptionId(SUB_ID); in onSubscriptionsChanged_subscriptionBecomesDisabled_categoryIsNotVisible()
99 doReturn(false).when(mSubscriptionManager).isActiveSubscriptionId(SUB_ID); in onSubscriptionsChanged_subscriptionBecomesEnabled_categoryIsVisible()
101 doReturn(true).when(mSubscriptionManager).isActiveSubscriptionId(SUB_ID); in onSubscriptionsChanged_subscriptionBecomesEnabled_categoryIsVisible()
/packages/apps/Settings/src/com/android/settings/network/
DNetworkProviderSimListController.java103 boolean isActiveSubscriptionId = info.isActiveSubscriptionId; in update()
113 if (!info.isEmbedded && !isActiveSubscriptionId in update()
135 if (subInfo.isActiveSubscriptionId) { in getSummary()
DMobileNetworkRepository.java570 mSubscriptionManager.isActiveSubscriptionId(subId), in convertToSubscriptionInfoEntity()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/network/
DMobileDataTogglePreferenceControllerTest.java107 when(mMockSubscriptionManager.isActiveSubscriptionId(SUB_ID)).thenReturn(true); in setUp()
267 when(mMockSubscriptionManager.isActiveSubscriptionId(otherSubId)).thenReturn(true); in handlePreferenceChanged_setTrue_isMultiSim_otherSimActive_opensDialog()
331 when(mMockSubscriptionManager.isActiveSubscriptionId(otherSubId)).thenReturn(true); in enableMutliSimDialog_onConfirm_enablesData()
359 when(mMockSubscriptionManager.isActiveSubscriptionId(otherSubId)).thenReturn(true); in enableMutliSimDialog_onConfirm_setsChecked()
/packages/services/Mms/src/com/android/mms/service/metrics/
DMmsStats.java144 if (subManager == null || !subManager.isActiveSubscriptionId(mSubId)) return false; in isManagedProfile()
231 if ((subManager != null) && (subManager.isActiveSubscriptionId(mSubId))) { in isDefaultMmsApp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DMobileNetworkSummaryControllerTest.java103 when(mSubscriptionManager.isActiveSubscriptionId(anyInt())).thenReturn(true); in setUp()
181 when(mSubscriptionManager.isActiveSubscriptionId(eq(1))).thenReturn(false); in getSummary_oneInactivePSim_cannotDisablePsim_correctSummaryAndClickHandler()
201 when(mSubscriptionManager.isActiveSubscriptionId(eq(1))).thenReturn(false); in getSummary_oneInactivePSim_canDisablePsim_correctSummaryAndClickHandler()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DCallsDefaultSubscriptionController.java43 if (subInfo.isActiveSubscriptionId && subId == defaultCallSubId) { in getDefaultSubscriptionId()
DSmsDefaultSubscriptionController.java49 if (subInfo.isActiveSubscriptionId && subId == defaultSmsSubId) { in getDefaultSubscriptionId()
DDisabledSubscriptionController.java82 mCategory.setVisible(mSubscriptionManager.isActiveSubscriptionId(mSubId)); in update()
DConvertToEsimPreferenceController.java140 && mSubscriptionInfoEntity.isActiveSubscriptionId in getAvailabilityStatus()
/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/
DONSProfileConfiguratorTest.java177 doReturn(true).when(mMockSubManager).isActiveSubscriptionId(1); in testdeleteInactiveOpportunisticSubscriptionsWithSavedOppSubs()
181 doReturn(false).when(mMockSubManager).isActiveSubscriptionId(2); in testdeleteInactiveOpportunisticSubscriptionsWithSavedOppSubs()
DONSProfileActivatorTest.java394 doReturn(true).when(mMockSubManager).isActiveSubscriptionId(TEST_SUBID_0); in testOneCBRSPSIMAndOneOpportunisticESIM()
408 doReturn(true).when(mMockSubManager).isActiveSubscriptionId(TEST_SUBID_1); in testOneCBRSPSIMAndOneOpportunisticESIM()
/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.java139 boolean needToDisableOthers = mSubscriptionManager.isActiveSubscriptionId(defaultSubId) in handlePreferenceChanged()
/packages/services/AlternativeNetworkAccess/src/com/android/ons/
DONSProfileConfigurator.java196 if (!mSubscriptionManager.isActiveSubscriptionId(subId)) { in deleteInactiveOpportunisticSubscriptions()
DONSProfileActivator.java240 if (mSubManager.isActiveSubscriptionId(oppSubInfo.getSubscriptionId()) in provisionCBRS()
DONSProfileSelector.java355 return mSubscriptionManager.isActiveSubscriptionId(subId); in isAvtiveSub()
/packages/services/Mms/tests/unittests/src/com/android/mms/service/metrics/
DMmsStatsTest.java148 .isActiveSubscriptionId(eq(inactiveSubId)); in isDefaultMmsApp_subId_inactive()
/packages/apps/Settings/src/com/android/settings/sim/
DSimSelectNotification.java126 if (!subscriptionManager.isActiveSubscriptionId(subId)) { in onEnableMmsDataRequest()
/packages/apps/Settings/tests/robotests/src/com/android/settings/sim/
DSimSelectNotificationTest.java143 when(mSubscriptionManager.isActiveSubscriptionId(mSubId)).thenReturn(true); in setUp()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DCarrierIdProviderTest.java342 when(subscriptionManager.isActiveSubscriptionId(eq(1))).thenReturn(true); in testUpdateCurrentSubscription()
/packages/services/Mms/src/com/android/mms/service/
DSendRequest.java187 if ((subManager != null) && (subManager.isActiveSubscriptionId(mSubId))) { in persistIfRequired()
DMmsService.java573 .isActiveSubscriptionId(subId);
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DCarrierIdProvider.java626 if (!sm.isActiveSubscriptionId(subId)) { in updateCarrierIdForCurrentSubscription()

12