Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/
DBatterySaverPolicyTest.java416 + "," + BatterySaverPolicy.KEY_ENABLE_NIGHT_MODE + "=true" in testUserSettingsOverrideDeviceConfig()
438 .setBoolean(BatterySaverPolicy.KEY_ENABLE_NIGHT_MODE, false) in testUserSettingsOverrideDeviceConfig()
484 .setBoolean(BatterySaverPolicy.KEY_ENABLE_NIGHT_MODE, false) in testDeviceConfigOverridesDefaults()
533 .setBoolean(BatterySaverPolicy.KEY_ENABLE_NIGHT_MODE, false) in testDeviceConfig_AdaptiveValues()
560 .setBoolean(BatterySaverPolicy.KEY_ENABLE_NIGHT_MODE + adaptiveSuffix, true) in testDeviceConfig_AdaptiveValues()
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverPolicy.java130 static final String KEY_ENABLE_NIGHT_MODE = "enable_night_mode"; field in BatterySaverPolicy
865 KEY_ENABLE_NIGHT_MODE + configSuffix, defaultPolicy.enableNightMode); in fromSettings()
1222 pw.println(KEY_ENABLE_NIGHT_MODE + "=" + p.enableNightMode); in dumpPolicyLocked()