/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TetheringConfigurationTest.java | 25 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 …]
|
D | EntitlementManagerTest.java | 36 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/ |
D | MultiSimSettingController.java | 19 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 …]
|
D | PhoneSwitcher.java | 23 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 …]
|
D | SubscriptionController.java | 153 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 …]
|
D | CarrierPrivilegesTracker.java | 23 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/ |
D | MultiSimSettingControllerTest.java | 155 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 …]
|
D | SubscriptionControllerTest.java | 130 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()
|
D | FakeSmsContentProvider.java | 62 SubscriptionManager.INVALID_SUBSCRIPTION_ID + ", " + in onCreate()
|
D | CarrierPrivilegesTrackerTest.java | 25 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()
|
D | TelephonyRegistryTest.java | 23 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/ |
D | TelephonyNetworkSpecifierTest.java | 56 .setSubscriptionId(SubscriptionManager.INVALID_SUBSCRIPTION_ID) in testBuilderBuildWithInvalidSubId() 58 assertEquals(specifier.getSubscriptionId(), SubscriptionManager.INVALID_SUBSCRIPTION_ID); in testBuilderBuildWithInvalidSubId()
|
/frameworks/base/core/java/android/telephony/ |
D | CellBroadcastIntents.java | 107 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/ |
D | VendorSubscriptionController.java | 283 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()
|
D | VendorPhoneSwitcher.java | 21 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/ |
D | CellularLinkLayerStatsCollector.java | 59 private int mCachedDefaultDataSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; 118 if (defaultDataSubId == SubscriptionManager.INVALID_SUBSCRIPTION_ID) { in retrieveDefaultDataTelephonyManager()
|
/frameworks/base/telephony/java/android/telephony/ |
D | MbmsStreamingSession.java | 19 import static android.telephony.SubscriptionManager.INVALID_SUBSCRIPTION_ID; 89 private int mSubscriptionId = INVALID_SUBSCRIPTION_ID;
|
D | SubscriptionManager.java | 96 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/ |
D | KeyguardEsimArea.java | 123 .switchToSubscription(SubscriptionManager.INVALID_SUBSCRIPTION_ID, callbackIntent); in onClick()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
D | GsmInboundSmsHandlerTest.java | 286 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/ |
D | MultinetworkPolicyTracker.java | 75 private int mActiveSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | TelephonyNetworkFactory.java | 19 import static android.telephony.SubscriptionManager.INVALID_SUBSCRIPTION_ID; 112 mSubscriptionId = INVALID_SUBSCRIPTION_ID; in TelephonyNetworkFactory()
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
D | RcsFeatureManager.java | 483 if (subId == SubscriptionManager.INVALID_SUBSCRIPTION_ID) { in isCapabilityTypeSupported() 532 return SubscriptionManager.INVALID_SUBSCRIPTION_ID;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/ |
D | NotificationChannelController.java | 186 if (SubscriptionManager.INVALID_SUBSCRIPTION_ID !=
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | MultipathPolicyTracker.java | 30 import static android.telephony.SubscriptionManager.INVALID_SUBSCRIPTION_ID; 201 int subId = INVALID_SUBSCRIPTION_ID; in MultipathTracker()
|