Home
last modified time | relevance | path

Searched refs:nextTimeout (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java2023 long nextTimeout = 0; in updateUserActivitySummaryLocked() local
2035 nextTimeout = mLastUserActivityTime in updateUserActivitySummaryLocked()
2037 if (now < nextTimeout) { in updateUserActivitySummaryLocked()
2040 nextTimeout = mLastUserActivityTime + screenOffTimeout; in updateUserActivitySummaryLocked()
2041 if (now < nextTimeout) { in updateUserActivitySummaryLocked()
2048 nextTimeout = mLastUserActivityTimeNoChangeLights + screenOffTimeout; in updateUserActivitySummaryLocked()
2049 if (now < nextTimeout) { in updateUserActivitySummaryLocked()
2064 nextTimeout = anyUserActivity + sleepTimeout; in updateUserActivitySummaryLocked()
2065 if (now < nextTimeout) { in updateUserActivitySummaryLocked()
2071 nextTimeout = -1; in updateUserActivitySummaryLocked()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DAttentionDetectorTest.java173 long nextTimeout = mAttentionDetector.updateUserActivity(mNextDimming + 5000L); in testUpdateUserActivity_schedulesTheNextCheck() local
174 assertThat(nextTimeout).isEqualTo(mNextDimming + 5000L); in testUpdateUserActivity_schedulesTheNextCheck()