Home
last modified time | relevance | path

Searched refs:mDataSettingsManager (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DDataNetworkController.java273 private final DataSettingsManager mDataSettingsManager; field in DataNetworkController
922 mDataSettingsManager = TelephonyComponentFactory.getInstance().inject( in DataNetworkController()
1662 if (mServiceState.getDataRoaming() && !mDataSettingsManager.isDataRoamingEnabled()) { in evaluateNetworkRequest()
1712 if (mDataSettingsManager.isDataInitialized()) { in evaluateNetworkRequest()
1713 if (!mDataSettingsManager.isDataEnabled(DataUtils.networkCapabilityToApnType( in evaluateNetworkRequest()
1725 if (!mDataSettingsManager.isDataEnabled() in evaluateNetworkRequest()
1727 && mDataSettingsManager.isMobileDataPolicyEnabled(TelephonyManager in evaluateNetworkRequest()
2044 boolean dataDisabled = !mDataSettingsManager.isDataEnabled(); in evaluateDataNetwork()
2047 if (mServiceState.getDataRoaming() && !mDataSettingsManager.isDataRoamingEnabled()) { in evaluateDataNetwork()
2059 dataDisabled = !mDataSettingsManager.isDataEnabled( in evaluateDataNetwork()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DDataStallRecoveryManagerTest.java156 verify(mDataSettingsManager).registerCallback(dataSettingsManagerCallbackCaptor.capture()); in sendDataEabledCallback()
159 doReturn(isEnabled).when(mDataSettingsManager).isDataEnabled(); in sendDataEabledCallback()
DDataNetworkTest.java1401 doReturn(false).when(mDataSettingsManager).isDataEnabled(); in testRestrictedNetworkDataEnabled()
1419 verify(mDataSettingsManager).registerCallback(dataSettingsManagerCallbackCaptor.capture()); in testRestrictedNetworkDataEnabled()
1422 doReturn(true).when(mDataSettingsManager).isDataEnabled(); in testRestrictedNetworkDataEnabled()
1444 doReturn(false).when(mDataSettingsManager).isDataRoamingEnabled(); in testRestrictedNetworkDataRoamingEnabled()
1462 verify(mDataSettingsManager).registerCallback(dataSettingsManagerCallbackCaptor.capture()); in testRestrictedNetworkDataRoamingEnabled()
1465 doReturn(true).when(mDataSettingsManager).isDataRoamingEnabled(); in testRestrictedNetworkDataRoamingEnabled()
DPhoneSwitcherTest.java651 doReturn(true).when(mDataSettingsManager).isDataEnabled(); in testSetPreferredDataCasePriority_CbrsWaitsForVoiceCall()
1562 doReturn(true).when(mDataSettingsManager).isDataEnabled(); in testSetPreferredDataCallback_voiceCall()
1960 doReturn(dataEnabled).when(mDataSettingsManager).isDataEnabled(); in notifyDataEnabled()
DDataNetworkControllerTest.java2042 doReturn(mDataSettingsManager).when(phone2).getDataSettingsManager(); in testNotifyWhenSetDataEnabled()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTest.java214 protected DataSettingsManager mDataSettingsManager; field in TelephonyTest
501 mDataSettingsManager = Mockito.mock(DataSettingsManager.class); in setUp()
728 doReturn(mDataSettingsManager).when(mDataNetworkController).getDataSettingsManager(); in setUp()
730 doReturn(mDataSettingsManager).when(mPhone).getDataSettingsManager(); in setUp()
848 doReturn(true).when(mDataSettingsManager).isDataEnabled(); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DServiceStateStatsTest.java1416 doReturn(mDataSettingsManager).when(mSecondPhone).getDataSettingsManager(); in mockDualSim()