Home
last modified time | relevance | path

Searched refs:setMobileDataEnabled (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/network/
DMobileDataTogglePreferenceController.java66 arguments -> setMobileDataEnabled(
69 arguments -> setMobileDataEnabled(
145 setMobileDataEnabled(newToggleValue, /* disableOtherSubscriptions= */ false); in handlePreferenceChanged()
156 private void setMobileDataEnabled(boolean enabled, boolean disableOtherSubscriptions) { in setMobileDataEnabled() method in MobileDataTogglePreferenceController
157 NetworkUtils.setMobileDataEnabled(getContext(), mSubId, enabled, disableOtherSubscriptions); in setMobileDataEnabled()
DNetworkUtils.java61 public static void setMobileDataEnabled(Context context, int subId, boolean enabled, in setMobileDataEnabled() method in NetworkUtils
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DCellDataPreference.java149 setMobileDataEnabled(false); in performClick()
166 setMobileDataEnabled(true); in performClick()
172 setMobileDataEnabled(true); in performClick()
177 private void setMobileDataEnabled(boolean enabled) { in setMobileDataEnabled() method in CellDataPreference
253 setMobileDataEnabled(true); in onClick()
257 setMobileDataEnabled(false); in onClick()
/packages/apps/Settings/src/com/android/settings/datausage/
DCellDataPreference.java149 setMobileDataEnabled(false); in performClick()
166 setMobileDataEnabled(true); in performClick()
172 setMobileDataEnabled(true); in performClick()
177 private void setMobileDataEnabled(boolean enabled) { in setMobileDataEnabled() method in CellDataPreference
253 setMobileDataEnabled(true); in onClick()
257 setMobileDataEnabled(false); in onClick()
/packages/services/Telephony/src/com/android/phone/
DMobileDataPreference.java147 setMobileDataEnabled(false /* enabled */, false /* disableOtherSubscriptions */); in performClick()
157 setMobileDataEnabled(true /* enabled */, false /* disableOtherSubscriptions */); in performClick()
162 private void setMobileDataEnabled(boolean enabled, boolean disableOtherSubscriptions) { in setMobileDataEnabled() method in MobileDataPreference
242 setMobileDataEnabled(true /* enabled */, true /* disableOtherSubscriptions */); in onClick()
245 setMobileDataEnabled(false /* enabled */, false /* disableOtherSubscriptions */); in onClick()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DMobileNetworkUtilsTest.java113 MobileNetworkUtils.setMobileDataEnabled(mContext, SUB_ID_1, true, false); in setMobileDataEnabled_setEnabled_enabled()
121 MobileNetworkUtils.setMobileDataEnabled(mContext, SUB_ID_2, true, false); in setMobileDataEnabled_setDisabled_disabled()
129 MobileNetworkUtils.setMobileDataEnabled(mContext, SUB_ID_1, true, true); in setMobileDataEnabled_disableOtherSubscriptions()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DMobileDataDialogFragment.java124 MobileNetworkUtils.setMobileDataEnabled(getContext(), mSubId, false /* enabled */, in onClick()
129 MobileNetworkUtils.setMobileDataEnabled(getContext(), mSubId, true /* enabled */, in onClick()
DMobileDataPreferenceController.java109 MobileNetworkUtils.setMobileDataEnabled(mContext, mSubId, isChecked, false); in setChecked()
DMobileDataSlice.java137 MobileNetworkUtils.setMobileDataEnabled(mContext, defaultSubId, newState, in onNotifyChange()
DMobileNetworkUtils.java220 public static void setMobileDataEnabled(Context context, int subId, boolean enabled, in setMobileDataEnabled() method in MobileNetworkUtils
/packages/apps/Settings/src/com/android/settings/network/telephony/
DMobileDataDialogFragment.java124 MobileNetworkUtils.setMobileDataEnabled(getContext(), mSubId, false /* enabled */, in onClick()
129 MobileNetworkUtils.setMobileDataEnabled(getContext(), mSubId, true /* enabled */, in onClick()
DMobileDataPreferenceController.java109 MobileNetworkUtils.setMobileDataEnabled(mContext, mSubId, isChecked, false); in setChecked()
DMobileDataSlice.java125 MobileNetworkUtils.setMobileDataEnabled(mContext, defaultSubId, newState, in onNotifyChange()
DMobileNetworkUtils.java237 public static void setMobileDataEnabled(Context context, int subId, boolean enabled, in setMobileDataEnabled() method in MobileNetworkUtils
/packages/apps/Car/Settings/src/com/android/car/settings/quicksettings/
DCelluarTile.java94 mDataUsageController.setMobileDataEnabled(!mDataUsageController.isMobileDataEnabled()); in onClick()