Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/power/
DWakefulnessSessionObserver.java287 protected long mCurrentUserActivityTimestamp; field in WakefulnessSessionObserver.WakefulnessSessionPowerGroup
306 mCurrentUserActivityTimestamp = -1; in WakefulnessSessionPowerGroup()
319 mPrevUserActivityTimestamp = mCurrentUserActivityTimestamp; in notifyUserActivity()
320 mCurrentUserActivityTimestamp = eventTime; in notifyUserActivity()
349 long lastUserActivityDurationMs = eventTime - mCurrentUserActivityTimestamp; in onWakefulnessChangeStarted()
377 lastUserActivityDurationMs = eventTime - mCurrentUserActivityTimestamp; in onWakefulnessChangeStarted()
472 final long currentUserActivityDurationMs = now - mCurrentUserActivityTimestamp; in dump()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DWakefulnessSessionObserverTest.java133 .mCurrentUserActivityTimestamp).isEqualTo(newActivityTimestamp); in testOnUserActivity_updateActivity()
145 .mCurrentUserActivityTimestamp).isEqualTo(firstActivityTimestamp); in testOnUserActivity_updateActivity()