/packages/apps/Settings/src/com/android/settings/datausage/ |
D | CellDataPreference.java | 121 SubscriptionInfo getActiveSubscriptionInfo(int subId) { in getActiveSubscriptionInfo() method in CellDataPreference 122 return getProxySubscriptionManager().getActiveSubscriptionInfo(subId); in getActiveSubscriptionInfo() 132 setEnabled(getActiveSubscriptionInfo(mSubId) != null); in updateEnabled() 140 final SubscriptionInfo currentSir = getActiveSubscriptionInfo(mSubId); in performClick() 141 final SubscriptionInfo nextSir = getActiveSubscriptionInfo( in performClick() 195 final SubscriptionInfo currentSir = getActiveSubscriptionInfo(mSubId); in showMultiSimDialog() 196 final SubscriptionInfo nextSir = getActiveSubscriptionInfo( in showMultiSimDialog() 215 final SubscriptionInfo subInfo = getActiveSubscriptionInfo(subId); in disableDataForOtherSubscriptions()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/ |
D | ResetSubscriptionContractTest.java | 82 .getActiveSubscriptionInfo(SUB_ID_1); 85 .getActiveSubscriptionInfo(SUB_ID_2); 98 .getActiveSubscriptionInfo(SUB_ID_1); 101 .getActiveSubscriptionInfo(SUB_ID_2);
|
/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/ |
D | ONSProfileDownloaderTest.java | 106 doReturn(mMockSubInfo).when(mMockSubManager).getActiveSubscriptionInfo(TEST_SUB_ID); in testNullSMDPAddress() 144 doReturn(mMockSubInfo).when(mMockSubManager).getActiveSubscriptionInfo(TEST_SUB_ID); in testDownloadSuccessCallback() 189 doReturn(mMockSubInfo).when(mMockSubManager).getActiveSubscriptionInfo(TEST_SUB_ID); in testDownloadFailureUnresolvableError() 227 doReturn(mMockSubInfo).when(mMockSubManager).getActiveSubscriptionInfo(TEST_SUB_ID); in testDownloadFailureMemoryFullError() 277 doReturn(mMockSubInfo).when(mMockSubManager).getActiveSubscriptionInfo(TEST_SUB_ID); in testDownloadFailureConnectionError() 334 doReturn(mMockSubInfo).when(mMockSubManager).getActiveSubscriptionInfo(TEST_SUB_ID); in testDownloadFailureTimeout() 391 doReturn(mMockSubInfo).when(mMockSubManager).getActiveSubscriptionInfo(TEST_SUB_ID); in testDownloadFailureOperationBusy() 448 doReturn(mMockSubInfo).when(mMockSubManager).getActiveSubscriptionInfo(TEST_SUB_ID); in testDownloadFailureInvalidResponse() 492 doReturn(mMockSubInfo).when(mMockSubManager).getActiveSubscriptionInfo(TEST_SUB_ID); in testDownloadOpCode() 634 doReturn(mMockSubInfo).when(mMockSubManager).getActiveSubscriptionInfo(TEST_SUB_ID); in testMultipleDownloadRequests() [all …]
|
D | ONSProfileSelectorTest.java | 266 .getActiveSubscriptionInfo(subId); in testStartProfileSelectionSuccess() 322 doReturn(subscriptionInfo).when(mSubscriptionManager).getActiveSubscriptionInfo(5); in testStartProfileSelectionWithDifferentPrioritySubInfo() 323 doReturn(subscriptionInfo_2).when(mSubscriptionManager).getActiveSubscriptionInfo(8); in testStartProfileSelectionWithDifferentPrioritySubInfo() 401 doReturn(subscriptionInfo1).when(mSubscriptionManager).getActiveSubscriptionInfo(5); in testStartProfileSelectionWithActivePrimarySimOnESim() 402 doReturn(subscriptionInfo2).when(mSubscriptionManager).getActiveSubscriptionInfo(6); in testStartProfileSelectionWithActivePrimarySimOnESim() 520 doReturn(subscriptionInfo).when(mSubscriptionManager).getActiveSubscriptionInfo(5); in testselectProfileForDataWithInActiveSub() 551 doReturn(subscriptionInfo).when(mSubscriptionManager).getActiveSubscriptionInfo(5); in testselectProfileForDataWithInvalidSubId() 586 doReturn(subscriptionInfo).when(mSubscriptionManager).getActiveSubscriptionInfo(5); in testselectProfileForDataWithValidSub() 630 doReturn(subscriptionInfo1).when(mSubscriptionManager).getActiveSubscriptionInfo(5); in testStartProfileSelectionSuccessWithSameArgumentsAgain() 631 doReturn(subscriptionInfo2).when(mSubscriptionManager).getActiveSubscriptionInfo(6); in testStartProfileSelectionSuccessWithSameArgumentsAgain() [all …]
|
D | ONSProfileConfiguratorTest.java | 231 .getActiveSubscriptionInfo(TEST_SUB_ID); in testFindOpportunisticSubscription() 237 doReturn(mMockSubscriptionInfo2).when(mMockSubManager).getActiveSubscriptionInfo(2); in testFindOpportunisticSubscription()
|
D | ONSStatsTest.java | 195 doReturn(mSubInfoId1).when(mSubscriptionManager).getActiveSubscriptionInfo(1); in setUp() 196 doReturn(mSubInfoId2).when(mSubscriptionManager).getActiveSubscriptionInfo(2); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/ |
D | MobileDataSliceTest.java | 80 doReturn(mSubscriptionInfo).when(mSubscriptionManager).getActiveSubscriptionInfo(anyInt()); in setUp() 111 doReturn(mSubscriptionInfo).when(mSubscriptionManager).getActiveSubscriptionInfo(SUB_ID); in handleUriChange_turnedOn_updatesMobileData() 124 doReturn(mSubscriptionInfo).when(mSubscriptionManager).getActiveSubscriptionInfo(SUB_ID); in handleUriChange_turnedOff_updatesMobileData() 137 doReturn(mSubscriptionInfo).when(mSubscriptionManager).getActiveSubscriptionInfo(SUB_ID); in handleUriChange_turnedOff_airplaneModeOn_mobileDataDoesNotUpdate() 194 doReturn(mSubscriptionInfo).when(mSubscriptionManager).getActiveSubscriptionInfo(SUB_ID); in airplaneModeEnabled_slicePrimaryActionIsEmpty()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | PhoneUtils.java | 241 public abstract SubscriptionInfo getActiveSubscriptionInfo(); in getActiveSubscriptionInfo() method 426 final SubscriptionInfo subInfo = getActiveSubscriptionInfo(); in getSimCountry() 444 final SubscriptionInfo subInfo = getActiveSubscriptionInfo(); in getCarrierName() 472 final SubscriptionInfo subInfo = getActiveSubscriptionInfo(); in getMccMnc() 495 final SubscriptionInfo subInfo = getActiveSubscriptionInfo(); in getSelfRawNumber() 508 public SubscriptionInfo getActiveSubscriptionInfo() { in getActiveSubscriptionInfo() method in PhoneUtils.PhoneUtilsLMR1 511 mSubscriptionManager.getActiveSubscriptionInfo(mSubId); in getActiveSubscriptionInfo() 602 final SubscriptionInfo subInfo = getActiveSubscriptionInfo(); in isDataRoamingEnabled()
|
/packages/apps/Settings/src/com/android/settings/sim/ |
D | CallsSimListDialogFragment.java | 59 SubscriptionInfo info = subscriptionManager.getActiveSubscriptionInfo(subId); in getCurrentSubscriptions() 66 result.add(subscriptionManager.getActiveSubscriptionInfo(subId)); in getCurrentSubscriptions()
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/telephony/ |
D | DataSubscriptionRepositoryTest.kt | 61 on { getActiveSubscriptionInfo(SUB_ID_10) } doReturn in <lambda>() 63 on { getActiveSubscriptionInfo(SUB_ID_20) } doReturn in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | MobileDataDialogFragment.java | 94 mSubscriptionManager.getActiveSubscriptionInfo(mSubId); in onCreateDialog() 96 mSubscriptionManager.getActiveSubscriptionInfo( in onCreateDialog()
|
D | ConvertToEsimPreferenceController.java | 126 SubscriptionInfo subInfo = subscriptionManager.getActiveSubscriptionInfo(subId); in getAvailabilityStatus() 191 SubscriptionInfo subInfo = subscriptionManager.getActiveSubscriptionInfo(subId); in isActiveSubscription()
|
D | MobileDataSlice.java | 165 final SubscriptionInfo defaultSubscription = subscriptionManager.getActiveSubscriptionInfo( in getDefaultSubscriptionId() 175 final SubscriptionInfo defaultSubscription = mSubscriptionManager.getActiveSubscriptionInfo( in getSummary()
|
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/utils/ |
D | TelephonyUtils.java | 100 SubscriptionInfo subInfo = subscriptionManager.getActiveSubscriptionInfo(subId); in isActivedSubId() 112 SubscriptionInfo subInfo = subscriptionManager.getActiveSubscriptionInfo(subId); in getSlotId()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | ProxySubscriptionManager.java | 221 public SubscriptionInfo getActiveSubscriptionInfo(int subId) { in getActiveSubscriptionInfo() method in ProxySubscriptionManager 222 return mSubscriptionMonitor.getActiveSubscriptionInfo(subId); in getActiveSubscriptionInfo()
|
D | ActiveSubscriptionsListener.java | 233 public SubscriptionInfo getActiveSubscriptionInfo(int subId) { 265 final SubscriptionInfo activeSubInfo = getActiveSubscriptionInfo(subId);
|
/packages/apps/Car/Settings/src/com/android/car/settings/network/ |
D | MobileDataTogglePreferenceController.java | 166 SubscriptionInfo info = mSubscriptionManager.getActiveSubscriptionInfo(getSubId()); in isOpportunistic() 190 mSubscriptionManager.getActiveSubscriptionInfo(getSubId()); in getConfirmMultisimEnableDialog()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | MultinetworkPolicyTrackerTest.kt | 75 doReturn(null).`when`(it).getActiveSubscriptionInfo(anyInt()) in <lambda>() 175 doReturn(subscriptionInfo).`when`(subscriptionManager).getActiveSubscriptionInfo(testSubId) in testOnActiveDataSubscriptionIdChanged()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/datausage/ |
D | CellDataPreferenceTest.java | 49 SubscriptionInfo getActiveSubscriptionInfo(int subId) { in setUp()
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastSettingsTest.java | 236 doReturn(mockSubInfo).when(mockSubManager).getActiveSubscriptionInfo(anyInt()); in testGetResources() 340 doReturn(mockSubInfo).when(mockSubManager).getActiveSubscriptionInfo(anyInt()); in testDisabledExtremeToggle() 462 doReturn(mockSubInfo).when(mockSubManager).getActiveSubscriptionInfo(anyInt()); in setSubscriptionManager()
|
/packages/services/Telephony/tests/src/com/android/phone/ |
D | NotificationMgrTest.java | 199 when(mSubscriptionManager.getActiveSubscriptionInfo(eq(TEST_SUB_ID))).thenReturn(null); in testUpdateCfi_visible_noActiveSubscription_notificationNeverSent() 211 when(mSubscriptionManager.getActiveSubscriptionInfo(eq(TEST_SUB_ID))).thenReturn( in testUpdateCfi_visible_hasActiveSub_singleSIM_notificationSent() 222 when(mSubscriptionManager.getActiveSubscriptionInfo(eq(TEST_SUB_ID))).thenReturn( in testUpdateCfi_visible_hasActiveSub_multiSIM_notificationSentWithoutDisplayName() 234 when(mSubscriptionManager.getActiveSubscriptionInfo(eq(TEST_SUB_ID))).thenReturn( in testUpdateCfi_visible_hasActiveSub_multiSIM_notificationSentWithDisplayName()
|
D | PhoneUtilsTest.java | 62 when(mMockSubscriptionManager.getActiveSubscriptionInfo( in setUp()
|
/packages/apps/Settings/src/com/android/settings/ |
D | ResetSubscriptionContract.java | 86 if (mgr.getActiveSubscriptionInfo(subId) == null) { in getAnyMissingSubscriptionId()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/datausage/ |
D | DataUsageSummaryPreferenceControllerTest.java | 111 when(mMockSubscriptionManager.getActiveSubscriptionInfo(SUB_ID)).thenReturn(info); in setUp() 309 when(mMockSubscriptionManager.getActiveSubscriptionInfo(SUB_ID)).thenReturn(subInfo); in setCarrierName()
|
/packages/services/Telephony/src/com/android/phone/ |
D | SimPhonebookProvider.java | 315 SubscriptionInfo info = getActiveSubscriptionInfo(args.subscriptionId); in queryElementaryFilesItem() 634 ? getActiveSubscriptionInfo(args.subscriptionId) in validateSubscriptionAndEf() 762 private SubscriptionInfo getActiveSubscriptionInfo(int subId) { in getActiveSubscriptionInfo() method in SimPhonebookProvider 766 return mSubscriptionManager.getActiveSubscriptionInfo(subId); in getActiveSubscriptionInfo()
|