/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/clamper/ |
D | BrightnessLowPowerModeModifierTest.java | 58 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()
|
D | DisplayDimModifierTest.java | 81 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()
|
D | BrightnessClamperControllerTest.java | 182 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/ |
D | BrightnessReasonTest.java | 44 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/ |
D | BrightnessModifier.java | 38 abstract int getModifier(); in getModifier() method in BrightnessModifier 49 stateBuilder.getBrightnessReason().addModifier(getModifier()); in apply()
|
D | BrightnessLowPowerModeModifier.java | 44 int getModifier() { in getModifier() method in BrightnessLowPowerModeModifier
|
D | DisplayDimModifier.java | 67 int getModifier() { in getModifier() method in DisplayDimModifier
|
D | BrightnessLowLuxModifier.java | 165 int getModifier() { in getModifier() method in BrightnessLowLuxModifier
|
/frameworks/base/services/core/java/com/android/server/display/brightness/ |
D | BrightnessReason.java | 169 public int getModifier() { in getModifier() method in BrightnessReason
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayPowerController.java | 1558 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/ |
D | art-wear-profile | 10933 PLcom/android/server/display/brightness/BrightnessReason;->getModifier()I 11040 PLcom/android/server/display/brightness/clamper/DisplayDimModifier;->getModifier()I
|