Home
last modified time | relevance | path

Searched refs:isValidSubscriptionId (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/telephony/java/android/telephony/
DImsManager.java106 if (!SubscriptionManager.isValidSubscriptionId(subscriptionId)) { in getImsRcsManager()
122 if (!SubscriptionManager.isValidSubscriptionId(subscriptionId)) { in getImsMmTelManager()
DSubscriptionManager.java1170 if (!isValidSubscriptionId(subId)) { in getActiveSubscriptionInfo()
1754 if (!isValidSubscriptionId(subscriptionId)) { in getSlotIndex()
1811 if (!isValidSubscriptionId(subId)) { in getPhoneId()
2091 if (!isValidSubscriptionId(getDefaultDataSubscriptionId())) { in allDefaultsSelected()
2094 if (!isValidSubscriptionId(getDefaultSmsSubscriptionId())) { in allDefaultsSelected()
2097 if (!isValidSubscriptionId(getDefaultVoiceSubscriptionId())) { in allDefaultsSelected()
2114 public static boolean isValidSubscriptionId(int subscriptionId) { in isValidSubscriptionId() method in SubscriptionManager
2410 if (isValidSubscriptionId(subId) && !useRootLocale) { in getResourcesForSubId()
3314 if (!isValidSubscriptionId(subId)) { in setSubscriptionPropertyHelper()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityModel.java60 if (mIsPukScreenAvailable && SubscriptionManager.isValidSubscriptionId( in getSecurityMode()
65 if (SubscriptionManager.isValidSubscriptionId( in getSecurityMode()
DKeyguardSimPinView.java153 if (subId != mSubId && SubscriptionManager.isValidSubscriptionId(subId)) { in handleSubInfoChangeIfNeeded()
DKeyguardSimPukView.java209 if (subId != mSubId && SubscriptionManager.isValidSubscriptionId(subId)) { in handleSubInfoChangeIfNeeded()
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsCallbackAdapterManager.java117 if (!SubscriptionManager.isValidSubscriptionId(subId)) { in addCallbackForSubscription()
140 if (!SubscriptionManager.isValidSubscriptionId(subId)) { in removeCallbackForSubscription()
187 if (!SubscriptionManager.isValidSubscriptionId(subId)) { in removeCallbacksForSubscription()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/
DVendorPhoneSwitcher.java268 if (SubscriptionManager.isValidSubscriptionId(sub)) hasAnyActiveSubscription = true; in onEvaluate()
273 if (SubscriptionManager.isValidSubscriptionId(mPreferredDataSubId) in onEvaluate()
289 SubscriptionManager.isValidSubscriptionId(mPreferredDataSubId); in onEvaluate()
301 SubscriptionManager.isValidSubscriptionId(mPreferredDataSubId); in onEvaluate()
614 && SubscriptionManager.isValidSubscriptionId(mPreferredDataSubId)) { in notifyDdsSwitchDone()
/frameworks/base/telephony/common/com/android/internal/telephony/
DTelephonyPermissions.java149 if (SubscriptionManager.isValidSubscriptionId(subId)) { in checkReadPhoneState()
169 if (SubscriptionManager.isValidSubscriptionId(subId) in checkCarrierPrivilegeForSubId()
433 if (SubscriptionManager.isValidSubscriptionId(subId)) { in checkReadCallLog()
506 if (SubscriptionManager.isValidSubscriptionId(subId)) { in checkReadPhoneNumber()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGlobalSettingsHelper.java90 && SubscriptionManager.isValidSubscriptionId(subId)) { in getSettingName()
DMultiSimSettingController.java203 if (SubscriptionManager.isValidSubscriptionId(subId)) { in notifyUserDataEnabled()
212 if (SubscriptionManager.isValidSubscriptionId(subId)) { in notifyRoamingDataEnabled()
697 && SubscriptionManager.isValidSubscriptionId(phone.getSubId()) in disableDataForNonDefaultNonOpportunisticSubscriptions()
794 return SubscriptionManager.isValidSubscriptionId(newValue); in updateDefaultValue()
DSubscriptionController.java1230 if (!SubscriptionManager.isValidSubscriptionId(defaultSubId) in addSubInfo()
1275 if (!SubscriptionManager.isValidSubscriptionId(subId)) { in addSubInfo()
1345 if (!SubscriptionManager.isValidSubscriptionId(subId)) return false; in isActiveSubscriptionId()
1524 !SubscriptionManager.isValidSubscriptionId(subId)) { in setPlmnSpn()
2111 if (!SubscriptionManager.isValidSubscriptionId(subId)) { in getSlotIndex()
2201 if (!SubscriptionManager.isValidSubscriptionId(subId)) { in getPhoneId()
2428 if (SubscriptionManager.isValidSubscriptionId(subId)) { in setDefaultDataSubId()
2496 if (SubscriptionManager.isValidSubscriptionId(subId)) { in setDefaultFallbackSubId()
2591 if (!SubscriptionManager.isValidSubscriptionId(subId)) { in validateSubId()
2672 boolean retVal = SubscriptionManager.isValidSubscriptionId(subId) in isActiveSubId()
[all …]
DVisualVoicemailSmsFilter.java79 if (!SubscriptionManager.isValidSubscriptionId(subId)) {
DPhone.java1456 if (SubscriptionManager.isValidSubscriptionId(subId)) { in updateSavedNetworkOperator()
1992 if (SubscriptionManager.isValidSubscriptionId(subId)) { in getCallForwardingIndicatorFromSharedPref()
2753 if (SubscriptionManager.isValidSubscriptionId(subId)) { in setVoiceMessageCount()
2782 if (SubscriptionManager.isValidSubscriptionId(subId)) { in getStoredVoiceMessageCount()
4019 if (SubscriptionManager.isValidSubscriptionId(getSubId())) { in radioCapabilityUpdated()
4038 if (SubscriptionManager.isValidSubscriptionId(subId)) { in setPreferredNetworkTypeIfSimLoaded()
DCarrierServiceStateTracker.java112 if (SubscriptionManager.isValidSubscriptionId(subId)) { in registerPrefNetworkModeObserver()
DCarrierResolver.java468 if (SubscriptionManager.isValidSubscriptionId(mPhone.getSubId())) { in updateCarrierIdAndName()
750 if (!SubscriptionManager.isValidSubscriptionId(mPhone.getSubId())) { in matchSubscriptionCarrier()
DPhoneSwitcher.java288 && SubscriptionManager.isValidSubscriptionId(mExpectedSubId) in onCapabilitiesChanged()
803 if (SubscriptionManager.isValidSubscriptionId(sub)) hasAnyActiveSubscription = true; in onEvaluate()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DDataUsageController.java213 if (!SubscriptionManager.isValidSubscriptionId(subscriptionId)) { in getTelephonyManager()
218 if (!SubscriptionManager.isValidSubscriptionId(subscriptionId)) { in getTelephonyManager()
/frameworks/base/telephony/java/android/telephony/ims/
DProvisioningManager.java936 if (!SubscriptionManager.isValidSubscriptionId(subId)) { in createForSubscriptionId()
DImsMmTelManager.java243 if (!SubscriptionManager.isValidSubscriptionId(subId)) { in createForSubscriptionId()
/frameworks/base/services/core/java/com/android/server/location/
DGnssConfiguration.java316 PersistableBundle configs = SubscriptionManager.isValidSubscriptionId(ddSubId) in loadPropertiesFromCarrierConfig()
DGnssLocationProvider.java540 if (SubscriptionManager.isValidSubscriptionId(ddSubId)) { in subscriptionOrCarrierConfigChanged()
548 PersistableBundle b = SubscriptionManager.isValidSubscriptionId(ddSubId) in subscriptionOrCarrierConfigChanged()
1941 if (SubscriptionManager.isValidSubscriptionId(ddSubId)) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkControllerImpl.java398 if (!SubscriptionManager.isValidSubscriptionId(dataSubId)) { in getDataController()
444 if (!SubscriptionManager.isValidSubscriptionId(voiceSubId)) { in isEmergencyOnly()
572 if (SubscriptionManager.isValidSubscriptionId(subId)) { in onReceive()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionControllerTest.java161 assertTrue(SubscriptionManager.isValidSubscriptionId( in testInsertSim()
572 assertTrue(SubscriptionManager.isValidSubscriptionId(info.getSubscriptionId())); in addAndVerifyRemoteSimAddition()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DRuimRecords.java822 if (SubscriptionManager.isValidSubscriptionId(subId)) { in onAllRecordsLoaded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewMediator.java1309 final boolean absent = SubscriptionManager.isValidSubscriptionId( in doKeyguardLocked()
1311 final boolean disabled = SubscriptionManager.isValidSubscriptionId( in doKeyguardLocked()

12