Searched refs:nextTimeout (Results 1 – 2 of 2) sorted by relevance
2041 long nextTimeout = 0; in updateUserActivitySummaryLocked() local2053 nextTimeout = mLastUserActivityTime in updateUserActivitySummaryLocked()2055 if (now < nextTimeout) { in updateUserActivitySummaryLocked()2058 nextTimeout = mLastUserActivityTime + screenOffTimeout; in updateUserActivitySummaryLocked()2059 if (now < nextTimeout) { in updateUserActivitySummaryLocked()2066 nextTimeout = mLastUserActivityTimeNoChangeLights + screenOffTimeout; in updateUserActivitySummaryLocked()2067 if (now < nextTimeout) { in updateUserActivitySummaryLocked()2082 nextTimeout = anyUserActivity + sleepTimeout; in updateUserActivitySummaryLocked()2083 if (now < nextTimeout) { in updateUserActivitySummaryLocked()2089 nextTimeout = -1; in updateUserActivitySummaryLocked()[all …]
187 long nextTimeout = mAttentionDetector.updateUserActivity(mNextDimming + 5000L); in testUpdateUserActivity_schedulesTheNextCheck() local188 assertThat(nextTimeout).isEqualTo(mNextDimming + 5000L); in testUpdateUserActivity_schedulesTheNextCheck()