Home
last modified time | relevance | path

Searched refs:mDataEnabledSettings (Results 1 – 8 of 8) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcTrackerTest.java783 doReturn(false).when(mDataEnabledSettings).isDataEnabled(); in testUserDisableData()
784 doReturn(false).when(mDataEnabledSettings).isDataEnabled(anyInt()); in testUserDisableData()
837 doReturn(false).when(mDataEnabledSettings).isDataEnabled(); in testTrySetupDataMmsAllowedDataDisabled()
838 doReturn(false).when(mDataEnabledSettings).isDataEnabled(anyInt()); in testTrySetupDataMmsAllowedDataDisabled()
852 doReturn(true).when(mDataEnabledSettings).isDataEnabled(ApnSetting.TYPE_MMS); in testTrySetupDataMmsAllowedDataDisabled()
1079 doReturn(false).when(mDataEnabledSettings).isDataEnabled(); in testTrySetupDataUnmeteredDataDisabled()
1080 doReturn(false).when(mDataEnabledSettings).isDataEnabled(anyInt()); in testTrySetupDataUnmeteredDataDisabled()
1102 doReturn(false).when(mDataEnabledSettings).isDataEnabled(); in testTrySetupDataUnmeteredDefaultDataDisabled()
1103 doReturn(false).when(mDataEnabledSettings).isDataEnabled(anyInt()); in testTrySetupDataUnmeteredDefaultDataDisabled()
1133 doReturn(false).when(mDataEnabledSettings).isDataEnabled(); in testTrySetupMeteredDataDisabled()
[all …]
DDataConnectionTest.java1020 doReturn(false).when(mDataEnabledSettings).isDataEnabled(); in testIsUnmeteredUseOnly()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTest.java269 protected DataEnabledSettings mDataEnabledSettings; field in TelephonyTest
490 doReturn(mDataEnabledSettings).when(mTelephonyComponentFactory) in setUp()
515 doReturn(mDataEnabledSettings).when(mPhone).getDataEnabledSettings(); in setUp()
600 doReturn(true).when(mDataEnabledSettings).isDataEnabled(); in setUp()
601 doReturn(true).when(mDataEnabledSettings).isDataEnabled(anyInt()); in setUp()
602 doReturn(true).when(mDataEnabledSettings).isInternalDataEnabled(); in setUp()
DGsmCdmaPhoneTest.java913 verify(mDataEnabledSettings).setInternalDataEnabled(true); in testEmergencyCallbackMessages()
1047 verify(mDataEnabledSettings).setInternalDataEnabled(true); in testModemResetInEmergencyCallbackMessages()
DPhoneSwitcherTest.java1029 doReturn(dataEnabled).when(mDataEnabledSettings).isDataEnabled(anyInt()); in notifyDataEnabled()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java223 private final DataEnabledSettings mDataEnabledSettings; field in DcTracker
698 mDataEnabledSettings = mPhone.getDataEnabledSettings(); in DcTracker()
700 mDataEnabledSettings.registerForDataEnabledChanged(this, in DcTracker()
702 mDataEnabledSettings.registerForDataEnabledOverrideChanged(this, in DcTracker()
747 mDataEnabledSettings = null; in DcTracker()
857 mDataEnabledSettings.unregisterForDataEnabledChanged(this); in unregisterForAllEvents()
858 mDataEnabledSettings.unregisterForDataEnabledOverrideChanged(this); in unregisterForAllEvents()
1288 final boolean internalDataEnabled = mDataEnabledSettings.isInternalDataEnabled(); in isDataAllowed()
1397 boolean isDataEnabled = apnContext == null ? mDataEnabledSettings.isDataEnabled() in isDataAllowed()
1398 : mDataEnabledSettings.isDataEnabled(requestApnType); in isDataAllowed()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaPhone.java275 mDataEnabledSettings = mTelephonyComponentFactory in GsmCdmaPhone()
2483 if (mDataEnabledSettings.isProvisioning()) { in isUserDataEnabled()
2484 return mDataEnabledSettings.isProvisioningDataEnabled(); in isUserDataEnabled()
2486 return mDataEnabledSettings.isUserDataEnabled(); in isUserDataEnabled()
3052 mDataEnabledSettings.setCarrierDataEnabled(enabled); in handleMessage()
3055 mDataEnabledSettings.updateProvisionedChanged(); in handleMessage()
3058 mDataEnabledSettings.updateProvisioningDataEnabled(); in handleMessage()
3539 mDataEnabledSettings.setInternalDataEnabled(true); in handleExitEmergencyCallbackMode()
DPhone.java323 protected DataEnabledSettings mDataEnabledSettings; field in Phone
4203 return mDataEnabledSettings; in getDataEnabledSettings()