Home
last modified time | relevance | path

Searched refs:setDataEnabled (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/network/
DMobileDataTogglePreferenceControllerTest.java77 mTelephonyManager.setDataEnabled(false); in setUp()
142 mTelephonyManager.setDataEnabled(true); in refreshUi_dataEnabled_setChecked()
150 mTelephonyManager.setDataEnabled(false); in refreshUi_dataDisabled_setUnchecked()
169 mTelephonyManager.setDataEnabled(true); in handlePreferenceChanged_setFalse_isMultiSim_disablesData()
179 mTelephonyManager.setDataEnabled(true); in handlePreferenceChanged_setFalse_isMultiSim_setsUnchecked()
189 mTelephonyManager.setDataEnabled(false); in handlePreferenceChanged_setTrue_isSingleSim_enablesData()
199 mTelephonyManager.setDataEnabled(false); in handlePreferenceChanged_setTrue_isSingleSim_setsChecked()
209 mTelephonyManager.setDataEnabled(false); in handlePreferenceChanged_setTrue_isMultiSim_noOtherSimActive_enablesData()
221 mTelephonyManager.setDataEnabled(false); in handlePreferenceChanged_setTrue_isMultiSim_noOtherSimActive_setsChecked()
234 mTelephonyManager.setDataEnabled(false); in handlePreferenceChanged_setTrue_isMultiSim_otherSimActive_opensDialog()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DMobileNetworkUtilsTest.java115 verify(mTelephonyManager).setDataEnabled(true); in setMobileDataEnabled_setEnabled_enabled()
116 verify(mTelephonyManager2, never()).setDataEnabled(anyBoolean()); in setMobileDataEnabled_setEnabled_enabled()
123 verify(mTelephonyManager2).setDataEnabled(true); in setMobileDataEnabled_setDisabled_disabled()
124 verify(mTelephonyManager, never()).setDataEnabled(anyBoolean()); in setMobileDataEnabled_setDisabled_disabled()
131 verify(mTelephonyManager).setDataEnabled(true); in setMobileDataEnabled_disableOtherSubscriptions()
132 verify(mTelephonyManager2).setDataEnabled(false); in setMobileDataEnabled_disableOtherSubscriptions()
DMobileDataSliceTest.java117 verify(mTelephonyManager).setDataEnabled(true); in handleUriChange_turnedOn_updatesMobileData()
129 verify(mTelephonyManager).setDataEnabled(false); in handleUriChange_turnedOff_updatesMobileData()
141 verify(mTelephonyManager, times(0)).setDataEnabled(true); in handleUriChange_turnedOff_airplaneModeOn_mobileDataDoesNotUpdate()
DMobileDataPreferenceControllerTest.java138 verify(mTelephonyManager).setDataEnabled(true); in onPreferenceChange_singleSim_On_shouldEnableData()
150 verify(mTelephonyManager).setDataEnabled(true); in onPreferenceChange_multiSim_On_shouldEnableData()
/packages/apps/Car/Settings/src/com/android/car/settings/network/
DNetworkUtils.java67 telephonyManager.setDataEnabled(enabled); in setMobileDataEnabled()
77 subInfo.getSubscriptionId()).setDataEnabled(false); in setMobileDataEnabled()
/packages/services/Telephony/src/com/android/phone/
DMobileDataPreference.java168 mTelephonyManager.setDataEnabled(mSubId, enabled); in setMobileDataEnabled()
229 mTelephonyManager.setDataEnabled(subInfo.getSubscriptionId(), false); in disableDataForOtherSubscriptions()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DCellDataPreference.java180 mTelephonyManager.setDataEnabled(mSubId, enabled); in setMobileDataEnabled()
240 mTelephonyManager.setDataEnabled(subInfo.getSubscriptionId(), false); in disableDataForOtherSubscriptions()
/packages/apps/Settings/src/com/android/settings/datausage/
DCellDataPreference.java180 mTelephonyManager.setDataEnabled(mSubId, enabled); in setMobileDataEnabled()
240 mTelephonyManager.setDataEnabled(subInfo.getSubscriptionId(), false); in disableDataForOtherSubscriptions()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DMobileNetworkUtils.java226 telephonyManager.setDataEnabled(enabled); in setMobileDataEnabled()
236 subInfo.getSubscriptionId()).setDataEnabled(false); in setMobileDataEnabled()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DMobileNetworkUtils.java243 telephonyManager.setDataEnabled(enabled); in setMobileDataEnabled()
253 subInfo.getSubscriptionId()).setDataEnabled(false); in setMobileDataEnabled()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowTelephonyManager.java71 protected void setDataEnabled(boolean enable) { in setDataEnabled() method in ShadowTelephonyManager
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/
DCellularDataConditionController.java78 mTelephonyManager.setDataEnabled(true); in onActionClick()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/conditional/
DCellularDataConditionController.java78 mTelephonyManager.setDataEnabled(true); in onActionClick()
/packages/apps/Settings/src/com/android/settings/sim/
DSimDialogActivity.java153 telephonyManager.setDataEnabled(true); in setDefaultDataSubId()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/sim/
DSimDialogActivity.java124 telephonyManager.setDataEnabled(true); in setDefaultDataSubId()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DRadioInfo.java1236 mTelephonyManager.setDataEnabled(false);
1239 mTelephonyManager.setDataEnabled(true);
/packages/apps/Settings/src/com/android/settings/
DRadioInfo.java1331 mTelephonyManager.setDataEnabled(false);
1334 mTelephonyManager.setDataEnabled(true);