Home
last modified time | relevance | path

Searched refs:STATE_DOZE (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeScreenStatePreventingAdapter.java43 if (state == Display.STATE_DOZE || state == Display.STATE_DOZE_SUSPEND) { in setDozeScreenState()
DDozeMachine.java95 return Display.STATE_DOZE; // TODO: use STATE_ON if appropriate. in screenState()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeMachineTest.java232 assertEquals(Display.STATE_DOZE, mServiceFake.screenState); in testScreen_onInAod()
242 assertEquals(Display.STATE_DOZE, mServiceFake.screenState); in testScreen_onInPulse()
262 assertEquals(Display.STATE_DOZE, mServiceFake.screenState); in testScreen_onInRequestPulseWithoutAoD()
DDozeScreenStatePreventingAdapterTest.java66 mWrapper.setDozeScreenState(Display.STATE_DOZE); in forwards_setDozeScreenState_doze()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayPowerController.java598 state = Display.STATE_DOZE; in updatePowerState()
661 && (state == Display.STATE_DOZE || state == Display.STATE_DOZE_SUSPEND); in updatePowerState()
703 if (brightness < 0 && (state == Display.STATE_DOZE in updatePowerState()
774 || state == Display.STATE_DOZE) in updatePowerState()
1021 } else if (target == Display.STATE_DOZE) {
1032 if (!setScreenState(Display.STATE_DOZE)) {
1051 if (!setScreenState(Display.STATE_DOZE)) {
DLocalDisplayAdapter.java147 case Display.STATE_DOZE: in getPowerModeForState()
468 setDisplayState(Display.STATE_DOZE); in requestDisplayStateLocked()
469 currentState = Display.STATE_DOZE; in requestDisplayStateLocked()
/frameworks/base/core/java/android/view/
DDisplay.java286 public static final int STATE_DOZE = 3; field in Display
1100 case STATE_DOZE: in stateToString()
DViewRootImpl.java1135 && (displayState == Display.STATE_DOZE in pokeDrawLockIfNeeded()
/frameworks/base/services/core/java/com/android/server/policy/
DBurnInProtectionHelper.java255 if (mDisplay.getState() == Display.STATE_DOZE in onDisplayChanged()
/frameworks/base/core/java/android/os/
DBatteryStats.java890 case Display.STATE_DOZE: out.append('d'); break; in encodeEntryAt()
902 case Display.STATE_DOZE: out.append('D'); break; in encodeEntryAt()
929 case 'd': out |= (((long)Display.STATE_DOZE-1)<<STEP_LEVEL_INITIAL_MODE_SHIFT); in decodeEntryAt()
944 case 'D': out |= (((long)Display.STATE_DOZE-1)<<STEP_LEVEL_MODIFIED_MODE_SHIFT); in decodeEntryAt()
2532 (Display.STATE_DOZE-1),
2533 (Display.STATE_DOZE-1)|STEP_LEVEL_MODE_POWER_SAVE,
5697 case Display.STATE_DOZE: lineArgs[2] = "sd"; break; in dumpDurationSteps()
5726 case Display.STATE_DOZE: pw.print("screen-doze"); break; in dumpDurationSteps()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java234 if (mDisplayState == Display.STATE_DOZE
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java2353 mDisplayPowerRequest.dozeScreenState = Display.STATE_DOZE; in updateDisplayPowerStateLocked()
4649 case Display.STATE_DOZE: in setDozeOverrideFromDreamManager()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt32102 field public static final int STATE_DOZE = 3; // 0x3
/frameworks/base/api/
Dcurrent.txt43727 field public static final int STATE_DOZE = 3; // 0x3
Dsystem-current.txt47266 field public static final int STATE_DOZE = 3; // 0x3