Searched refs:mDataEnabledSettings (Results 1 – 9 of 9) sorted by relevance
236 protected DataEnabledSettings mDataEnabledSettings; field in TelephonyTest427 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()
1000 verify(mDataEnabledSettings).setAlwaysAllowMmsData(eq(true)); in testSetAlwaysAllowMmsData()1001 clearInvocations(mDataEnabledSettings); in testSetAlwaysAllowMmsData()1003 verify(mDataEnabledSettings).setAlwaysAllowMmsData(eq(false)); in testSetAlwaysAllowMmsData()
888 doReturn(dataEnabled).when(mDataEnabledSettings).isDataEnabled(anyInt()); in notifyDataEnabled()989 doReturn(mDataEnabledSettings).when(mPhone2).getDataEnabledSettings(); in setNumPhones()
744 verify(mDataEnabledSettings).setInternalDataEnabled(true); in testEmergencyCallbackMessages()832 verify(mDataEnabledSettings).setInternalDataEnabled(true); in testModemResetInEmergencyCallbackMessages()
753 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 …]
925 doReturn(false).when(mDataEnabledSettings).isDataEnabled(); in testIsUnmeteredUseOnly()
228 private final DataEnabledSettings mDataEnabledSettings; field in DcTracker708 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 …]
248 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()
319 protected DataEnabledSettings mDataEnabledSettings; field in Phone3898 return mDataEnabledSettings; in getDataEnabledSettings()