Searched refs:updateUserActivity (Results 1 – 4 of 4) sorted by relevance
178 mAttentionDetector.updateUserActivity(mNextDimming + 5000L); in testUpdateUserActivity_ignoresWhenItsNotTimeYet()187 long nextTimeout = mAttentionDetector.updateUserActivity(mNextDimming + 5000L); in testUpdateUserActivity_schedulesTheNextCheck()195 mAttentionDetector.updateUserActivity(now + 2000L); in testOnUserActivity_ignoresAfterMaximumExtension()206 long redundantWhen = mAttentionDetector.updateUserActivity(mNextDimming); in testOnUserActivity_ignoresIfAlreadyDoneForThatNextScreenDimming()215 long when = mAttentionDetector.updateUserActivity(mNextDimming + 1); in testOnUserActivity_skipsIfAlreadyScheduled()307 return mAttentionDetector.updateUserActivity(mNextDimming); in registerAttention()
172 public long updateUserActivity(long nextScreenDimming) { in updateUserActivity() method in AttentionDetector
2108 nextTimeout = mAttentionDetector.updateUserActivity(nextTimeout); in updateUserActivitySummaryLocked()
12416 HSPLcom/android/server/power/AttentionDetector;->updateUserActivity(J)J