Home
last modified time | relevance | path

Searched refs:mRecentEvents (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/sensorservice/
DRecentEventLogger.cpp34 mRecentEvents(logSizeBySensorType(sensorType)) { in RecentEventLogger()
40 mRecentEvents.emplace(event); in addEvent()
44 return mRecentEvents.size() == 0; in isEmpty()
53 buffer.appendFormat("last %zu events\n", mRecentEvents.size()); in dump()
55 for (int i = mRecentEvents.size() - 1; i >= 0; --i) { in dump()
56 const auto& ev = mRecentEvents[i]; in dump()
78 if (mRecentEvents.size()) { in populateLastEvent()
80 *event = mRecentEvents[0].mEvent; in populateLastEvent()
DRecentEventLogger.h58 RingBuffer<SensorEventLog> mRecentEvents; variable
/frameworks/base/core/java/android/view/
DInputEventConsistencyVerifier.java66 private InputEvent[] mRecentEvents; field in InputEventConsistencyVerifier
676 if (RECENT_EVENTS_TO_LOG != 0 && mRecentEvents != null) { in finishEvent()
681 final InputEvent event = mRecentEvents[index]; in finishEvent()
700 if (mRecentEvents == null) { in finishEvent()
701 mRecentEvents = new InputEvent[RECENT_EVENTS_TO_LOG]; in finishEvent()
706 if (mRecentEvents[index] != null) { in finishEvent()
707 mRecentEvents[index].recycle(); in finishEvent()
709 mRecentEvents[index] = mCurrentEvent.copy(); in finishEvent()