Searched refs:mDataEnabledSettings (Results 1 – 8 of 8) sorted by relevance
999 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 …]
1239 doReturn(false).when(mDataEnabledSettings).isDataEnabled(); in testIsUnmeteredUseOnly()
290 protected DataEnabledSettings mDataEnabledSettings; field in TelephonyTest542 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()
1076 verify(mDataEnabledSettings).setInternalDataEnabled(true); in testEmergencyCallbackMessages()1176 verify(mDataEnabledSettings).setInternalDataEnabled(true); in testModemResetInEmergencyCallbackMessages()
1253 doReturn(dataEnabled).when(mDataEnabledSettings).isDataEnabled(anyInt()); in notifyDataEnabled()
236 private final DataEnabledSettings mDataEnabledSettings; field in DcTracker760 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 …]
314 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()
342 protected DataEnabledSettings mDataEnabledSettings; field in Phone4567 return mDataEnabledSettings; in getDataEnabledSettings()