Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeSuspendScreenStatePreventingAdapterTest.java67 mWrapper.setDozeScreenState(Display.STATE_DOZE); in forwards_setDozeScreenState_doze()
68 verify(mInner).setDozeScreenState(Display.STATE_DOZE); in forwards_setDozeScreenState_doze()
74 verify(mInner).setDozeScreenState(Display.STATE_DOZE); in forwards_setDozeScreenState_doze_suspend()
DDozeScreenStatePreventingAdapterTest.java67 mWrapper.setDozeScreenState(Display.STATE_DOZE); in forwards_setDozeScreenState_doze()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeSuspendScreenStatePreventingAdapter.java38 state = Display.STATE_DOZE; in setDozeScreenState()
DDozeScreenStatePreventingAdapter.java37 if (state == Display.STATE_DOZE) { in setDozeScreenState()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsNoteTest.java211 bi.updateTimeBasesLocked(false, Display.STATE_DOZE, 10, 10); in testUpdateTimeBasesLocked()
219 bi.updateTimeBasesLocked(true, Display.STATE_DOZE, 40, 40); in testUpdateTimeBasesLocked()
235 bi.noteScreenStateLocked(Display.STATE_DOZE); in testNoteScreenStateLocked()
237 assertEquals(bi.getScreenState(), Display.STATE_DOZE); in testNoteScreenStateLocked()
281 bi.noteScreenStateLocked(Display.STATE_DOZE); in testNoteScreenStateTimersLocked()
/frameworks/base/core/java/android/view/
DDisplay.java317 public static final int STATE_DOZE = ViewProtoEnums.DISPLAY_STATE_DOZE; // 3 field in Display
1202 case STATE_DOZE: in stateToString()
1230 return state == STATE_DOZE || state == STATE_DOZE_SUSPEND; in isDozeState()
DViewRootImpl.java1411 && (displayState == Display.STATE_DOZE in pokeDrawLockIfNeeded()
/frameworks/base/services/core/java/com/android/server/display/
DLocalDisplayAdapter.java150 case Display.STATE_DOZE: in getPowerModeForState()
511 setDisplayState(Display.STATE_DOZE); in requestDisplayStateLocked()
512 currentState = Display.STATE_DOZE; in requestDisplayStateLocked()
DDisplayPowerController.java794 state = Display.STATE_DOZE; in updatePowerState()
1387 } else if (target == Display.STATE_DOZE) {
1398 if (!setScreenState(Display.STATE_DOZE)) {
1417 if (!setScreenState(Display.STATE_DOZE)) {
/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.java1206 case Display.STATE_DOZE: out.append('d'); break; in encodeEntryAt()
1218 case Display.STATE_DOZE: out.append('D'); break; in encodeEntryAt()
1245 case 'd': out |= (((long)Display.STATE_DOZE-1)<<STEP_LEVEL_INITIAL_MODE_SHIFT); in decodeEntryAt()
1260 case 'D': out |= (((long)Display.STATE_DOZE-1)<<STEP_LEVEL_MODIFIED_MODE_SHIFT); in decodeEntryAt()
3012 (Display.STATE_DOZE-1),
3013 (Display.STATE_DOZE-1)|STEP_LEVEL_MODE_POWER_SAVE,
6715 case Display.STATE_DOZE: lineArgs[2] = "sd"; break; in dumpDurationSteps()
6744 case Display.STATE_DOZE: pw.print("screen-doze"); break; in dumpDurationSteps()
6794 case Display.STATE_DOZE: in dumpDurationSteps()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java268 if (mDisplayState == Display.STATE_DOZE
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java2488 mDisplayPowerRequest.dozeScreenState = Display.STATE_DOZE; in updateDisplayPowerStateLocked()
4925 case Display.STATE_DOZE: in setDozeOverrideFromDreamManager()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java10404 return state == Display.STATE_DOZE || state == Display.STATE_DOZE_SUSPEND; in isScreenDoze()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt32102 field public static final int STATE_DOZE = 3; // 0x3
/frameworks/base/non-updatable-api/
Dcurrent.txt49977 field public static final int STATE_DOZE = 3; // 0x3
/frameworks/base/api/
Dcurrent.txt50121 field public static final int STATE_DOZE = 3; // 0x3