Searched refs:getLastSleepReason (Results 1 – 9 of 9) sorted by relevance
461 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()
82 int getLastSleepReason(); in getLastSleepReason() method
2749 public int getLastSleepReason() { in getLastSleepReason() method in PowerManager2751 return mService.getLastSleepReason(); in getLastSleepReason()
287 public int getLastSleepReason() { in getLastSleepReason() method in BridgePowerManager
125 public @PowerManager.GoToSleepReason int getLastSleepReason() { in getLastSleepReason() method in WakefulnessLifecycle
282 && mWakefulnessLifecycle.getLastSleepReason() == GO_TO_SLEEP_REASON_TIMEOUT) { in clampToDimBrightnessForScreenOff()
1271 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()
3342 && mWakefulnessLifecycle.getLastSleepReason() in updateRevealEffect()
6183 public int getLastSleepReason() {