Searched refs:brightnessFactor (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/ |
D | PowerGroupTest.java | 253 float brightnessFactor = 0.7f; in testUpdateWhileAwake_UpdatesDisplayPowerRequest() local 256 .setBrightnessFactor(brightnessFactor) in testUpdateWhileAwake_UpdatesDisplayPowerRequest() 284 brightnessFactor); in testUpdateWhileAwake_UpdatesDisplayPowerRequest() 290 float brightnessFactor = 0.3f; in testUpdateWhileDozing_UpdatesDisplayPowerRequest() local 293 .setBrightnessFactor(brightnessFactor) in testUpdateWhileDozing_UpdatesDisplayPowerRequest() 324 brightnessFactor); in testUpdateWhileDozing_UpdatesDisplayPowerRequest() 330 float brightnessFactor = 0.3f; in testUpdateWhileDozing_DozeAfterScreenOff() local 333 .setBrightnessFactor(brightnessFactor) in testUpdateWhileDozing_DozeAfterScreenOff() 363 brightnessFactor); in testUpdateWhileDozing_DozeAfterScreenOff() 369 float brightnessFactor = 0.3f; in testUpdateQuiescent() local [all …]
|
/frameworks/base/core/java/android/os/ |
D | PowerSaveState.java | 40 public final float brightnessFactor; field in PowerSaveState 46 brightnessFactor = builder.mBrightnessFactor; in PowerSaveState() 55 brightnessFactor = in.readFloat(); in PowerSaveState() 69 dest.writeFloat(brightnessFactor); in writeToParcel()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | PowerManagerTest.java | 70 float brightnessFactor); in nativeObtainPowerSaveStateParcel() argument 73 int locationMode, int soundTriggerMode, float brightnessFactor); in nativeUnparcelAndVerifyPowerSaveState() argument 336 float brightnessFactor) { in unparcelPowerSaveStateFromNativeAndVerify() argument 339 globalBatterySaverEnabled, locationMode, soundTriggerMode, brightnessFactor); in unparcelPowerSaveStateFromNativeAndVerify() 346 assertEquals(ps.brightnessFactor, brightnessFactor, 0.01f); in unparcelPowerSaveStateFromNativeAndVerify() 355 float brightnessFactor) { in parcelPowerSaveStateToNativeAndVerify() argument 362 .setBrightnessFactor(brightnessFactor).build(); in parcelPowerSaveStateToNativeAndVerify() 367 globalBatterySaverEnabled, locationMode, soundTriggerMode, brightnessFactor); in parcelPowerSaveStateToNativeAndVerify()
|
/frameworks/base/services/core/java/com/android/server/display/brightness/clamper/ |
D | BrightnessLowPowerModeModifier.java | 38 final float brightnessFactor = in getBrightnessAdjusted() local 40 return Math.max((currentBrightness * brightnessFactor), PowerManager.BRIGHTNESS_MIN); in getBrightnessAdjusted()
|
/frameworks/native/services/powermanager/include/android/ |
D | PowerSaveState.h | 38 float brightnessFactor = 0.5f) 43 mBrightnessFactor(brightnessFactor) { in mBatterySaverEnabled()
|
/frameworks/base/core/tests/coretests/jni/ |
D | NativePowerManagerTest.cpp | 64 jint locationMode, jint soundTriggerMode, jfloat brightnessFactor) { in nativeObtainPowerSaveStateParcel() argument 69 static_cast<float>(brightnessFactor)); in nativeObtainPowerSaveStateParcel() 83 jint locationMode, jint soundTriggerMode, jfloat brightnessFactor) { in nativeUnparcelAndVerifyPowerSaveState() argument 95 static_cast<float>(brightnessFactor)); in nativeUnparcelAndVerifyPowerSaveState()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerGroup.java | 470 mDisplayPowerRequest.screenLowPowerBrightnessFactor = powerSaverState.brightnessFactor; in updateLocked()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/ |
D | BatterySaverPolicyTest.java | 253 assertThat(screenState.brightnessFactor).isWithin(PRECISION).of(BRIGHTNESS_FACTOR); in verifyBatterySaverConstantsUpdated()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 37630 Landroid/os/PowerSaveState;->brightnessFactor:F
|