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.java780 doReturn(false).when(mDataEnabledSettings).isDataEnabled(); in testUserDisableData()
781 doReturn(false).when(mDataEnabledSettings).isDataEnabled(anyInt()); in testUserDisableData()
834 doReturn(false).when(mDataEnabledSettings).isDataEnabled(); in testTrySetupDataMmsAllowedDataDisabled()
835 doReturn(false).when(mDataEnabledSettings).isDataEnabled(anyInt()); in testTrySetupDataMmsAllowedDataDisabled()
849 doReturn(true).when(mDataEnabledSettings).isDataEnabled(ApnSetting.TYPE_MMS); in testTrySetupDataMmsAllowedDataDisabled()
1076 doReturn(false).when(mDataEnabledSettings).isDataEnabled(); in testTrySetupDataUnmeteredDataDisabled()
1077 doReturn(false).when(mDataEnabledSettings).isDataEnabled(anyInt()); in testTrySetupDataUnmeteredDataDisabled()
1098 doReturn(false).when(mDataEnabledSettings).isDataEnabled(); in testTrySetupDataUnmeteredDefaultDataDisabled()
1099 doReturn(false).when(mDataEnabledSettings).isDataEnabled(anyInt()); in testTrySetupDataUnmeteredDefaultDataDisabled()
1120 doReturn(false).when(mDataEnabledSettings).isDataEnabled(); in testTrySetupMeteredDataDisabled()
[all …]
DDataConnectionTest.java1016 doReturn(false).when(mDataEnabledSettings).isDataEnabled(); in testIsUnmeteredUseOnly()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTest.java274 protected DataEnabledSettings mDataEnabledSettings; field in TelephonyTest
497 doReturn(mDataEnabledSettings).when(mTelephonyComponentFactory) in setUp()
522 doReturn(mDataEnabledSettings).when(mPhone).getDataEnabledSettings(); in setUp()
610 doReturn(true).when(mDataEnabledSettings).isDataEnabled(); in setUp()
611 doReturn(true).when(mDataEnabledSettings).isDataEnabled(anyInt()); in setUp()
612 doReturn(true).when(mDataEnabledSettings).isInternalDataEnabled(); in setUp()
DGsmCdmaPhoneTest.java909 verify(mDataEnabledSettings).setInternalDataEnabled(true); in testEmergencyCallbackMessages()
1009 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.java224 private final DataEnabledSettings mDataEnabledSettings; field in DcTracker
699 mDataEnabledSettings = mPhone.getDataEnabledSettings(); in DcTracker()
701 mDataEnabledSettings.registerForDataEnabledChanged(this, in DcTracker()
703 mDataEnabledSettings.registerForDataEnabledOverrideChanged(this, in DcTracker()
748 mDataEnabledSettings = null; in DcTracker()
858 mDataEnabledSettings.unregisterForDataEnabledChanged(this); in unregisterForAllEvents()
859 mDataEnabledSettings.unregisterForDataEnabledOverrideChanged(this); in unregisterForAllEvents()
1327 final boolean internalDataEnabled = mDataEnabledSettings.isInternalDataEnabled(); in isDataAllowed()
1427 boolean isDataEnabled = apnContext == null ? mDataEnabledSettings.isDataEnabled() in isDataAllowed()
1428 : mDataEnabledSettings.isDataEnabled(requestApnType); in isDataAllowed()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaPhone.java273 mDataEnabledSettings = mTelephonyComponentFactory in GsmCdmaPhone()
2456 if (mDataEnabledSettings.isProvisioning()) { in isUserDataEnabled()
2457 return mDataEnabledSettings.isProvisioningDataEnabled(); in isUserDataEnabled()
2459 return mDataEnabledSettings.isUserDataEnabled(); in isUserDataEnabled()
3026 mDataEnabledSettings.setCarrierDataEnabled(enabled); in handleMessage()
3029 mDataEnabledSettings.updateProvisionedChanged(); in handleMessage()
3032 mDataEnabledSettings.updateProvisioningDataEnabled(); in handleMessage()
3513 mDataEnabledSettings.setInternalDataEnabled(true); in handleExitEmergencyCallbackMode()
DPhone.java323 protected DataEnabledSettings mDataEnabledSettings; field in Phone
4212 return mDataEnabledSettings; in getDataEnabledSettings()