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.java999 doReturn(false).when(mDataEnabledSettings).isDataEnabled(); in testUserDisableData()
1000 doReturn(false).when(mDataEnabledSettings).isDataEnabled(anyInt()); in testUserDisableData()
1052 doReturn(false).when(mDataEnabledSettings).isDataEnabled(); in testTrySetupDataMmsAllowedDataDisabled()
1053 doReturn(false).when(mDataEnabledSettings).isDataEnabled(anyInt()); in testTrySetupDataMmsAllowedDataDisabled()
1066 doReturn(true).when(mDataEnabledSettings).isDataEnabled(ApnSetting.TYPE_MMS); in testTrySetupDataMmsAllowedDataDisabled()
1112 doReturn(false).when(mDataEnabledSettings).isDataEnabled(); in testTrySetupDataMmsAlwaysAllowedDataDisabled()
1113 doReturn(false).when(mDataEnabledSettings).isDataEnabled(anyInt()); in testTrySetupDataMmsAlwaysAllowedDataDisabled()
1114 doReturn(false).when(mDataEnabledSettings).isMmsAlwaysAllowed(); in testTrySetupDataMmsAlwaysAllowedDataDisabled()
1126 doReturn(true).when(mDataEnabledSettings).isMmsAlwaysAllowed(); in testTrySetupDataMmsAlwaysAllowedDataDisabled()
1127 doReturn(true).when(mDataEnabledSettings).isDataEnabled(ApnSetting.TYPE_MMS); in testTrySetupDataMmsAlwaysAllowedDataDisabled()
[all …]
DDataConnectionTest.java1239 doReturn(false).when(mDataEnabledSettings).isDataEnabled(); in testIsUnmeteredUseOnly()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTest.java290 protected DataEnabledSettings mDataEnabledSettings; field in TelephonyTest
542 doReturn(mDataEnabledSettings).when(mTelephonyComponentFactory) in setUp()
569 doReturn(mDataEnabledSettings).when(mPhone).getDataEnabledSettings(); in setUp()
665 doReturn(true).when(mDataEnabledSettings).isDataEnabled(); in setUp()
666 doReturn(true).when(mDataEnabledSettings).isDataEnabled(anyInt()); in setUp()
667 doReturn(true).when(mDataEnabledSettings).isInternalDataEnabled(); in setUp()
DGsmCdmaPhoneTest.java1076 verify(mDataEnabledSettings).setInternalDataEnabled(true); in testEmergencyCallbackMessages()
1176 verify(mDataEnabledSettings).setInternalDataEnabled(true); in testModemResetInEmergencyCallbackMessages()
DPhoneSwitcherTest.java1253 doReturn(dataEnabled).when(mDataEnabledSettings).isDataEnabled(anyInt()); in notifyDataEnabled()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java236 private final DataEnabledSettings mDataEnabledSettings; field in DcTracker
760 mDataEnabledSettings = mPhone.getDataEnabledSettings(); in DcTracker()
762 mDataEnabledSettings.registerForDataEnabledChanged(this, in DcTracker()
764 mDataEnabledSettings.registerForDataEnabledOverrideChanged(this, in DcTracker()
805 mDataEnabledSettings = null; in DcTracker()
917 mDataEnabledSettings.unregisterForDataEnabledChanged(this); in unregisterForAllEvents()
918 mDataEnabledSettings.unregisterForDataEnabledOverrideChanged(this); in unregisterForAllEvents()
1335 final boolean internalDataEnabled = mDataEnabledSettings.isInternalDataEnabled(); in isDataAllowed()
1473 boolean isDataEnabled = apnContext == null ? mDataEnabledSettings.isDataEnabled() in isDataAllowed()
1474 : mDataEnabledSettings.isDataEnabled(requestApnType); in isDataAllowed()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaPhone.java314 mDataEnabledSettings = mTelephonyComponentFactory in GsmCdmaPhone()
2637 if (mDataEnabledSettings.isProvisioning()) { in isUserDataEnabled()
2638 return mDataEnabledSettings.isProvisioningDataEnabled(); in isUserDataEnabled()
2640 return mDataEnabledSettings.isUserDataEnabled(); in isUserDataEnabled()
3198 mDataEnabledSettings.setDataEnabled(TelephonyManager.DATA_ENABLED_REASON_CARRIER, in handleMessage()
3202 mDataEnabledSettings.updateProvisionedChanged(); in handleMessage()
3205 mDataEnabledSettings.updateProvisioningDataEnabled(); in handleMessage()
3693 mDataEnabledSettings.setInternalDataEnabled(true); in handleExitEmergencyCallbackMode()
DPhone.java342 protected DataEnabledSettings mDataEnabledSettings; field in Phone
4567 return mDataEnabledSettings; in getDataEnabledSettings()