Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/network/
DMobileDataTogglePreferenceControllerTest.java201 verify(mMockTelephonyManager).setDataEnabled(false); in handlePreferenceChanged_setFalse_isMultiSim_disablesData()
211 verify(mMockTelephonyManager).setDataEnabled(false); in handlePreferenceChanged_setFalse_isMultiSim_setsUnchecked()
223 verify(mMockTelephonyManager).setDataEnabled(true); in handlePreferenceChanged_setTrue_isSingleSim_enablesData()
231 verify(mMockTelephonyManager).setDataEnabled(true); in handlePreferenceChanged_setTrue_isSingleSim_setsChecked()
244 verify(mMockTelephonyManager).setDataEnabled(true); in handlePreferenceChanged_setTrue_isMultiSim_noOtherSimActive_enablesData()
253 verify(mMockTelephonyManager).setDataEnabled(true); in handlePreferenceChanged_setTrue_isMultiSim_noOtherSimActive_setsChecked()
293 verify(mMockTelephonyManager).setDataEnabled(false); in disableSingleSimDialog_onConfirm_disablesData()
315 verify(mMockTelephonyManager).setDataEnabled(false); in disableSingleSimDialog_onConfirm_setsUnchecked()
347 verify(mMockTelephonyManager).setDataEnabled(true); in enableMutliSimDialog_onConfirm_enablesData()
375 verify(mMockTelephonyManager).setDataEnabled(true); in enableMutliSimDialog_onConfirm_setsChecked()
DMobileNetworkEntryPreferenceControllerTest.java471 verify(mTelephonyManager).setDataEnabled(true); in performToggle_disabled_setsDataEnabled()
489 verify(mTelephonyManager).setDataEnabled(false); in performToggle_enabled_setsDataDisabled()
/packages/apps/Car/Settings/src/com/android/car/settings/network/
DNetworkUtils.java72 telephonyManager.setDataEnabled(enabled); in setMobileDataEnabled()
82 subInfo.getSubscriptionId()).setDataEnabled(false); in setMobileDataEnabled()
DMobileNetworkEntryPreferenceController.java225 mTelephonyManager.setDataEnabled(isChecked); in onSecondaryActionClick()
/packages/apps/Settings/src/com/android/settings/datausage/
DCellDataPreference.java156 getContext().getSystemService(TelephonyManager.class).setDataEnabled(mSubId, enabled); in setMobileDataEnabled()
217 getContext().getSystemService(TelephonyManager.class).setDataEnabled(subId, false); in disableDataForOtherSubscriptions()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowTelephonyManager.java71 public void setDataEnabled(boolean enable) { in setDataEnabled() method in ShadowTelephonyManager
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/
DCellularDataConditionController.java91 mTelephonyManager.setDataEnabled(true); in onActionClick()
/packages/modules/Connectivity/tests/cts/net/util/java/android/net/cts/util/
DCtsNetUtils.java586 runAsShell(MODIFY_PHONE_STATE, () -> tm.setDataEnabled(enabled)); in setMobileDataEnabled()
/packages/services/Telephony/src/com/android/phone/settings/
DRadioInfo.java1706 mTelephonyManager.setDataEnabled(false);
1709 mTelephonyManager.setDataEnabled(true);
/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java3202 phone.getDataSettingsManager().setDataEnabled( in enableDataConnectivity()
3226 phone.getDataSettingsManager().setDataEnabled( in disableDataConnectivity()
9512 phone.getDataSettingsManager().setDataEnabled( in setDataEnabledForReason()