Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/midi/
DEventScheduler.java32 volatile private SortedMap<Long, FastEventQueue> mEventBuffer; field in EventScheduler
38 mEventBuffer = new TreeMap<Long, FastEventQueue>(); in EventScheduler()
153 FastEventQueue list = mEventBuffer.get(event.getTimestamp()); in add()
155 long lowestTime = mEventBuffer.isEmpty() ? Long.MAX_VALUE in add()
156 : mEventBuffer.firstKey(); in add()
158 mEventBuffer.put(event.getTimestamp(), list); in add()
172 FastEventQueue list = mEventBuffer.get(lowestTime); in removeNextEventLocked()
175 mEventBuffer.remove(lowestTime); in removeNextEventLocked()
190 if (!mEventBuffer.isEmpty()) { in getNextEvent()
191 long lowestTime = mEventBuffer.firstKey(); in getNextEvent()
[all …]
/frameworks/native/services/inputflinger/
DInputReader.h483 RawEvent mEventBuffer[EVENT_BUFFER_SIZE]; variable
DInputReader.cpp376 size_t count = mEventHub->getEvents(timeoutMillis, mEventBuffer, EVENT_BUFFER_SIZE); in loopOnce()
383 processEventsLocked(mEventBuffer, count); in loopOnce()