Searched refs:mDataSettingsManager (Results 1 – 7 of 7) sorted by relevance
273 private final DataSettingsManager mDataSettingsManager; field in DataNetworkController922 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 …]
156 verify(mDataSettingsManager).registerCallback(dataSettingsManagerCallbackCaptor.capture()); in sendDataEabledCallback()159 doReturn(isEnabled).when(mDataSettingsManager).isDataEnabled(); in sendDataEabledCallback()
1401 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()
651 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()
2042 doReturn(mDataSettingsManager).when(phone2).getDataSettingsManager(); in testNotifyWhenSetDataEnabled()
214 protected DataSettingsManager mDataSettingsManager; field in TelephonyTest501 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()
1416 doReturn(mDataSettingsManager).when(mSecondPhone).getDataSettingsManager(); in mockDualSim()