Searched refs:disableOptionalSensors (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySaverPolicy.java | 501 rawPolicy.disableOptionalSensors, in updatePolicyDependenciesLocked() 534 if (mEffectivePolicyRaw.disableOptionalSensors) sb.append("S"); in updatePolicyDependenciesLocked() 600 public final boolean disableOptionalSensors; field in BatterySaverPolicy.Policy 683 boolean disableOptionalSensors, in Policy() argument 702 this.disableOptionalSensors = disableOptionalSensors; in Policy() 736 disableOptionalSensors, in Policy() 789 .setDisableOptionalSensors(disableOptionalSensors) in toConfig() 852 final boolean disableOptionalSensors = userSettingDeviceConfigMediator.getBoolean( in fromSettings() 854 defaultPolicy.disableOptionalSensors); in fromSettings() 886 disableOptionalSensors, in fromSettings() [all …]
|
/frameworks/native/services/powermanager/include/android/ |
D | BatterySaverPolicyConfig.h | 43 bool disableOptionalSensors = false, 62 mDisableOptionalSensors(disableOptionalSensors), in mAdjustBrightnessFactor()
|
/frameworks/base/core/tests/coretests/jni/ |
D | NativePowerManagerTest.cpp | 49 jfieldID disableOptionalSensors; member 123 env->GetBooleanField(bsObj, gBSPCFieldIds.disableOptionalSensors), in nativeObtainBSPConfigParcel() 173 env->GetBooleanField(bsObj, gBSPCFieldIds.disableOptionalSensors), in nativeUnparcelAndVerifyBSPConfig() 231 gBSPCFieldIds.disableOptionalSensors = in JNI_OnLoad()
|
/frameworks/base/core/java/android/os/ |
D | BatterySaverPolicyConfig.java | 455 public Builder setDisableOptionalSensors(boolean disableOptionalSensors) { in setDisableOptionalSensors() argument 456 mDisableOptionalSensors = disableOptionalSensors; in setDisableOptionalSensors()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/ |
D | BatterySaverPolicyTest.java | 455 assertTrue(policy.disableOptionalSensors); in testUserSettingsOverrideDeviceConfig() 501 assertFalse(policy.disableOptionalSensors); in testDeviceConfigOverridesDefaults() 578 assertTrue(policy.disableOptionalSensors); in testDeviceConfig_AdaptiveValues()
|