Home
last modified time | relevance | path

Searched refs:brightnessFactor (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DPowerGroupTest.java253 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/
DPowerSaveState.java40 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/
DPowerManagerTest.java70 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/
DBrightnessLowPowerModeModifier.java38 final float brightnessFactor = in getBrightnessAdjusted() local
40 return Math.max((currentBrightness * brightnessFactor), PowerManager.BRIGHTNESS_MIN); in getBrightnessAdjusted()
/frameworks/native/services/powermanager/include/android/
DPowerSaveState.h38 float brightnessFactor = 0.5f)
43 mBrightnessFactor(brightnessFactor) { in mBatterySaverEnabled()
/frameworks/base/core/tests/coretests/jni/
DNativePowerManagerTest.cpp64 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/
DPowerGroup.java470 mDisplayPowerRequest.screenLowPowerBrightnessFactor = powerSaverState.brightnessFactor; in updateLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/
DBatterySaverPolicyTest.java253 assertThat(screenState.brightnessFactor).isWithin(PRECISION).of(BRIGHTNESS_FACTOR); in verifyBatterySaverConstantsUpdated()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt37630 Landroid/os/PowerSaveState;->brightnessFactor:F