Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/
DCSBpfNetMapsTest.kt54 inOrder.verify(bpfNetMaps).setDataSaverEnabled(true) in testCSTrackDataSaverBeforeV()
56 inOrder.verify(bpfNetMaps).setDataSaverEnabled(false) in testCSTrackDataSaverBeforeV()
58 inOrder.verify(bpfNetMaps).setDataSaverEnabled(true) in testCSTrackDataSaverBeforeV()
68 verify(bpfNetMaps, never()).setDataSaverEnabled(anyBoolean()) in testCSTrackDataSaverAboveU()
DCSBlockedReasonsTest.kt147 cm.setDataSaverEnabled(false) in cellNc()
159 cm.setDataSaverEnabled(true) in cellNc()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
DWifiTetherPreferenceControllerTest.java184 mController.setDataSaverEnabled(true); in setDataSaverEnabled_setEnabled_setPrefDisabled()
192 mController.setDataSaverEnabled(false); in setDataSaverEnabled_setDisabled_setPrefEnabled()
/packages/apps/Settings/tests/robotests/testutils/com/android/settings/testutils/shadow/
DShadowDataSaverBackend.java35 protected void setDataSaverEnabled(boolean enabled) { in setDataSaverEnabled() method in ShadowDataSaverBackend
/packages/apps/Settings/src/com/android/settings/datausage/
DDataSaverBackend.java77 public void setDataSaverEnabled(boolean enabled) { in setDataSaverEnabled() method in DataSaverBackend
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/tether/
DTetherSettingsTest.java395 verify(mWifiTetherPreferenceController).setDataSaverEnabled(true); in onDataSaverChanged_dataSaverEnabled_setToController()
402 verify(mWifiTetherPreferenceController).setDataSaverEnabled(false); in onDataSaverChanged_dataSaverDisabled_setToController()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherPreferenceController.java221 public void setDataSaverEnabled(boolean enabled) { in setDataSaverEnabled() method in WifiTetherPreferenceController
/packages/modules/Connectivity/framework/src/android/net/
DIConnectivityManager.aidl243 void setDataSaverEnabled(boolean enable); in setDataSaverEnabled() method
DConnectivityManager.java6167 public void setDataSaverEnabled(final boolean enable) { in setDataSaverEnabled() method in ConnectivityManager
6169 mService.setDataSaverEnabled(enable); in setDataSaverEnabled()
/packages/apps/Settings/src/com/android/settings/network/tether/
DTetherSettings.java255 mWifiTetherPreferenceController.setDataSaverEnabled(mDataSaverEnabled); in onDataSaverChanged()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DBpfNetMapsTest.java1116 () -> mBpfNetMaps.setDataSaverEnabled(enable)); in testSetDataSaverEnabledBeforeT()
1124 mBpfNetMaps.setDataSaverEnabled(enable); in testSetDataSaverEnabled()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringTest.java2571 private void setDataSaverEnabled(boolean enabled) { in setDataSaverEnabled() method in TetheringTest
2589 setDataSaverEnabled(true); in testDataSaverChanged()
2602 setDataSaverEnabled(true); in testDataSaverChanged()
2607 setDataSaverEnabled(false); in testDataSaverChanged()
/packages/modules/Connectivity/service/src/com/android/server/
DBpfNetMaps.java842 public void setDataSaverEnabled(boolean enable) { in setDataSaverEnabled() method in BpfNetMaps
DConnectivityService.java7495 mBpfNetMaps.setDataSaverEnabled(isDataSaverEnabled);
13837 public void setDataSaverEnabled(final boolean enable) {
13851 mBpfNetMaps.setDataSaverEnabled(enable);
/packages/modules/Connectivity/framework/api/
Dmodule-lib-current.txt28 …roid.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) public void setDataSaverEnabled(boolean);