Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTest.java236 protected DataEnabledSettings mDataEnabledSettings; field in TelephonyTest
427 doReturn(mDataEnabledSettings).when(mTelephonyComponentFactory) in setUp()
450 doReturn(mDataEnabledSettings).when(mPhone).getDataEnabledSettings(); in setUp()
529 doReturn(true).when(mDataEnabledSettings).isDataEnabled(); in setUp()
530 doReturn(true).when(mDataEnabledSettings).isDataEnabled(anyInt()); in setUp()
531 doReturn(true).when(mDataEnabledSettings).isInternalDataEnabled(); in setUp()
DSubscriptionControllerTest.java1000 verify(mDataEnabledSettings).setAlwaysAllowMmsData(eq(true)); in testSetAlwaysAllowMmsData()
1001 clearInvocations(mDataEnabledSettings); in testSetAlwaysAllowMmsData()
1003 verify(mDataEnabledSettings).setAlwaysAllowMmsData(eq(false)); in testSetAlwaysAllowMmsData()
DPhoneSwitcherTest.java888 doReturn(dataEnabled).when(mDataEnabledSettings).isDataEnabled(anyInt()); in notifyDataEnabled()
989 doReturn(mDataEnabledSettings).when(mPhone2).getDataEnabledSettings(); in setNumPhones()
DGsmCdmaPhoneTest.java744 verify(mDataEnabledSettings).setInternalDataEnabled(true); in testEmergencyCallbackMessages()
832 verify(mDataEnabledSettings).setInternalDataEnabled(true); in testModemResetInEmergencyCallbackMessages()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcTrackerTest.java753 doReturn(false).when(mDataEnabledSettings).isDataEnabled(); in testUserDisableData()
754 doReturn(false).when(mDataEnabledSettings).isDataEnabled(anyInt()); in testUserDisableData()
794 doReturn(false).when(mDataEnabledSettings).isDataEnabled(); in testTrySetupDataMmsAllowedDataDisabled()
795 doReturn(false).when(mDataEnabledSettings).isDataEnabled(anyInt()); in testTrySetupDataMmsAllowedDataDisabled()
807 doReturn(true).when(mDataEnabledSettings).isDataEnabled(ApnSetting.TYPE_MMS); in testTrySetupDataMmsAllowedDataDisabled()
1092 doReturn(false).when(mDataEnabledSettings).isDataEnabled(); in testTrySetupDataUnmeteredDataDisabled()
1093 doReturn(false).when(mDataEnabledSettings).isDataEnabled(anyInt()); in testTrySetupDataUnmeteredDataDisabled()
1121 doReturn(false).when(mDataEnabledSettings).isDataEnabled(); in testTrySetupMeteredDataDisabled()
1122 doReturn(false).when(mDataEnabledSettings).isDataEnabled(anyInt()); in testTrySetupMeteredDataDisabled()
1151 doReturn(false).when(mDataEnabledSettings).isDataEnabled(); in testTrySetupRestrictedDataDisabled()
[all …]
DDataConnectionTest.java925 doReturn(false).when(mDataEnabledSettings).isDataEnabled(); in testIsUnmeteredUseOnly()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java228 private final DataEnabledSettings mDataEnabledSettings; field in DcTracker
708 mDataEnabledSettings = mPhone.getDataEnabledSettings(); in DcTracker()
710 mDataEnabledSettings.registerForDataEnabledChanged(this, in DcTracker()
712 mDataEnabledSettings.registerForDataEnabledOverrideChanged(this, in DcTracker()
764 mDataEnabledSettings = null; in DcTracker()
870 mDataEnabledSettings.unregisterForDataEnabledChanged(this); in unregisterForAllEvents()
871 mDataEnabledSettings.unregisterForDataEnabledOverrideChanged(this); in unregisterForAllEvents()
1254 final boolean internalDataEnabled = mDataEnabledSettings.isInternalDataEnabled(); in isDataAllowed()
1347 boolean isDataEnabled = apnContext == null ? mDataEnabledSettings.isDataEnabled() in isDataAllowed()
1348 : mDataEnabledSettings.isDataEnabled(apnContext.getApnTypeBitmask()); in isDataAllowed()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaPhone.java248 mDataEnabledSettings = mTelephonyComponentFactory in GsmCdmaPhone()
2225 if (mDataEnabledSettings.isProvisioning()) { in isUserDataEnabled()
2226 return mDataEnabledSettings.isProvisioningDataEnabled(); in isUserDataEnabled()
2228 return mDataEnabledSettings.isUserDataEnabled(); in isUserDataEnabled()
2756 mDataEnabledSettings.setCarrierDataEnabled(enabled); in handleMessage()
2759 mDataEnabledSettings.updateProvisionedChanged(); in handleMessage()
2762 mDataEnabledSettings.updateProvisioningDataEnabled(); in handleMessage()
3204 mDataEnabledSettings.setInternalDataEnabled(true); in handleExitEmergencyCallbackMode()
DPhone.java319 protected DataEnabledSettings mDataEnabledSettings; field in Phone
3898 return mDataEnabledSettings; in getDataEnabledSettings()