Home
last modified time | relevance | path

Searched refs:KEY_ENABLE_DATASAVER (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/
DBatterySaverPolicyTest.java414 + "," + BatterySaverPolicy.KEY_ENABLE_DATASAVER + "=true" in testUserSettingsOverrideDeviceConfig()
436 .setBoolean(BatterySaverPolicy.KEY_ENABLE_DATASAVER, false) in testUserSettingsOverrideDeviceConfig()
482 .setBoolean(BatterySaverPolicy.KEY_ENABLE_DATASAVER, false) in testDeviceConfigOverridesDefaults()
531 .setBoolean(BatterySaverPolicy.KEY_ENABLE_DATASAVER, false) in testDeviceConfig_AdaptiveValues()
558 .setBoolean(BatterySaverPolicy.KEY_ENABLE_DATASAVER + adaptiveSuffix, true) in testDeviceConfig_AdaptiveValues()
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverPolicy.java100 static final String KEY_ENABLE_DATASAVER = "enable_datasaver"; field in BatterySaverPolicy
861 KEY_ENABLE_DATASAVER + configSuffix, defaultPolicy.enableDataSaver); in fromSettings()
1211 pw.println(KEY_ENABLE_DATASAVER + "=" + p.enableDataSaver); in dumpPolicyLocked()