/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
D | SubscriptionControllerMock.java | 21 import static android.telephony.SubscriptionManager.INVALID_SUBSCRIPTION_ID; 43 final AtomicInteger mDefaultDataSubId = new AtomicInteger(INVALID_SUBSCRIPTION_ID); 44 final AtomicInteger mDefaultVoiceSubId = new AtomicInteger(INVALID_SUBSCRIPTION_ID); 64 mSlotIndexToSubId[i][0] = INVALID_SUBSCRIPTION_ID; in SubscriptionControllerMock() 99 return INVALID_SUBSCRIPTION_ID; in getSubIdUsingPhoneId() 210 if (subId <= INVALID_SUBSCRIPTION_ID) return INVALID_PHONE_INDEX; in getPhoneId() 246 return INVALID_SUBSCRIPTION_ID; in getDefaultVoiceSubId()
|
D | TelephonyRegistryMock.java | 57 int subId = SubscriptionManager.INVALID_SUBSCRIPTION_ID;
|
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/ |
D | TetheringConfigurationTest.java | 25 import static android.telephony.SubscriptionManager.INVALID_SUBSCRIPTION_ID; 128 return new TetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in getTetheringConfiguration() 214 mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in testNoDefinedUpstreamTypesAddsEthernet() 237 mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in testDefinedUpstreamTypesSansEthernetAddsEthernet() 255 mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in testDefinedUpstreamTypesWithEthernetDoesNotAddEthernet() 271 mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in testNewDhcpServerDisabled() 280 mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in testNewDhcpServerEnabled() 288 mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in testGetResourcesBySubId()
|
D | EntitlementManagerTest.java | 25 import static android.telephony.SubscriptionManager.INVALID_SUBSCRIPTION_ID; 167 mConfig = new TetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in setUp() 196 mConfig = new TetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in setupForRequiredProvisioning() 210 mConfig = new TetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in toleratesCarrierConfigManagerMissing() 220 mConfig = new TetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in toleratesCarrierConfigMissing() 238 mConfig = new TetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in provisioningNotRequiredWhenAppNotFound() 242 mConfig = new TetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in provisioningNotRequiredWhenAppNotFound()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | MultiSimSettingControllerTest.java | 165 doReturn(SubscriptionManager.INVALID_SUBSCRIPTION_ID).when(mSubControllerMock) in testTestSubInfoChangeBeforeAllSubReady() 167 doReturn(SubscriptionManager.INVALID_SUBSCRIPTION_ID).when(mSubControllerMock) in testTestSubInfoChangeBeforeAllSubReady() 169 doReturn(SubscriptionManager.INVALID_SUBSCRIPTION_ID).when(mSubControllerMock) in testTestSubInfoChangeBeforeAllSubReady() 175 doReturn(SubscriptionManager.INVALID_SUBSCRIPTION_ID).when(mPhoneMock2).getSubId(); in testTestSubInfoChangeBeforeAllSubReady() 200 doReturn(SubscriptionManager.INVALID_SUBSCRIPTION_ID).when(mSubControllerMock) in testSingleActiveDsds() 202 doReturn(SubscriptionManager.INVALID_SUBSCRIPTION_ID).when(mSubControllerMock) in testSingleActiveDsds() 204 doReturn(SubscriptionManager.INVALID_SUBSCRIPTION_ID).when(mSubControllerMock) in testSingleActiveDsds() 210 doReturn(SubscriptionManager.INVALID_SUBSCRIPTION_ID).when(mPhoneMock2).getSubId(); in testSingleActiveDsds() 244 doReturn(SubscriptionManager.INVALID_SUBSCRIPTION_ID).when(mPhoneMock2).getSubId(); in testActivatingSecondSub() 328 verify(mSubControllerMock).setDefaultDataSubId(SubscriptionManager.INVALID_SUBSCRIPTION_ID); in testSimpleDsds() [all …]
|
D | SubscriptionControllerTest.java | 119 SubscriptionManager.INVALID_SUBSCRIPTION_ID); in tearDown() 122 SubscriptionManager.INVALID_SUBSCRIPTION_ID); in tearDown() 125 SubscriptionManager.INVALID_SUBSCRIPTION_ID); in tearDown() 236 assertEquals(SubscriptionManager.INVALID_SUBSCRIPTION_ID, in testDefaultSubIdOnSingleSimDevice() 238 assertEquals(SubscriptionManager.INVALID_SUBSCRIPTION_ID, in testDefaultSubIdOnSingleSimDevice() 240 assertEquals(SubscriptionManager.INVALID_SUBSCRIPTION_ID, in testDefaultSubIdOnSingleSimDevice() 587 assertEquals(SubscriptionManager.INVALID_SUBSCRIPTION_ID, in testDefaultSubIdOnMultiSimDevice() 589 assertEquals(SubscriptionManager.INVALID_SUBSCRIPTION_ID, in testDefaultSubIdOnMultiSimDevice() 591 assertEquals(SubscriptionManager.INVALID_SUBSCRIPTION_ID, in testDefaultSubIdOnMultiSimDevice()
|
D | FakeSmsContentProvider.java | 62 SubscriptionManager.INVALID_SUBSCRIPTION_ID + ", " + in onCreate()
|
D | PhoneSwitcherTest.java | 103 private int mDefaultDataSub = SubscriptionManager.INVALID_SUBSCRIPTION_ID; 992 mSlotIndexToSubId[i][0] = SubscriptionManager.INVALID_SUBSCRIPTION_ID; in setNumPhones() 1067 return SubscriptionManager.INVALID_SUBSCRIPTION_ID; in initializeSubControllerMock()
|
D | SubscriptionMonitorTest.java | 19 import static android.telephony.SubscriptionManager.INVALID_SUBSCRIPTION_ID; 546 subController.setDefaultDataSubId(INVALID_SUBSCRIPTION_ID); in testNoDefaultNotifications()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SubscriptionMonitor.java | 20 import static android.telephony.SubscriptionManager.INVALID_SUBSCRIPTION_ID; 124 if (mDefaultDataSubId == INVALID_SUBSCRIPTION_ID) continue; 156 mSubscriptionController.getPhoneId(INVALID_SUBSCRIPTION_ID); 157 if (newDefaultDataSubId != INVALID_SUBSCRIPTION_ID) {
|
D | MultiSimSettingController.java | 19 import static android.telephony.SubscriptionManager.INVALID_SUBSCRIPTION_ID; 319 mContext, Settings.Global.MOBILE_DATA, INVALID_SUBSCRIPTION_ID, enable); in onSubscriptionGroupChanged() 331 mContext, Settings.Global.DATA_ROAMING, INVALID_SUBSCRIPTION_ID, enable); in onSubscriptionGroupChanged() 365 mSubController.setDefaultDataSubId(SubscriptionManager.INVALID_SUBSCRIPTION_ID); in updateDefaults() 366 mSubController.setDefaultVoiceSubId(SubscriptionManager.INVALID_SUBSCRIPTION_ID); in updateDefaults() 367 mSubController.setDefaultSmsSubId(SubscriptionManager.INVALID_SUBSCRIPTION_ID); in updateDefaults() 634 int newValue = INVALID_SUBSCRIPTION_ID; in updateDefaultValue()
|
D | PhoneSwitcher.java | 22 import static android.telephony.SubscriptionManager.INVALID_SUBSCRIPTION_ID; 178 private int mPrimaryDataSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; 198 private int mPreferredDataSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; 953 if (subId == INVALID_SUBSCRIPTION_ID) return INVALID_PHONE_INDEX; in phoneIdForRequest() 956 ? mPhoneSubscriptions[mPreferredDataPhoneId] : INVALID_SUBSCRIPTION_ID; in phoneIdForRequest() 996 return INVALID_SUBSCRIPTION_ID; in getSubIdFromNetworkRequest() 999 return INVALID_SUBSCRIPTION_ID; in getSubIdFromNetworkRequest() 1057 if (mPreferredDataSubId != INVALID_SUBSCRIPTION_ID) { in transitionToEmergencyPhone() 1058 mPreferredDataSubId = INVALID_SUBSCRIPTION_ID; in transitionToEmergencyPhone() 1075 mSubscriptionController.getSubIdUsingPhoneId(phoneId) == INVALID_SUBSCRIPTION_ID in shouldApplyNetworkRequest()
|
D | CellularNetworkValidator.java | 153 mSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; in stopValidation() 198 mSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; in reportValidationResult()
|
D | SubscriptionController.java | 144 private static int mDefaultFallbackSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; 547 ? si.getSubscriptionId() : SubscriptionManager.INVALID_SUBSCRIPTION_ID; in getActiveSubscriptionInfoForIccId() 656 mContext, SubscriptionManager.INVALID_SUBSCRIPTION_ID, callingPackage, in getAllSubInfoList() 770 mContext, SubscriptionManager.INVALID_SUBSCRIPTION_ID, callingPackage, in getAllSubInfoCount() 813 mContext, SubscriptionManager.INVALID_SUBSCRIPTION_ID, callingPackage, in getAvailableSubscriptionInfoList() 1268 int subId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; in removeSubInfo() 1278 if (subId == SubscriptionManager.INVALID_SUBSCRIPTION_ID) { in removeSubInfo() 1323 int newDefault = SubscriptionManager.INVALID_SUBSCRIPTION_ID; in removeSubInfo() 2137 SubscriptionManager.INVALID_SUBSCRIPTION_ID); in getDefaultSmsSubId() 2159 subId == SubscriptionManager.INVALID_SUBSCRIPTION_ID in setDefaultVoiceSubId() [all …]
|
D | AppSmsManager.java | 303 SubscriptionManager.INVALID_SUBSCRIPTION_ID, false); in AppRequestInfo()
|
/frameworks/base/telephony/java/android/telephony/ |
D | MbmsStreamingSession.java | 19 import static android.telephony.SubscriptionManager.INVALID_SUBSCRIPTION_ID; 88 private int mSubscriptionId = INVALID_SUBSCRIPTION_ID;
|
D | SubscriptionManager.java | 94 public static final int INVALID_SUBSCRIPTION_ID = -1; field in SubscriptionManager 99 public static final int DUMMY_SUBSCRIPTION_ID_BASE = INVALID_SUBSCRIPTION_ID - 1; 1817 int subId = INVALID_SUBSCRIPTION_ID; in getDefaultSubscriptionId() 1840 int subId = INVALID_SUBSCRIPTION_ID; in getDefaultVoiceSubscriptionId() 1895 int subId = INVALID_SUBSCRIPTION_ID; in getDefaultSmsSubscriptionId() 1959 int subId = INVALID_SUBSCRIPTION_ID; in getDefaultDataSubscriptionId() 2057 return subscriptionId > INVALID_SUBSCRIPTION_ID; in isValidSubscriptionId() 3110 int subId = INVALID_SUBSCRIPTION_ID; in getEnabledSubscriptionId()
|
D | MbmsDownloadSession.java | 19 import static android.telephony.SubscriptionManager.INVALID_SUBSCRIPTION_ID; 237 private int mSubscriptionId = INVALID_SUBSCRIPTION_ID;
|
/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/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardEsimArea.java | 121 .switchToSubscription(SubscriptionManager.INVALID_SUBSCRIPTION_ID, callbackIntent); in onClick()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/ |
D | NotificationChannelController.java | 178 if (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; 111 mSubscriptionId = INVALID_SUBSCRIPTION_ID; in TelephonyNetworkFactory()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/net/ |
D | DataUsageControllerTest.java | 188 SubscriptionManager.INVALID_SUBSCRIPTION_ID); in getTelephonyManager_noExplicitSubIdOrDefaultSub_shouldCreateWithActiveSub()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
D | DataUsageController.java | 79 mSubscriptionId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; in DataUsageController()
|
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/ |
D | TetheringConfiguration.java | 334 if (subId != SubscriptionManager.INVALID_SUBSCRIPTION_ID) { in getResources()
|