Home
last modified time | relevance | path

Searched refs:isDataEnabled (Results 1 – 13 of 13) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDataEnabledSettingsTest.java113 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()
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/
DDataEnabledSettings.java313 public synchronized boolean isDataEnabled() { in isDataEnabled() method in DataEnabledSettings
404 notifyDataEnabledChanged(isDataEnabled(), REASON_REGISTERED); in registerForDataEnabledChanged()
441 public synchronized boolean isDataEnabled(int apnType) { in isDataEnabled() method in DataEnabledSettings
DDcTracker.java1347 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()
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsManager.java1498 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 ImsManager
2762 pw.println(" mDataEnabled = " + isDataEnabled()); in dump()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DDataUsageController.java243 return getTelephonyManager().isDataEnabled(); in isMobileDataEnabled()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java2801 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() argument
4131 mIsDataEnabled = isDataEnabled; in setDataEnabled()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTest.java529 doReturn(true).when(mDataEnabledSettings).isDataEnabled(); in setUp()
530 doReturn(true).when(mDataEnabledSettings).isDataEnabled(anyInt()); in setUp()
DPhoneSwitcherTest.java888 doReturn(dataEnabled).when(mDataEnabledSettings).isDataEnabled(anyInt()); in notifyDataEnabled()
/frameworks/base/telephony/java/com/android/internal/telephony/
DITelephony.aidl930 boolean isDataEnabled(int subId); in isDataEnabled() method
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneSwitcher.java1025 } else if (voicePhone != null && voicePhone.getDataEnabledSettings().isDataEnabled( in updatePreferredDataPhoneId()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...