Home
last modified time | relevance | path

Searched refs:getModifier (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/clamper/
DBrightnessLowPowerModeModifierTest.java58 assertEquals(0, mBuilder.getBrightnessReason().getModifier()); in testApply_lowPowerModeOff()
68 mBuilder.getBrightnessReason().getModifier()); in testApply_lowPowerModeOn()
80 mBuilder.getBrightnessReason().getModifier()); in testApply_lowPowerModeOnAndLowPowerBrightnessFactorHigh()
90 assertEquals(0, mBuilder.getBrightnessReason().getModifier()); in testApply_lowPowerModeOnAndMinBrightness()
103 builder.getBrightnessReason().getModifier()); in testApply_lowPowerModeOnAndLowPowerAlreadyApplied()
116 assertEquals(0, builder.getBrightnessReason().getModifier()); in testApply_lowPowerModeOffAfterLowPowerOn()
DDisplayDimModifierTest.java81 assertEquals(0, mBuilder.getBrightnessReason().getModifier()); in testApply_noDimPolicy()
92 mBuilder.getBrightnessReason().getModifier()); in testApply_dimPolicyFromResources()
102 mBuilder.getBrightnessReason().getModifier()); in testApply_dimPolicyFromConfig()
115 builder.getBrightnessReason().getModifier()); in testApply_dimPolicyAndDimPolicyAlreadyApplied()
125 assertEquals(0, mBuilder.getBrightnessReason().getModifier()); in testApply_dimPolicyAndMinBrightness()
138 assertEquals(0, builder.getBrightnessReason().getModifier()); in testApply_dimPolicyOffAfterDimPolicyOn()
DBrightnessClamperControllerTest.java182 state.getBrightnessReason().getModifier() & BrightnessReason.MODIFIER_THROTTLED); in testClamp_inactiveClamperNotApplied()
206 state.getBrightnessReason().getModifier() & BrightnessReason.MODIFIER_THROTTLED); in testClamp_activeClamperApplied_brightnessAboveMax()
230 state.getBrightnessReason().getModifier() & BrightnessReason.MODIFIER_THROTTLED); in testClamp_activeClamperApplied_brightnessBelowMax()
257 state.getBrightnessReason().getModifier() & BrightnessReason.MODIFIER_THROTTLED); in testClamp_activeClamperAppliedTwoTimes_keepsSlowChange()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/
DBrightnessReasonTest.java44 assertEquals(mBrightnessReason.getModifier(), 0); in setSetsAppropriateValues()
49 assertEquals(mBrightnessReason.getModifier(), BrightnessReason.MODIFIER_THROTTLED); in setSetsAppropriateValues()
68 assertEquals(0, mBrightnessReason.getModifier()); in setModifierDoesntSetIfModifierIsBeyondExtremes()
85 assertEquals(mBrightnessReason.getModifier(), in addModifierWorksAsExpected()
/frameworks/base/services/core/java/com/android/server/display/brightness/clamper/
DBrightnessModifier.java38 abstract int getModifier(); in getModifier() method in BrightnessModifier
49 stateBuilder.getBrightnessReason().addModifier(getModifier()); in apply()
DBrightnessLowPowerModeModifier.java44 int getModifier() { in getModifier() method in BrightnessLowPowerModeModifier
DDisplayDimModifier.java67 int getModifier() { in getModifier() method in DisplayDimModifier
DBrightnessLowLuxModifier.java165 int getModifier() { in getModifier() method in BrightnessLowLuxModifier
/frameworks/base/services/core/java/com/android/server/display/brightness/
DBrightnessReason.java169 public int getModifier() { in getModifier() method in BrightnessReason
/frameworks/base/services/core/java/com/android/server/display/
DDisplayPowerController.java1558 mBrightnessReasonTemp.addModifier(clampedState.getBrightnessReason().getModifier()); in updatePowerStateInternal()
1637 && (mBrightnessReasonTemp.getModifier() & BrightnessReason.MODIFIER_DIMMED) == 0 in updatePowerStateInternal()
1638 && (mBrightnessReasonTemp.getModifier() & BrightnessReason.MODIFIER_LOW_POWER) in updatePowerStateInternal()
2885 int modifier = event.getReason().getModifier(); in logBrightnessEvent()
/frameworks/base/services/
Dart-wear-profile10933 PLcom/android/server/display/brightness/BrightnessReason;->getModifier()I
11040 PLcom/android/server/display/brightness/clamper/DisplayDimModifier;->getModifier()I