Home
last modified time | relevance | path

Searched refs:getActiveSubscriptionInfo (Results 1 – 25 of 38) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DMobileDataPreferenceControllerTest.java100 doReturn(mSubscriptionInfo).when(mSubscriptionManager).getActiveSubscriptionInfo(SUB_ID); in isDialogNeeded_disableSingleSim_returnFalse()
110 doReturn(mSubscriptionInfo).when(mSubscriptionManager).getActiveSubscriptionInfo(SUB_ID); in isDialogNeeded_enableNonDefaultSimInMultiSimMode_returnTrue()
132 doReturn(mSubscriptionInfo).when(mSubscriptionManager).getActiveSubscriptionInfo(SUB_ID); in onPreferenceChange_singleSim_On_shouldEnableData()
144 doReturn(mSubscriptionInfo).when(mSubscriptionManager).getActiveSubscriptionInfo(SUB_ID); in onPreferenceChange_multiSim_On_shouldEnableData()
164 doReturn(mSubscriptionInfo).when(mSubscriptionManager).getActiveSubscriptionInfo(SUB_ID); in updateState_opportunistic_disabled()
176 doReturn(mSubscriptionInfo).when(mSubscriptionManager).getActiveSubscriptionInfo(SUB_ID); in updateState_notOpportunistic_enabled()
DMobileDataSliceTest.java111 doReturn(mSubscriptionInfo).when(mSubscriptionManager).getActiveSubscriptionInfo(SUB_ID); in handleUriChange_turnedOn_updatesMobileData()
123 doReturn(mSubscriptionInfo).when(mSubscriptionManager).getActiveSubscriptionInfo(SUB_ID); in handleUriChange_turnedOff_updatesMobileData()
135 doReturn(mSubscriptionInfo).when(mSubscriptionManager).getActiveSubscriptionInfo(SUB_ID); in handleUriChange_turnedOff_airplaneModeOn_mobileDataDoesNotUpdate()
191 doReturn(mSubscriptionInfo).when(mSubscriptionManager).getActiveSubscriptionInfo(SUB_ID); in airplaneModeEnabled_slicePrimaryActionIsEmpty()
DRenameMobileNetworkDialogFragmentTest.java102 when(mSubscriptionMgr.getActiveSubscriptionInfo(mSubscriptionId)).thenReturn( in dialog_cancelButtonClicked_setDisplayNameAndIconTintNotCalled()
117 when(mSubscriptionMgr.getActiveSubscriptionInfo(mSubscriptionId)).thenReturn( in dialog_saveButtonClicked_setDisplayNameAndIconTint()
142 when(mSubscriptionMgr.getActiveSubscriptionInfo(mSubscriptionId)).thenReturn( in populateView_infoIsOpportunistic_hideNumberLabel()
/packages/apps/Messaging/src/com/android/messaging/util/
DPhoneUtils.java238 public abstract SubscriptionInfo getActiveSubscriptionInfo(); in getActiveSubscriptionInfo() method
420 final SubscriptionInfo subInfo = getActiveSubscriptionInfo(); in getSimCountry()
438 final SubscriptionInfo subInfo = getActiveSubscriptionInfo(); in getCarrierName()
466 final SubscriptionInfo subInfo = getActiveSubscriptionInfo(); in getMccMnc()
489 final SubscriptionInfo subInfo = getActiveSubscriptionInfo(); in getSelfRawNumber()
502 public SubscriptionInfo getActiveSubscriptionInfo() { in getActiveSubscriptionInfo() method in PhoneUtils.PhoneUtilsLMR1
505 mSubscriptionManager.getActiveSubscriptionInfo(mSubId); in getActiveSubscriptionInfo()
596 final SubscriptionInfo subInfo = getActiveSubscriptionInfo(); in isDataRoamingEnabled()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DCellDataPreference.java132 setEnabled(mSubscriptionManager.getActiveSubscriptionInfo(mSubId) != null); in updateEnabled()
140 final SubscriptionInfo currentSir = mSubscriptionManager.getActiveSubscriptionInfo( in performClick()
218 final SubscriptionInfo currentSir = mSubscriptionManager.getActiveSubscriptionInfo(mSubId); in showMultiSimDialog()
DDataUsageBaseFragment.java70 return services.mSubscriptionManager.getActiveSubscriptionInfo(subId) != null; in isMobileDataAvailable()
/packages/apps/Settings/src/com/android/settings/datausage/
DCellDataPreference.java132 setEnabled(mSubscriptionManager.getActiveSubscriptionInfo(mSubId) != null); in updateEnabled()
140 final SubscriptionInfo currentSir = mSubscriptionManager.getActiveSubscriptionInfo( in performClick()
218 final SubscriptionInfo currentSir = mSubscriptionManager.getActiveSubscriptionInfo(mSubId); in showMultiSimDialog()
DDataUsageBaseFragment.java70 return services.mSubscriptionManager.getActiveSubscriptionInfo(subId) != null; in isMobileDataAvailable()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DRenameMobileNetworkDialogFragment.java98 SubscriptionInfo currentInfo = mSubscriptionManager.getActiveSubscriptionInfo( in onCreateDialog()
111 final SubscriptionInfo info = mSubscriptionManager.getActiveSubscriptionInfo(mSubId); in populateView()
DMobileDataDialogFragment.java87 mSubscriptionManager.getActiveSubscriptionInfo(mSubId); in onCreateDialog()
DMobileDataPreferenceController.java128 SubscriptionInfo info = mSubscriptionManager.getActiveSubscriptionInfo(mSubId); in isOpportunistic()
/packages/apps/Car/Settings/src/com/android/car/settings/network/
DMobileDataTogglePreferenceController.java162 SubscriptionInfo info = mSubscriptionManager.getActiveSubscriptionInfo(mSubId); in isOpportunistic()
186 mSubscriptionManager.getActiveSubscriptionInfo(mSubId); in getConfirmMultisimEnableDialog()
/packages/services/Telephony/src/com/android/phone/
DMobileDataPreference.java131 final SubscriptionInfo currentSir = mSubscriptionManager.getActiveSubscriptionInfo( in performClick()
208 final SubscriptionInfo currentSir = mSubscriptionManager.getActiveSubscriptionInfo(mSubId); in showMultiSimDialog()
DNotificationMgr.java275 SubscriptionInfo subInfo = mSubscriptionManager.getActiveSubscriptionInfo(subId); in updateMwi()
510 SubscriptionInfo subInfo = mSubscriptionManager.getActiveSubscriptionInfo(subId); in updateCfi()
541 intent, mSubscriptionManager.getActiveSubscriptionInfo(subId)); in updateCfi()
/packages/apps/Messaging/src/android/support/v7/mms/
DMmsHttpClient.java396 final SubscriptionInfo info = subscriptionManager.getActiveSubscriptionInfo( in getSelfNumber()
417 final SubscriptionInfo info = subscriptionManager.getActiveSubscriptionInfo( in getSimOrLocaleCountry()
DUtils.java106 final SubscriptionInfo subInfo = subscriptionManager.getActiveSubscriptionInfo(subId); in getMccMnc()
/packages/apps/Settings/src/com/android/settings/sim/
DCallsSimListDialogFragment.java56 result.add(subscriptionManager.getActiveSubscriptionInfo(subId)); in getCurrentSubscriptions()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DCellDataPreferenceTest.java74 when(mSubscriptionManager.getActiveSubscriptionInfo(anyInt())).thenReturn(mSubInfo); in noActiveSub_shouldDisable()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DMobileDataDialogFragment.java87 mSubscriptionManager.getActiveSubscriptionInfo(mSubId); in onCreateDialog()
DMobileDataPreferenceController.java134 SubscriptionInfo info = mSubscriptionManager.getActiveSubscriptionInfo(mSubId); in isOpportunistic()
DRenameMobileNetworkDialogFragment.java132 final SubscriptionInfo info = mSubscriptionManager.getActiveSubscriptionInfo(mSubId); in populateView()
/packages/services/Telephony/src/com/android/services/telephony/
DConferenceParticipantConnection.java184 getSubscriptionManager().getActiveSubscriptionInfo(subId); in getCountryIso()
DTelecomAccountRegistry.java227 mSubscriptionManager.getActiveSubscriptionInfo(subId); in buildPstnPhoneAccount()
1171 .getActiveSubscriptionInfo(subscriptionId); in setupAccounts()
/packages/apps/Messaging/tests/src/com/android/messaging/
DFakeFactory.java118 public SubscriptionInfo getActiveSubscriptionInfo() { in registerWithFakeContext()
/packages/apps/Settings/tests/robotests/src/com/android/settings/sim/
DSimSelectNotificationTest.java121 when(mSubscriptionManager.getActiveSubscriptionInfo(mSubId)).thenReturn(mSubInfo); in setUp()

12