Home
last modified time | relevance | path

Searched refs:enableDataSaver (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverPolicy.java505 rawPolicy.enableDataSaver, in updatePolicyDependenciesLocked()
530 if (mEffectivePolicyRaw.enableDataSaver) sb.append("d"); in updatePolicyDependenciesLocked()
634 public final boolean enableDataSaver; field in BatterySaverPolicy.Policy
686 boolean enableDataSaver, in Policy() argument
705 this.enableDataSaver = enableDataSaver; in Policy()
739 enableDataSaver, in Policy()
792 .setEnableDataSaver(enableDataSaver) in toConfig()
860 final boolean enableDataSaver = userSettingDeviceConfigMediator.getBoolean( in fromSettings()
861 KEY_ENABLE_DATASAVER + configSuffix, defaultPolicy.enableDataSaver); in fromSettings()
890 enableDataSaver, in fromSettings()
[all …]
/frameworks/native/services/powermanager/include/android/
DBatterySaverPolicyConfig.h46 bool enableDataSaver = false,
65 mEnableDataSaver(enableDataSaver), in mAdjustBrightnessFactor()
/frameworks/base/core/tests/coretests/jni/
DNativePowerManagerTest.cpp52 jfieldID enableDataSaver; member
126 env->GetBooleanField(bsObj, gBSPCFieldIds.enableDataSaver), in nativeObtainBSPConfigParcel()
176 env->GetBooleanField(bsObj, gBSPCFieldIds.enableDataSaver), in nativeUnparcelAndVerifyBSPConfig()
236 gBSPCFieldIds.enableDataSaver = GetFieldIDOrDie(env, bspcClazz, "mEnableDataSaver", "Z"); in JNI_OnLoad()
/frameworks/base/core/java/android/os/
DBatterySaverPolicyConfig.java502 public Builder setEnableDataSaver(boolean enableDataSaver) { in setEnableDataSaver() argument
503 mEnableDataSaver = enableDataSaver; in setEnableDataSaver()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/
DBatterySaverPolicyTest.java458 assertTrue(policy.enableDataSaver); in testUserSettingsOverrideDeviceConfig()
504 assertFalse(policy.enableDataSaver); in testDeviceConfigOverridesDefaults()
581 assertTrue(policy.enableDataSaver); in testDeviceConfig_AdaptiveValues()