Home
last modified time | relevance | path

Searched refs:mDataConfigManager (Results 1 – 16 of 16) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DTelephonyNetworkRequest.java168 private final DataConfigManager mDataConfigManager; field in TelephonyNetworkRequest
225 mDataConfigManager = phone.getDataNetworkController().getDataConfigManager(); in TelephonyNetworkRequest()
318 if (Arrays.stream(getCapabilities()).noneMatch(mDataConfigManager in canBeSatisfiedBy()
375 .map(mDataConfigManager::getNetworkCapabilityPriority) in updatePriority()
392 .max(Comparator.comparingInt(mDataConfigManager::getNetworkCapabilityPriority)) in getApnTypeNetworkCapability()
467 return mDataConfigManager.isAnyMeteredCapability( in isMeteredRequest()
DDataNetworkController.java271 private final DataConfigManager mDataConfigManager; field in DataNetworkController
905 mDataConfigManager = new DataConfigManager(mPhone, looper, featureFlags); in DataNetworkController()
909 mDataConfigManager.getAnomalyImsReleaseRequestThreshold().timeWindow, in DataNetworkController()
910 mDataConfigManager.getAnomalyImsReleaseRequestThreshold().eventNumOccurrence); in DataNetworkController()
912 mDataConfigManager.getAnomalyNetworkUnwantedThreshold().timeWindow, in DataNetworkController()
913 mDataConfigManager.getAnomalyNetworkUnwantedThreshold().eventNumOccurrence); in DataNetworkController()
915 mDataConfigManager.getAnomalySetupDataCallThreshold().timeWindow, in DataNetworkController()
916 mDataConfigManager.getAnomalySetupDataCallThreshold().eventNumOccurrence); in DataNetworkController()
918 mDataConfigManager.getAnomalySetupDataCallThreshold().timeWindow, in DataNetworkController()
919 mDataConfigManager.getAnomalySetupDataCallThreshold().eventNumOccurrence); in DataNetworkController()
[all …]
DAccessNetworksManager.java113 private DataConfigManager mDataConfigManager; field in AccessNetworksManager
250 if (mDataConfigManager != null in handleQualifiedNetworksChanged()
251 && mDataConfigManager.isInvalidQnsParamAnomalyReportEnabled()) { in handleQualifiedNetworksChanged()
263 if (mDataConfigManager != null) { in handleQualifiedNetworksChanged()
302 && mDataConfigManager != null in handleQualifiedNetworksChanged()
303 && mDataConfigManager.isInvalidQnsParamAnomalyReportEnabled()) { in handleQualifiedNetworksChanged()
447 mDataConfigManager = mPhone.getDataNetworkController().getDataConfigManager(); in AccessNetworksManager()
448 mDataConfigManager.registerCallback( in AccessNetworksManager()
DDataNetwork.java602 private final DataConfigManager mDataConfigManager; field in DataNetwork
1035 mDataConfigManager = mDataNetworkController.getDataConfigManager(); in DataNetwork()
1057 mTcpBufferSizes = mDataConfigManager.getTcpConfigString(mTelephonyDisplayInfo); in DataNetwork()
1196 mDataConfigManager.registerCallback(mDataConfigManagerCallback);
1266 if (mFlags.forceIwlanMms() && mDataConfigManager.isForceIwlanMmsFeatureEnabled()) {
1293 && mDataConfigManager.isForceIwlanMmsFeatureEnabled()) {
1322 mDataConfigManager.unregisterCallback(mDataConfigManagerCallback);
1448 mDataConfigManager.getAnomalyNetworkConnectingTimeoutMs());
1514 mDataConfigManager.getAnomalyNetworkConnectingTimeoutMs())
1784 mDataConfigManager.getNetworkHandoverTimeoutMs())
[all …]
DDataProfileManager.java90 private final DataConfigManager mDataConfigManager; field in DataProfileManager
172 mDataConfigManager = dataNetworkController.getDataConfigManager(); in DataProfileManager()
195 mDataConfigManager.registerCallback(new DataConfigManagerCallback(this::post) { in registerAllEvents()
217 updateDataProfiles(!mDataConfigManager.allowClearInitialAttachDataProfile() in handleMessage()
235 updateDataProfiles(!mDataConfigManager.allowClearInitialAttachDataProfile() in onCarrierConfigUpdated()
279 if (mDataConfigManager.isConfigCarrierSpecific()) { in updateDataProfiles()
300 if (mDataConfigManager.isApnConfigAnomalyReportEnabled() in updateDataProfiles()
310 && mDataConfigManager.isApnConfigAnomalyReportEnabled()) { in updateDataProfiles()
364 if (mDataConfigManager.isApnConfigAnomalyReportEnabled()) { in updateDataProfiles()
517 String defaultPreferredApn = mDataConfigManager.getDefaultPreferredApn(); in getPreferredDataProfileFromConfig()
[all …]
DDataStallRecoveryManager.java158 private final DataConfigManager mDataConfigManager; field in DataStallRecoveryManager
285 mDataConfigManager = mDataNetworkController.getDataConfigManager(); in DataStallRecoveryManager()
309 mDataConfigManager.registerCallback(new DataConfigManagerCallback(this::post) { in registerAllEvents()
497 mDataStallRecoveryDelayMillisArray = mDataConfigManager.getDataStallRecoveryDelayMillis(); in updateDataStallRecoveryConfigs()
498 mSkipRecoveryActionArray = mDataConfigManager.getDataStallRecoveryShouldSkipArray(); in updateDataStallRecoveryConfigs()
DDataSettingsManager.java106 private final DataConfigManager mDataConfigManager; field in DataSettingsManager
199 mDataConfigManager = dataNetworkController.getDataConfigManager(); in DataSettingsManager()
286 mDataConfigManager.registerCallback(new DataConfigManagerCallback(this::post) { in onInitialize()
289 if (mDataConfigManager.isConfigCarrierSpecific()) { in onInitialize()
DDataRetryManager.java189 private final DataConfigManager mDataConfigManager; field in DataRetryManager
1033 mDataConfigManager = dataNetworkController.getDataConfigManager();
1037 mDataConfigManager.registerCallback(new DataConfigManagerCallback(this::post) {
1097 if (mDataConfigManager.shouldResetDataThrottlingWhenTacChanges()) {
1168 mDataSetupRetryRuleList = mDataConfigManager.getDataSetupRetryRules();
1169 mDataHandoverRetryRuleList = mDataConfigManager.getDataHandoverRetryRules();
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DAutoDataSwitchControllerTest.java138 doReturn(mDataConfigManager).when(mDataNetworkController).getDataConfigManager(); in setUp()
162 doReturn(true).when(mDataConfigManager).isPingTestBeforeAutoDataSwitchRequired(); in setUp()
163 doReturn(true).when(mDataConfigManager).doesAutoDataSwitchAllowRoaming(); in setUp()
164 doReturn(10000L).when(mDataConfigManager) in setUp()
166 doReturn(120000L).when(mDataConfigManager) in setUp()
168 doReturn(MAX_RETRY).when(mDataConfigManager).getAutoDataSwitchValidationMaxRetry(); in setUp()
169 doReturn(SCORE_TOLERANCE).when(mDataConfigManager).getAutoDataSwitchScoreTolerance(); in setUp()
178 }).when(mDataConfigManager).getAutoDataSwitchScore(any(TelephonyDisplayInfo.class), in setUp()
318 doReturn(-1).when(mDataConfigManager).getAutoDataSwitchScoreTolerance(); in testRoaming_roaming_but_roam_disabled()
440 doReturn(-1).when(mDataConfigManager).getAutoDataSwitchScoreTolerance(); in testOnNonDdsSwitchBackToPrimary()
[all …]
DDataSettingsManagerTest.java74 doReturn(true).when(mDataConfigManager).isConfigCarrierSpecific(); in setUp()
124 doReturn(true).when(mDataConfigManager).isDataRoamingEnabledByDefault(); in testDefaultDataRoamingEnabled()
138 doReturn(true).when(mDataConfigManager).isDataRoamingEnabledByDefault(); in testDefaultDataRoamingEnabledFromUpgrade()
DDataRetryManagerTest.java166 verify(mDataConfigManager).registerCallback(dataConfigManagerCallbackCaptor.capture()); in setUp()
551 doReturn(Collections.singletonList(retryRule)).when(mDataConfigManager) in testDataSetupRetryPermanentFailure()
584 doReturn(Collections.singletonList(retryRule)).when(mDataConfigManager) in testDataSetupRetryMaximumRetries()
664 doReturn(List.of(retryRule1, retryRule2)).when(mDataConfigManager).getDataSetupRetryRules(); in testDataSetupRetryMaximumRetriesReset()
724 doReturn(List.of(retryRule1, retryRule2, retryRule3)).when(mDataConfigManager) in testDataSetupRetryBackOffTimer()
814 doReturn(Collections.singletonList(retryRule)).when(mDataConfigManager) in testDataRetryLongTimer()
855 doReturn(Collections.singletonList(retryRule)).when(mDataConfigManager) in testIsSimilarNetworkRequestRetryScheduled()
938 doReturn(true).when(mDataConfigManager).shouldResetDataThrottlingWhenTacChanges(); in testTacChangedReset()
DDataProfileManagerTest.java853 doReturn(true).when(mDataConfigManager).isConfigCarrierSpecific(); in setUp()
855 .when(mDataConfigManager).getAllowedInitialAttachApnTypes(); in setUp()
870 verify(mDataConfigManager).registerCallback(dataConfigManagerCallbackCaptor.capture()); in setUp()
1226 doReturn(false).when(mDataConfigManager).allowClearInitialAttachDataProfile(); in testSetInitialAttachDataProfileMultipleRequests()
1266 doReturn(true).when(mDataConfigManager).allowClearInitialAttachDataProfile(); in testSimRemoval()
1314 doReturn(false).when(mDataConfigManager).allowClearInitialAttachDataProfile(); in testSimRemovalLegacy()
1366 .when(mDataConfigManager).getAllowedInitialAttachApnTypes(); in testSimInsertedAgain()
1612 doReturn(GENERAL_PURPOSE_APN1).when(mDataConfigManager).getDefaultPreferredApn(); in testResetApnWithPreferredConfig()
1631 Mockito.clearInvocations(mDataConfigManager); in testResetApnWithPreferredConfig()
1651 doReturn(true).when(mDataConfigManager).isTetheringProfileDisabledForRoaming(); in testTetheringApnDisabledForRoaming()
DDataNetworkTest.java420 .when(mDataConfigManager).getBandwidthEstimateSource(); in setUp()
421 doReturn(true).when(mDataConfigManager).isTempNotMeteredSupportedByCarrier(); in setUp()
422 doReturn(true).when(mDataConfigManager).isNetworkTypeUnmetered( in setUp()
424 doReturn(DEFAULT_MTU).when(mDataConfigManager).getDefaultMtu(); in setUp()
430 .when(mDataConfigManager).getForcedCellularTransportCapabilities(); in setUp()
432 .when(mDataConfigManager).getSatelliteDataSupportMode(); in setUp()
496 verify(mDataConfigManager).getTcpConfigString(any(TelephonyDisplayInfo.class)); in testCreateDataNetwork()
1324 verify(mDataConfigManager).registerCallback(any(DataConfigManagerCallback.class)); in testRegisterUnregisterEvents()
1350 verify(mDataConfigManager).unregisterCallback(any(DataConfigManagerCallback.class)); in testRegisterUnregisterEvents()
2422 doReturn(true).when(mDataConfigManager).isForceIwlanMmsFeatureEnabled(); in testMmsCapabilityRemovedWhenMmsPreferredOnIwlan()
[all …]
DDataStallRecoveryManagerTest.java109 .when(mDataConfigManager) in setUp()
112 .when(mDataConfigManager) in setUp()
DPhoneSwitcherTest.java2220 doReturn(mDataConfigManager).when(mDataNetworkController).getDataConfigManager(); in initializeConfigMock()
2221 doReturn(1000L).when(mDataConfigManager) in initializeConfigMock()
2223 doReturn(7).when(mDataConfigManager).getAutoDataSwitchValidationMaxRetry(); in initializeConfigMock()
2224 doReturn(true).when(mDataConfigManager).isPingTestBeforeAutoDataSwitchRequired(); in initializeConfigMock()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTest.java215 protected DataConfigManager mDataConfigManager; field in TelephonyTest
502 mDataConfigManager = Mockito.mock(DataConfigManager.class); in setUp()
742 doReturn(mDataConfigManager).when(mDataNetworkController).getDataConfigManager(); in setUp()
885 doReturn(90).when(mDataConfigManager).getNetworkCapabilityPriority( in setUp()
887 doReturn(80).when(mDataConfigManager).getNetworkCapabilityPriority( in setUp()
889 doReturn(70).when(mDataConfigManager).getNetworkCapabilityPriority( in setUp()
891 doReturn(70).when(mDataConfigManager).getNetworkCapabilityPriority( in setUp()
893 doReturn(50).when(mDataConfigManager).getNetworkCapabilityPriority( in setUp()
895 doReturn(50).when(mDataConfigManager).getNetworkCapabilityPriority( in setUp()
897 doReturn(50).when(mDataConfigManager).getNetworkCapabilityPriority( in setUp()
[all …]