Home
last modified time | relevance | path

Searched refs:INVALID_SUBSCRIPTION_ID (Results 1 – 25 of 66) sorted by relevance

123

/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringConfigurationTest.java25 import static android.telephony.SubscriptionManager.INVALID_SUBSCRIPTION_ID;
146 return new TetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in getTetheringConfiguration()
232 mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in testNoDefinedUpstreamTypesAddsEthernet()
255 mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in testDefinedUpstreamTypesSansEthernetAddsEthernet()
273 mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in testDefinedUpstreamTypesWithEthernetDoesNotAddEthernet()
296 new TetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in testBpfOffloadEnabledByResource()
305 new TetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in testBpfOffloadEnabledByDeviceConfigOverride()
314 new TetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in testBpfOffloadDisabledByResource()
323 new TetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in testBpfOffloadDisabledByDeviceConfigOverride()
337 new TetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in testNewDhcpServerDisabled()
[all …]
DEntitlementManagerTest.java36 import static android.telephony.SubscriptionManager.INVALID_SUBSCRIPTION_ID;
157 intent.getIntExtra(EXTRA_TETHER_SUBID, INVALID_SUBSCRIPTION_ID)); in assertUiTetherProvisioningIntent()
180 intent.getIntExtra(EXTRA_TETHER_SUBID, INVALID_SUBSCRIPTION_ID)); in assertSilentTetherProvisioning()
220 mConfig = new TetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in setUp()
245 mConfig = new TetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in setupForRequiredProvisioning()
259 mConfig = new TetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in toleratesCarrierConfigManagerMissing()
269 mConfig = new TetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in toleratesCarrierConfigMissing()
287 mConfig = new TetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in provisioningNotRequiredWhenAppNotFound()
291 mConfig = new TetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in provisioningNotRequiredWhenAppNotFound()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMultiSimSettingController.java19 import static android.telephony.SubscriptionManager.INVALID_SUBSCRIPTION_ID;
148 SubscriptionManager.INVALID_SUBSCRIPTION_ID);
190 Arrays.fill(mCarrierConfigLoadedSubIds, SubscriptionManager.INVALID_SUBSCRIPTION_ID); in MultiSimSettingController()
352 if (subId == SubscriptionManager.INVALID_SUBSCRIPTION_ID) { in onCarrierConfigChanged()
392 mCarrierConfigLoadedSubIds[phoneId] = INVALID_SUBSCRIPTION_ID; in onMultiSimConfigChanged()
452 mContext, Settings.Global.MOBILE_DATA, INVALID_SUBSCRIPTION_ID, enable); in onSubscriptionGroupChanged()
464 mContext, Settings.Global.DATA_ROAMING, INVALID_SUBSCRIPTION_ID, enable); in onSubscriptionGroupChanged()
498 mSubController.setDefaultDataSubId(SubscriptionManager.INVALID_SUBSCRIPTION_ID); in updateDefaults()
499 mSubController.setDefaultVoiceSubId(SubscriptionManager.INVALID_SUBSCRIPTION_ID); in updateDefaults()
500 mSubController.setDefaultSmsSubId(SubscriptionManager.INVALID_SUBSCRIPTION_ID); in updateDefaults()
[all …]
DPhoneSwitcher.java23 import static android.telephony.SubscriptionManager.INVALID_SUBSCRIPTION_ID;
166 private int mPendingSwitchSubId = INVALID_SUBSCRIPTION_ID;
197 protected int mPrimaryDataSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID;
217 protected int mPreferredDataSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID;
282 public int mExpectedSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID;
728 mDefaultNetworkCallback.mExpectedSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; in removeDefaultNetworkChangeCallback()
1003 if (subId == INVALID_SUBSCRIPTION_ID) return INVALID_PHONE_INDEX; in phoneIdForRequest()
1007 ? mPhoneSubscriptions[mPreferredDataPhoneId] : INVALID_SUBSCRIPTION_ID; in phoneIdForRequest()
1040 return INVALID_SUBSCRIPTION_ID; in getSubIdFromNetworkSpecifier()
1100 if (mPreferredDataSubId != INVALID_SUBSCRIPTION_ID) { in transitionToEmergencyPhone()
[all …]
DSubscriptionController.java153 protected static int mDefaultFallbackSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID;
269 SubscriptionManager.INVALID_SUBSCRIPTION_ID); in cacheSettingValues()
273 SubscriptionManager.INVALID_SUBSCRIPTION_ID); in cacheSettingValues()
277 SubscriptionManager.INVALID_SUBSCRIPTION_ID); in cacheSettingValues()
717 mContext, SubscriptionManager.INVALID_SUBSCRIPTION_ID, callingPackage, in getAllSubInfoList()
843 mContext, SubscriptionManager.INVALID_SUBSCRIPTION_ID, callingPackage, in getAllSubInfoCount()
887 mContext, SubscriptionManager.INVALID_SUBSCRIPTION_ID, callingPackage, in getAvailableSubscriptionInfoList()
1367 int subId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; in removeSubInfo()
1379 if (subId == SubscriptionManager.INVALID_SUBSCRIPTION_ID) { in removeSubInfo()
1424 int newDefault = SubscriptionManager.INVALID_SUBSCRIPTION_ID; in removeSubInfo()
[all …]
DCarrierPrivilegesTracker.java23 import static android.telephony.SubscriptionManager.INVALID_SUBSCRIPTION_ID;
165 EXTRA_SUBSCRIPTION_INDEX, INVALID_SUBSCRIPTION_ID);
305 if (subId != SubscriptionManager.INVALID_SUBSCRIPTION_ID) { in handleCarrierConfigUpdated()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DMultiSimSettingControllerTest.java155 doReturn(SubscriptionManager.INVALID_SUBSCRIPTION_ID).when(mSubControllerMock) in testTestSubInfoChangeBeforeAllSubReady()
157 doReturn(SubscriptionManager.INVALID_SUBSCRIPTION_ID).when(mSubControllerMock) in testTestSubInfoChangeBeforeAllSubReady()
159 doReturn(SubscriptionManager.INVALID_SUBSCRIPTION_ID).when(mSubControllerMock) in testTestSubInfoChangeBeforeAllSubReady()
165 doReturn(SubscriptionManager.INVALID_SUBSCRIPTION_ID).when(mPhoneMock2).getSubId(); in testTestSubInfoChangeBeforeAllSubReady()
193 doReturn(SubscriptionManager.INVALID_SUBSCRIPTION_ID).when(mSubControllerMock) in testSingleActiveDsds()
195 doReturn(SubscriptionManager.INVALID_SUBSCRIPTION_ID).when(mSubControllerMock) in testSingleActiveDsds()
197 doReturn(SubscriptionManager.INVALID_SUBSCRIPTION_ID).when(mSubControllerMock) in testSingleActiveDsds()
203 doReturn(SubscriptionManager.INVALID_SUBSCRIPTION_ID).when(mPhoneMock2).getSubId(); in testSingleActiveDsds()
243 doReturn(SubscriptionManager.INVALID_SUBSCRIPTION_ID).when(mPhoneMock2).getSubId(); in testActivatingSecondSub()
340 1, SubscriptionManager.INVALID_SUBSCRIPTION_ID); in testSimpleDsds()
[all …]
DSubscriptionControllerTest.java130 SubscriptionManager.INVALID_SUBSCRIPTION_ID); in tearDown()
133 SubscriptionManager.INVALID_SUBSCRIPTION_ID); in tearDown()
136 SubscriptionManager.INVALID_SUBSCRIPTION_ID); in tearDown()
249 assertEquals(SubscriptionManager.INVALID_SUBSCRIPTION_ID, in testDefaultSubIdOnSingleSimDevice()
251 assertEquals(SubscriptionManager.INVALID_SUBSCRIPTION_ID, in testDefaultSubIdOnSingleSimDevice()
253 assertEquals(SubscriptionManager.INVALID_SUBSCRIPTION_ID, in testDefaultSubIdOnSingleSimDevice()
608 assertEquals(SubscriptionManager.INVALID_SUBSCRIPTION_ID, in testDefaultSubIdOnMultiSimDevice()
610 assertEquals(SubscriptionManager.INVALID_SUBSCRIPTION_ID, in testDefaultSubIdOnMultiSimDevice()
612 assertEquals(SubscriptionManager.INVALID_SUBSCRIPTION_ID, in testDefaultSubIdOnMultiSimDevice()
DFakeSmsContentProvider.java62 SubscriptionManager.INVALID_SUBSCRIPTION_ID + ", " + in onCreate()
DCarrierPrivilegesTrackerTest.java25 import static android.telephony.SubscriptionManager.INVALID_SUBSCRIPTION_ID;
261 sendCarrierConfigChangedIntent(INVALID_SUBSCRIPTION_ID, PHONE_ID); in testUnregisterListener()
301 sendCarrierConfigChangedIntent(INVALID_SUBSCRIPTION_ID, PHONE_ID); in testCarrierConfigUpdatedInvalidSubId()
DTelephonyRegistryTest.java23 import static android.telephony.SubscriptionManager.INVALID_SUBSCRIPTION_ID;
444 mTelephonyRegistry.notifyDisplayInfoChanged(0, INVALID_SUBSCRIPTION_ID, displayInfo); in testNotifyDisplayInfoChanged()
/frameworks/base/tests/net/java/android/net/
DTelephonyNetworkSpecifierTest.java56 .setSubscriptionId(SubscriptionManager.INVALID_SUBSCRIPTION_ID) in testBuilderBuildWithInvalidSubId()
58 assertEquals(specifier.getSubscriptionId(), SubscriptionManager.INVALID_SUBSCRIPTION_ID); in testBuilderBuildWithInvalidSubId()
/frameworks/base/core/java/android/telephony/
DCellBroadcastIntents.java107 if (subId != SubscriptionManager.INVALID_SUBSCRIPTION_ID) { in putPhoneIdAndSubIdExtra()
129 return SubscriptionManager.INVALID_SUBSCRIPTION_ID; in getSubIdForPhone()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/
DVendorSubscriptionController.java283 if ((defaultSmsSubId != SubscriptionManager.INVALID_SUBSCRIPTION_ID in updateUserPreferences()
288 if ((defaultVoiceSubId != SubscriptionManager.INVALID_SUBSCRIPTION_ID in updateUserPreferences()
401 SubscriptionManager.INVALID_SUBSCRIPTION_ID) { in isNonSimAccountFound()
427 SETTING_USER_PREF_DATA_SUB, SubscriptionManager.INVALID_SUBSCRIPTION_ID); in getUserPrefDataSubIdFromDB()
DVendorPhoneSwitcher.java21 import static android.telephony.SubscriptionManager.INVALID_SUBSCRIPTION_ID;
387 if (subId == INVALID_SUBSCRIPTION_ID) return INVALID_PHONE_INDEX; in phoneIdForRequest()
390 ? mPhoneSubscriptions[mPreferredDataPhoneId] : INVALID_SUBSCRIPTION_ID; in phoneIdForRequest()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DCellularLinkLayerStatsCollector.java59 private int mCachedDefaultDataSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID;
118 if (defaultDataSubId == SubscriptionManager.INVALID_SUBSCRIPTION_ID) { in retrieveDefaultDataTelephonyManager()
/frameworks/base/telephony/java/android/telephony/
DMbmsStreamingSession.java19 import static android.telephony.SubscriptionManager.INVALID_SUBSCRIPTION_ID;
89 private int mSubscriptionId = INVALID_SUBSCRIPTION_ID;
DSubscriptionManager.java96 public static final int INVALID_SUBSCRIPTION_ID = -1; field in SubscriptionManager
100 public static final int PLACEHOLDER_SUBSCRIPTION_ID_BASE = INVALID_SUBSCRIPTION_ID - 1;
1852 int subId = INVALID_SUBSCRIPTION_ID; in getDefaultSubscriptionId()
1875 int subId = INVALID_SUBSCRIPTION_ID; in getDefaultVoiceSubscriptionId()
1953 int subId = INVALID_SUBSCRIPTION_ID; in getDefaultSmsSubscriptionId()
2017 int subId = INVALID_SUBSCRIPTION_ID; in getDefaultDataSubscriptionId()
2115 return subscriptionId > INVALID_SUBSCRIPTION_ID; in isValidSubscriptionId()
3293 int subId = INVALID_SUBSCRIPTION_ID; in getEnabledSubscriptionId()
3351 return SubscriptionManager.INVALID_SUBSCRIPTION_ID; in getActiveDataSubscriptionId()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardEsimArea.java123 .switchToSubscription(SubscriptionManager.INVALID_SUBSCRIPTION_ID, callbackIntent); in onClick()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmInboundSmsHandlerTest.java286 SubscriptionManager.INVALID_SUBSCRIPTION_ID)); in verifySmsIntentBroadcasts()
288 SubscriptionManager.INVALID_SUBSCRIPTION_ID)); in verifySmsIntentBroadcasts()
304 SubscriptionManager.INVALID_SUBSCRIPTION_ID)); in verifySmsIntentBroadcasts()
306 SubscriptionManager.INVALID_SUBSCRIPTION_ID)); in verifySmsIntentBroadcasts()
/frameworks/base/core/java/android/net/util/
DMultinetworkPolicyTracker.java75 private int mActiveSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DTelephonyNetworkFactory.java19 import static android.telephony.SubscriptionManager.INVALID_SUBSCRIPTION_ID;
112 mSubscriptionId = INVALID_SUBSCRIPTION_ID; in TelephonyNetworkFactory()
/frameworks/opt/net/ims/src/java/com/android/ims/
DRcsFeatureManager.java483 if (subId == SubscriptionManager.INVALID_SUBSCRIPTION_ID) { in isCapabilityTypeSupported()
532 return SubscriptionManager.INVALID_SUBSCRIPTION_ID;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
DNotificationChannelController.java186 if (SubscriptionManager.INVALID_SUBSCRIPTION_ID !=
/frameworks/base/services/core/java/com/android/server/connectivity/
DMultipathPolicyTracker.java30 import static android.telephony.SubscriptionManager.INVALID_SUBSCRIPTION_ID;
201 int subId = INVALID_SUBSCRIPTION_ID; in MultipathTracker()

123