Home
last modified time | relevance | path

Searched refs:setDataSaverMode (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkManagementInternalTest.java85 mInjector.setDataSaverMode(true); in testIsNetworkRestrictedForUid()
92 mInjector.setDataSaverMode(true); in testIsNetworkRestrictedForUid()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DConnOnActivityStartTest.java196 setDataSaverMode(true); in testStartActivity_dataSaver()
200 setDataSaverMode(false); in testStartActivity_dataSaver()
265 private void setDataSaverMode(boolean enabled) throws Exception { in setDataSaverMode() method in ConnOnActivityStartTest
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java2250 void setDataSaverMode(boolean dataSaverMode) { in setDataSaverMode() method in NetworkManagementService.Injector
2276 setDataSaverMode(false); in reset()