Home
last modified time | relevance | path

Searched refs:lastEventTime (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/
DUsageLogActivity.java66 long lastEventTime = mAdapter.update(events); in run() local
67 if (lastEventTime >= 0) { in run()
68 mLastTime = lastEventTime + 1; in run()
/frameworks/native/services/inputflinger/tests/
DEventHub_test.cpp189 nsecs_t lastEventTime = systemTime(SYSTEM_TIME_MONOTONIC); in TEST_F() local
196 ASSERT_LE(lastEventTime, event.when) << "Event must have occurred after the key was sent"; in TEST_F()
197 ASSERT_LT(std::chrono::nanoseconds(event.when - lastEventTime), 100ms) in TEST_F()
199 lastEventTime = event.when; // Ensure all returned events are monotonic in TEST_F()
/frameworks/base/services/usage/java/com/android/server/usage/
DIntervalStats.java89 public long lastEventTime; field in IntervalStats.EventTracker
107 lastEventTime = timeStamp; in update()
116 ev.mLastEventTime = lastEventTime; in addToEventStats()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java2589 final Long lastEventTime = lastTimeMap.get(key); in dumpRecentHistory() local
2591 if (lastEventTime == null) { in dumpRecentHistory()
2594 final long diff = (lastEventTime - eventTime) / 1000; in dumpRecentHistory()