Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverPolicy.java504 rawPolicy.enableAdjustBrightness, in updatePolicyDependenciesLocked()
531 if (mEffectivePolicyRaw.enableAdjustBrightness) sb.append("b"); in updatePolicyDependenciesLocked()
626 public final boolean enableAdjustBrightness; field in BatterySaverPolicy.Policy
685 boolean enableAdjustBrightness, in Policy() argument
704 this.enableAdjustBrightness = enableAdjustBrightness; in Policy()
738 enableAdjustBrightness, in Policy()
791 .setEnableAdjustBrightness(enableAdjustBrightness) in toConfig()
859 defaultPolicy.enableAdjustBrightness); in fromSettings()
915 && enableAdjustBrightness == other.enableAdjustBrightness in equals()
965 return builder.setBatterySaverEnabled(currPolicy.enableAdjustBrightness) in getBatterySaverPolicy()
[all …]
/frameworks/native/services/powermanager/include/android/
DBatterySaverPolicyConfig.h45 bool enableAdjustBrightness = false,
64 mEnableAdjustBrightness(enableAdjustBrightness), in mAdjustBrightnessFactor()
/frameworks/base/core/tests/coretests/jni/
DNativePowerManagerTest.cpp51 jfieldID enableAdjustBrightness; member
125 env->GetBooleanField(bsObj, gBSPCFieldIds.enableAdjustBrightness), in nativeObtainBSPConfigParcel()
175 env->GetBooleanField(bsObj, gBSPCFieldIds.enableAdjustBrightness), in nativeUnparcelAndVerifyBSPConfig()
234 gBSPCFieldIds.enableAdjustBrightness = in JNI_OnLoad()
/frameworks/base/core/java/android/os/
DBatterySaverPolicyConfig.java495 public Builder setEnableAdjustBrightness(boolean enableAdjustBrightness) { in setEnableAdjustBrightness() argument
496 mEnableAdjustBrightness = enableAdjustBrightness; in setEnableAdjustBrightness()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/
DBatterySaverPolicyTest.java457 assertTrue(policy.enableAdjustBrightness); in testUserSettingsOverrideDeviceConfig()
503 assertFalse(policy.enableAdjustBrightness); in testDeviceConfigOverridesDefaults()
580 assertTrue(policy.enableAdjustBrightness); in testDeviceConfig_AdaptiveValues()