Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/src/com/android/car/settings/network/
DMobileDataTogglePreferenceController.java62 arguments -> setMobileDataEnabled(
65 arguments -> setMobileDataEnabled(
148 setMobileDataEnabled(newToggleValue, /* disableOtherSubscriptions= */ false); in handlePreferenceChanged()
159 private void setMobileDataEnabled(boolean enabled, boolean disableOtherSubscriptions) { in setMobileDataEnabled() method in MobileDataTogglePreferenceController
160 NetworkUtils.setMobileDataEnabled(getContext(), getSubId(), enabled, in setMobileDataEnabled()
DNetworkUtils.java63 public static void setMobileDataEnabled(Context context, int subId, boolean enabled, in setMobileDataEnabled() method in NetworkUtils
/packages/apps/Settings/src/com/android/settings/datausage/
DCellDataPreference.java144 setMobileDataEnabled(false); in performClick()
150 setMobileDataEnabled(true); in performClick()
154 private void setMobileDataEnabled(boolean enabled) { in setMobileDataEnabled() method in CellDataPreference
228 setMobileDataEnabled(true); in onClick()
232 setMobileDataEnabled(false); in onClick()
/packages/apps/Settings/src/com/android/settings/spa/network/
DMobileDataSwitchingPreference.kt33 setMobileDataEnabled: (newEnabled: Boolean) -> Unit, in <lambda>()
44 setMobileDataEnabled(newEnabled) in <lambda>()
DNetworkCellularGroupProvider.kt225 setMobileDataEnabled = { newEnabled -> in MobileDataSectionImpl()
/packages/modules/Bluetooth/system/blueberry/tests/pan/
Dbluetooth_pan_test.py184 panu_device.sl4a.setMobileDataEnabled(False)
194 nap_device.sl4a.setMobileDataEnabled(True)
231 panu_device.sl4a.setMobileDataEnabled(True)
/packages/apps/Settings/src/com/android/settings/network/telephony/
DMobileDataDialogFragment.java135 MobileNetworkUtils.setMobileDataEnabled(getContext(), mSubId, false /* enabled */, in onClick()
145 MobileNetworkUtils.setMobileDataEnabled(getContext(), mSubId, true /* enabled */, in onClick()
DTelephonyRepository.kt94 MobileNetworkUtils.setMobileDataEnabled( in setMobileData()
DMobileDataPreferenceController.java136 MobileNetworkUtils.setMobileDataEnabled(mContext, mSubId, isChecked, false); in setChecked()
DMobileDataSlice.java134 MobileNetworkUtils.setMobileDataEnabled(mContext, defaultSubId, newState, in onNotifyChange()
DMobileNetworkUtils.java363 public static void setMobileDataEnabled(Context context, int subId, boolean enabled, in setMobileDataEnabled() method in MobileNetworkUtils
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DBatteryStatsManagerTest.java167 mCtsNetUtils.setMobileDataEnabled(false); in verifyGetCellBatteryStats()
182 mCtsNetUtils.setMobileDataEnabled(true); in verifyGetCellBatteryStats()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/
DMobileNetworkUtilsTest.java153 MobileNetworkUtils.setMobileDataEnabled(mContext, SUB_ID_1, true, false); in setMobileDataEnabled_setEnabled_enabled()
163 MobileNetworkUtils.setMobileDataEnabled(mContext, SUB_ID_2, true, false); in setMobileDataEnabled_setDisabled_disabled()
173 MobileNetworkUtils.setMobileDataEnabled(mContext, SUB_ID_1, true, true); in setMobileDataEnabled_disableOtherSubscriptions()
/packages/modules/Connectivity/tests/cts/net/util/java/android/net/cts/util/
DCtsNetUtils.java207 setMobileDataEnabled(false); in reconnectCellIfSupported()
208 setMobileDataEnabled(true); in reconnectCellIfSupported()
566 public void setMobileDataEnabled(boolean enabled) throws InterruptedException { in setMobileDataEnabled() method in CtsNetUtils
/packages/apps/Car/Settings/src/com/android/car/settings/qc/
DMobileDataTile.java96 mDataUsageController.setMobileDataEnabled(newState); in onNotifyChange()
DMobileDataRow.java118 mDataUsageController.setMobileDataEnabled(newState); in onNotifyChange()
/packages/apps/Settings/src/com/android/settings/network/
DProviderModelSlice.java226 MobileNetworkUtils.setMobileDataEnabled(mContext, defaultSubId, newState, in onNotifyChange()
256 MobileNetworkUtils.setMobileDataEnabled(mContext, defaultSubId, in getMobileDataDisableDialog()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/
DMobileDataTileTest.java146 verify(mDataUsageController).setMobileDataEnabled(true); in onNotifyChange_togglesMobileData()
DMobileDataRowTest.java147 verify(mDataUsageController).setMobileDataEnabled(true); in onNotifyChange_togglesMobileData()