Searched refs:forceBackgroundCheck (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySaverPolicy.java | 511 rawPolicy.forceBackgroundCheck, in updatePolicyDependenciesLocked() 520 if (mEffectivePolicyRaw.forceBackgroundCheck) sb.append("B"); in updatePolicyDependenciesLocked() 662 public final boolean forceBackgroundCheck; field in BatterySaverPolicy.Policy 691 boolean forceBackgroundCheck, in Policy() argument 710 this.forceBackgroundCheck = forceBackgroundCheck; in Policy() 744 forceBackgroundCheck, in Policy() 797 .setForceBackgroundCheck(forceBackgroundCheck) in toConfig() 871 final boolean forceBackgroundCheck = userSettingDeviceConfigMediator.getBoolean( in fromSettings() 873 defaultPolicy.forceBackgroundCheck); in fromSettings() 895 forceBackgroundCheck, in fromSettings() [all …]
|
/frameworks/native/services/powermanager/include/android/ |
D | BatterySaverPolicyConfig.h | 51 bool forceBackgroundCheck = false, 70 mForceBackgroundCheck(forceBackgroundCheck), in mAdjustBrightnessFactor()
|
/frameworks/base/core/tests/coretests/jni/ |
D | NativePowerManagerTest.cpp | 57 jfieldID forceBackgroundCheck; member 131 env->GetBooleanField(bsObj, gBSPCFieldIds.forceBackgroundCheck), in nativeObtainBSPConfigParcel() 181 env->GetBooleanField(bsObj, gBSPCFieldIds.forceBackgroundCheck), in nativeUnparcelAndVerifyBSPConfig() 242 gBSPCFieldIds.forceBackgroundCheck = in JNI_OnLoad()
|
/frameworks/base/core/java/android/os/ |
D | BatterySaverPolicyConfig.java | 545 public Builder setForceBackgroundCheck(boolean forceBackgroundCheck) { in setForceBackgroundCheck() argument 546 mForceBackgroundCheck = forceBackgroundCheck; in setForceBackgroundCheck()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/ |
D | BatterySaverPolicyTest.java | 463 assertTrue(policy.forceBackgroundCheck); in testUserSettingsOverrideDeviceConfig() 509 assertFalse(policy.forceBackgroundCheck); in testDeviceConfigOverridesDefaults() 586 assertTrue(policy.forceBackgroundCheck); in testDeviceConfig_AdaptiveValues()
|