Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/power/
DWakefulnessSessionObserver.java289 protected @PowerManager.UserActivityEvent int mCurrentUserActivityEvent; field in WakefulnessSessionObserver.WakefulnessSessionPowerGroup
305 mCurrentUserActivityEvent = DEFAULT_USER_ACTIVITY; in WakefulnessSessionPowerGroup()
314 if (event == mCurrentUserActivityEvent) { in notifyUserActivity()
317 mPrevUserActivityEvent = mCurrentUserActivityEvent; in notifyUserActivity()
318 mCurrentUserActivityEvent = event; in notifyUserActivity()
348 int lastUserActivity = mCurrentUserActivityEvent; in onWakefulnessChangeStarted()
376 lastUserActivity = mCurrentUserActivityEvent; in onWakefulnessChangeStarted()
471 writer.println("current user activity event: " + mCurrentUserActivityEvent); in dump()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DWakefulnessSessionObserverTest.java123 .mCurrentUserActivityEvent).isEqualTo(firstActivity); in testOnUserActivity_updateActivity()
131 .mCurrentUserActivityEvent).isEqualTo(newActivity); in testOnUserActivity_updateActivity()
143 .mCurrentUserActivityEvent).isEqualTo(firstActivity); in testOnUserActivity_updateActivity()