Home
last modified time | relevance | path

Searched refs:WAKEFULNESS_DREAMING (Results 1 – 5 of 5) 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;
427 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;
1578 setWakefulnessLocked(WAKEFULNESS_DREAMING, 0, eventTime); in napNoUpdateLocked()
1835 if (mIsPowered && mWakefulness == WAKEFULNESS_DREAMING) { in shouldWakeUpWhenPluggedOrUnpluggedLocked()
1934 } else if (mWakefulness == WAKEFULNESS_DREAMING) { in adjustWakeLockSummaryLocked()
2043 || mWakefulness == WAKEFULNESS_DREAMING in updateUserActivitySummaryLocked()
2353 if (wakefulness == WAKEFULNESS_DREAMING) { in handleSandman()
2405 if (mWakefulness != WAKEFULNESS_DREAMING in canDreamLocked()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt52122 Landroid/os/PowerManagerInternal;->WAKEFULNESS_DREAMING:I
52127 Landroid/os/PowerManagerInternalProto;->WAKEFULNESS_DREAMING:I