Home
last modified time | relevance | path

Searched refs:WAKEFULNESS_DOZING (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/os/
DPowerManagerInternal.java56 public static final int WAKEFULNESS_DOZING = 3; field in PowerManagerInternal
66 case WAKEFULNESS_DOZING: in wakefulnessToString()
84 case WAKEFULNESS_DOZING: in wakefulnessToProtoEnum()
85 return PowerManagerInternalProto.WAKEFULNESS_DOZING; in wakefulnessToProtoEnum()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DPowerManagerServiceTest.java21 import static android.os.PowerManagerInternal.WAKEFULNESS_DOZING;
435 assertThat(mService.getWakefulness()).isEqualTo(WAKEFULNESS_DOZING); in testWakefulnessAwake_ShouldWakeUpWhenPluggedIn()
454 assertThat(mService.getWakefulness()).isEqualTo(WAKEFULNESS_DOZING); in testWakefulnessDoze_goToSleep()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java21 import static android.os.PowerManagerInternal.WAKEFULNESS_DOZING;
1393 || mWakefulness == WAKEFULNESS_DOZING in userActivityNoUpdateLocked()
1502 || mWakefulness == WAKEFULNESS_DOZING in goToSleepNoUpdateLocked()
1517 setWakefulnessLocked(WAKEFULNESS_DOZING, reason, eventTime); in goToSleepNoUpdateLocked()
1631 if (mWakefulness == WAKEFULNESS_DOZING in finishWakefulnessChangeIfNeededLocked()
1635 if (mWakefulness == WAKEFULNESS_DOZING || mWakefulness == WAKEFULNESS_ASLEEP) { in finishWakefulnessChangeIfNeededLocked()
1827 if (mAlwaysOnEnabled && mWakefulness == WAKEFULNESS_DOZING) { in shouldWakeUpWhenPluggedOrUnpluggedLocked()
1900 if (mWakefulness != WAKEFULNESS_DOZING) { in adjustWakeLockSummaryLocked()
2026 || mWakefulness == WAKEFULNESS_DOZING) { in updateUserActivitySummaryLocked()
2305 mDreamManager.startDream(wakefulness == WAKEFULNESS_DOZING); in handleSandman()
[all …]
/frameworks/base/core/proto/android/os/
Dpowermanager.proto72 WAKEFULNESS_DOZING = 3; enumerator
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt55871 Landroid/os/PowerManagerInternal;->WAKEFULNESS_DOZING:I
55877 Landroid/os/PowerManagerInternalProto;->WAKEFULNESS_DOZING:I