Home
last modified time | relevance | path

Searched refs:WAKEFULNESS_DREAMING (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/os/
DPowerManagerInternal.java48 public static final int WAKEFULNESS_DREAMING = 2; field in PowerManagerInternal
64 case WAKEFULNESS_DREAMING: in wakefulnessToString()
82 case WAKEFULNESS_DREAMING: in wakefulnessToProtoEnum()
83 return PowerManagerInternalProto.WAKEFULNESS_DREAMING; in wakefulnessToProtoEnum()
96 return wakefulness == WAKEFULNESS_AWAKE || wakefulness == WAKEFULNESS_DREAMING; in isInteractive()
/frameworks/base/core/proto/android/os/
Dpowermanager.proto66 WAKEFULNESS_DREAMING = 2; enumerator
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DPowerManagerServiceTest.java22 import static android.os.PowerManagerInternal.WAKEFULNESS_DREAMING;
409 assertThat(mService.getWakefulness()).isEqualTo(WAKEFULNESS_DREAMING); in testWakefulnessAwake_ShouldWakeUpWhenPluggedIn()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java22 import static android.os.PowerManagerInternal.WAKEFULNESS_DREAMING;
1567 setWakefulnessLocked(WAKEFULNESS_DREAMING, 0, eventTime); in napNoUpdateLocked()
1817 if (mIsPowered && mWakefulness == WAKEFULNESS_DREAMING) { in shouldWakeUpWhenPluggedOrUnpluggedLocked()
1916 } else if (mWakefulness == WAKEFULNESS_DREAMING) { in adjustWakeLockSummaryLocked()
2025 || mWakefulness == WAKEFULNESS_DREAMING in updateUserActivitySummaryLocked()
2331 if (wakefulness == WAKEFULNESS_DREAMING) { in handleSandman()
2383 if (mWakefulness != WAKEFULNESS_DREAMING in canDreamLocked()