Searched refs:isDataEnabled (Results 1 – 13 of 13) sorted by relevance
113 assertTrue(mDataEnabledSettingsUT.isDataEnabled(ApnSetting.TYPE_MMS)); in testSetAlwaysAllowMmsData()121 assertFalse(mDataEnabledSettingsUT.isDataEnabled(ApnSetting.TYPE_MMS)); in testSetAlwaysAllowMmsData()124 assertTrue(mDataEnabledSettingsUT.isDataEnabled(ApnSetting.TYPE_MMS)); in testSetAlwaysAllowMmsData()
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()
313 public synchronized boolean isDataEnabled() { in isDataEnabled() method in DataEnabledSettings404 notifyDataEnabledChanged(isDataEnabled(), REASON_REGISTERED); in registerForDataEnabledChanged()441 public synchronized boolean isDataEnabled(int apnType) { in isDataEnabled() method in DataEnabledSettings
1347 boolean isDataEnabled = apnContext == null ? mDataEnabledSettings.isDataEnabled() in isDataAllowed()1348 : mDataEnabledSettings.isDataEnabled(apnContext.getApnTypeBitmask()); in isDataAllowed()1350 if (!isDataEnabled) { in isDataAllowed()1521 if (!mDataEnabledSettings.isDataEnabled()) { in trySetupData()1622 boolean isDataDisabled = !mDataEnabledSettings.isDataEnabled( in shouldCleanUpConnection()
1498 boolean isDataEnabled = isDataEnabled(); in updateVideoCallFeatureValue()1503 && (ignoreDataEnabledChanged || isDataEnabled); in updateVideoCallFeatureValue()1508 + ", data enabled = " + isDataEnabled); in updateVideoCallFeatureValue()2465 (ignoreDataEnabledChanged || isDataEnabled()); in setLteFeatureValues()2732 private boolean isDataEnabled() { in isDataEnabled() method in ImsManager2762 pw.println(" mDataEnabled = " + isDataEnabled()); in dump()
243 return getTelephonyManager().isDataEnabled(); in isMobileDataEnabled()
2801 boolean isDataEnabled = mPhone.getDefaultPhone().getDataEnabledSettings()2802 .isDataEnabled();2807 + mIsDataEnabled + "/" + isDataEnabled + ", dataMetered="2810 if (mIsDataEnabled != isDataEnabled) {2812 + ", actually=" + isDataEnabled);2813 mIsDataEnabled = isDataEnabled;4130 public void setDataEnabled(boolean isDataEnabled) { in setDataEnabled() argument4131 mIsDataEnabled = isDataEnabled; in setDataEnabled()
529 doReturn(true).when(mDataEnabledSettings).isDataEnabled(); in setUp()530 doReturn(true).when(mDataEnabledSettings).isDataEnabled(anyInt()); in setUp()
888 doReturn(dataEnabled).when(mDataEnabledSettings).isDataEnabled(anyInt()); in notifyDataEnabled()
930 boolean isDataEnabled(int subId); in isDataEnabled() method
1025 } else if (voicePhone != null && voicePhone.getDataEnabledSettings().isDataEnabled( in updatePreferredDataPhoneId()
META-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...