/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/ |
D | DisabledSubscriptionControllerTest.java | 76 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/ |
D | NetworkProviderSimListController.java | 103 boolean isActiveSubscriptionId = info.isActiveSubscriptionId; in update() 113 if (!info.isEmbedded && !isActiveSubscriptionId in update() 135 if (subInfo.isActiveSubscriptionId) { in getSummary()
|
D | MobileNetworkRepository.java | 570 mSubscriptionManager.isActiveSubscriptionId(subId), in convertToSubscriptionInfoEntity()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/network/ |
D | MobileDataTogglePreferenceControllerTest.java | 107 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/ |
D | MmsStats.java | 144 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/ |
D | MobileNetworkSummaryControllerTest.java | 103 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/ |
D | CallsDefaultSubscriptionController.java | 43 if (subInfo.isActiveSubscriptionId && subId == defaultCallSubId) { in getDefaultSubscriptionId()
|
D | SmsDefaultSubscriptionController.java | 49 if (subInfo.isActiveSubscriptionId && subId == defaultSmsSubId) { in getDefaultSubscriptionId()
|
D | DisabledSubscriptionController.java | 82 mCategory.setVisible(mSubscriptionManager.isActiveSubscriptionId(mSubId)); in update()
|
D | ConvertToEsimPreferenceController.java | 140 && mSubscriptionInfoEntity.isActiveSubscriptionId in getAvailabilityStatus()
|
/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/ |
D | ONSProfileConfiguratorTest.java | 177 doReturn(true).when(mMockSubManager).isActiveSubscriptionId(1); in testdeleteInactiveOpportunisticSubscriptionsWithSavedOppSubs() 181 doReturn(false).when(mMockSubManager).isActiveSubscriptionId(2); in testdeleteInactiveOpportunisticSubscriptionsWithSavedOppSubs()
|
D | ONSProfileActivatorTest.java | 394 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/ |
D | ShadowSubscriptionManager.java | 87 protected boolean isActiveSubscriptionId(int subscriptionId) { in isActiveSubscriptionId() method in ShadowSubscriptionManager
|
/packages/apps/Car/Settings/src/com/android/car/settings/network/ |
D | MobileNetworkListPreferenceController.java | 89 if (mSubscriptionManager.isActiveSubscriptionId(info.getSubscriptionId())) { in createPreference()
|
D | MobileDataTogglePreferenceController.java | 139 boolean needToDisableOthers = mSubscriptionManager.isActiveSubscriptionId(defaultSubId) in handlePreferenceChanged()
|
/packages/services/AlternativeNetworkAccess/src/com/android/ons/ |
D | ONSProfileConfigurator.java | 196 if (!mSubscriptionManager.isActiveSubscriptionId(subId)) { in deleteInactiveOpportunisticSubscriptions()
|
D | ONSProfileActivator.java | 240 if (mSubManager.isActiveSubscriptionId(oppSubInfo.getSubscriptionId()) in provisionCBRS()
|
D | ONSProfileSelector.java | 355 return mSubscriptionManager.isActiveSubscriptionId(subId); in isAvtiveSub()
|
/packages/services/Mms/tests/unittests/src/com/android/mms/service/metrics/ |
D | MmsStatsTest.java | 148 .isActiveSubscriptionId(eq(inactiveSubId)); in isDefaultMmsApp_subId_inactive()
|
/packages/apps/Settings/src/com/android/settings/sim/ |
D | SimSelectNotification.java | 126 if (!subscriptionManager.isActiveSubscriptionId(subId)) { in onEnableMmsDataRequest()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/sim/ |
D | SimSelectNotificationTest.java | 143 when(mSubscriptionManager.isActiveSubscriptionId(mSubId)).thenReturn(true); in setUp()
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | CarrierIdProviderTest.java | 342 when(subscriptionManager.isActiveSubscriptionId(eq(1))).thenReturn(true); in testUpdateCurrentSubscription()
|
/packages/services/Mms/src/com/android/mms/service/ |
D | SendRequest.java | 187 if ((subManager != null) && (subManager.isActiveSubscriptionId(mSubId))) { in persistIfRequired()
|
D | MmsService.java | 573 .isActiveSubscriptionId(subId);
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | CarrierIdProvider.java | 626 if (!sm.isActiveSubscriptionId(subId)) { in updateCarrierIdForCurrentSubscription()
|