Searched refs:getLastSleepReason (Results 1 – 9 of 9) sorted by relevance
477 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()
118 int getLastSleepReason(); in getLastSleepReason() method
3012 public int getLastSleepReason() { in getLastSleepReason() method in PowerManager3014 return mService.getLastSleepReason(); in getLastSleepReason()
129 public @PowerManager.GoToSleepReason int getLastSleepReason() { in getLastSleepReason() method in WakefulnessLifecycle
352 public int getLastSleepReason() { in getLastSleepReason() method in BridgePowerManager
289 && mWakefulnessLifecycle.getLastSleepReason() == GO_TO_SLEEP_REASON_TIMEOUT) { in clampToDimBrightnessForScreenOff()
1471 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()
2403 && mWakefulnessLifecycle.getLastSleepReason() in updateRevealEffect()
6639 public int getLastSleepReason() {