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.java461 when(mWakefulnessLifecycle.getLastSleepReason()).thenReturn( in transitionToDoze_shouldClampBrightness_afterTimeout_clampsToDim()
478 when(mWakefulnessLifecycle.getLastSleepReason()).thenReturn( in transitionToDoze_shouldClampBrightness_notAfterTimeout_doesNotClampToDim()
494 when(mWakefulnessLifecycle.getLastSleepReason()).thenReturn( in transitionToDoze_noClampBrightness_afterTimeout_noScreenOff_doesNotClampToDim()
507 when(mWakefulnessLifecycle.getLastSleepReason()).thenReturn( in transitionToDoze_noClampBrightness_afterTimeout_clampsToDim()
520 when(mWakefulnessLifecycle.getLastSleepReason()).thenReturn( in transitionToDoze_noClampBrigthness_notAfterTimeout_doesNotClampToDim()
/frameworks/base/core/java/android/os/
DIPowerManager.aidl82 int getLastSleepReason(); in getLastSleepReason() method
DPowerManager.java2749 public int getLastSleepReason() { in getLastSleepReason() method in PowerManager
2751 return mService.getLastSleepReason(); in getLastSleepReason()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePowerManager.java287 public int getLastSleepReason() { in getLastSleepReason() method in BridgePowerManager
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DWakefulnessLifecycle.java125 public @PowerManager.GoToSleepReason int getLastSleepReason() { in getLastSleepReason() method in WakefulnessLifecycle
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeScreenBrightness.java282 && mWakefulnessLifecycle.getLastSleepReason() == GO_TO_SLEEP_REASON_TIMEOUT) { in clampToDimBrightnessForScreenOff()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DPowerManagerServiceTest.java1271 assertThat(mService.getBinderServiceInstance().getLastSleepReason()).isEqualTo( in testInattentiveSleep_goesToSleepAfterTimeout()
1292 assertThat(mService.getBinderServiceInstance().getLastSleepReason()).isEqualTo( in testInattentiveSleep_dreamEnds_goesToSleepAfterTimeout()
1314 assertThat(mService.getBinderServiceInstance().getLastSleepReason()).isEqualTo( in testInattentiveSleep_goesToSleepWithWakeLock()
1342 assertThat(mService.getBinderServiceInstance().getLastSleepReason()).isEqualTo( in testInattentiveSleep_wakeLockOnAfterRelease_inattentiveSleepTimeoutNotAffected()
1364 assertThat(mService.getBinderServiceInstance().getLastSleepReason()).isEqualTo( in testInattentiveSleep_userActivityNoChangeLights_inattentiveSleepTimeoutNotAffected()
1963 assertThat(mService.getBinderServiceInstance().getLastSleepReason()).isEqualTo( in testMultiDisplay_updatesLastGlobalWakeTime()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DCentralSurfacesImpl.java3342 && mWakefulnessLifecycle.getLastSleepReason() in updateRevealEffect()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java6183 public int getLastSleepReason() {