Searched refs:REASON_DOZE (Results 1 – 7 of 7) sorted by relevance
36 mBrightnessReason = getReason(BrightnessReason.REASON_DOZE, in setUp()75 assertEquals(mBrightnessReason.getReason(), BrightnessReason.REASON_DOZE); in setReasonDoesntSetIfModifierIsBeyondExtremes()79 assertEquals(mBrightnessReason.getReason(), BrightnessReason.REASON_DOZE); in setReasonDoesntSetIfModifierIsBeyondExtremes()86 BrightnessReason.REASON_DOZE | BrightnessReason.REASON_BOOST); in addModifierWorksAsExpected()
45 getReason(BrightnessReason.REASON_DOZE, BrightnessReason.MODIFIER_LOW_POWER)); in setUp()
37 return BrightnessUtils.constructDisplayBrightnessState(BrightnessReason.REASON_DOZE, in updateBrightness()59 return BrightnessReason.REASON_DOZE; in getReason()
33 public static final int REASON_DOZE = 2; field in BrightnessReason191 case REASON_DOZE: in reasonToString()
50 brightnessReason.setReason(BrightnessReason.REASON_DOZE); in testUpdateBrightnessWhenScreenDozeStateIsRequested()
77 REASON_DOZE = 2; enumerator
2853 case BrightnessReason.REASON_DOZE: in convertBrightnessReasonToStatsEnum()