Home
last modified time | relevance | path

Searched refs:getLastSleepReason (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeScreenBrightnessTest.java477 when(mWakefulnessLifecycle.getLastSleepReason()).thenReturn( in transitionToDoze_shouldClampBrightness_afterTimeout_clampsToDim()
494 when(mWakefulnessLifecycle.getLastSleepReason()).thenReturn( in transitionToDoze_shouldClampBrightness_notAfterTimeout_doesNotClampToDim()
510 when(mWakefulnessLifecycle.getLastSleepReason()).thenReturn( in transitionToDoze_noClampBrightness_afterTimeout_noScreenOff_doesNotClampToDim()
523 when(mWakefulnessLifecycle.getLastSleepReason()).thenReturn( in transitionToDoze_noClampBrightness_afterTimeout_clampsToDim()
536 when(mWakefulnessLifecycle.getLastSleepReason()).thenReturn( in transitionToDoze_noClampBrigthness_notAfterTimeout_doesNotClampToDim()
/frameworks/base/core/java/android/os/
DIPowerManager.aidl118 int getLastSleepReason(); in getLastSleepReason() method
DPowerManager.java3012 public int getLastSleepReason() { in getLastSleepReason() method in PowerManager
3014 return mService.getLastSleepReason(); in getLastSleepReason()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DWakefulnessLifecycle.java129 public @PowerManager.GoToSleepReason int getLastSleepReason() { in getLastSleepReason() method in WakefulnessLifecycle
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePowerManager.java352 public int getLastSleepReason() { in getLastSleepReason() method in BridgePowerManager
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeScreenBrightness.java289 && mWakefulnessLifecycle.getLastSleepReason() == GO_TO_SLEEP_REASON_TIMEOUT) { in clampToDimBrightnessForScreenOff()
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DPowerManagerServiceTest.java1471 assertThat(mService.getBinderServiceInstance().getLastSleepReason()).isEqualTo( in testInattentiveSleep_goesToSleepAfterTimeout()
1493 assertThat(mService.getBinderServiceInstance().getLastSleepReason()).isEqualTo( in testInattentiveSleep_goesToSleepWithWakeLock()
1514 assertThat(mService.getBinderServiceInstance().getLastSleepReason()).isEqualTo( in testInattentiveSleep_dreamEnds_goesToSleepAfterTimeout()
1542 assertThat(mService.getBinderServiceInstance().getLastSleepReason()).isEqualTo( in testInattentiveSleep_wakeLockOnAfterRelease_inattentiveSleepTimeoutNotAffected()
1564 assertThat(mService.getBinderServiceInstance().getLastSleepReason()).isEqualTo( in testInattentiveSleep_userActivityNoChangeLights_inattentiveSleepTimeoutNotAffected()
2163 assertThat(mService.getBinderServiceInstance().getLastSleepReason()).isEqualTo( in testMultiDisplay_updatesLastGlobalWakeTime()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DCentralSurfacesImpl.java2403 && mWakefulnessLifecycle.getLastSleepReason() in updateRevealEffect()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java6639 public int getLastSleepReason() {