Searched refs:mEventBuffer (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/com/android/internal/midi/ |
D | EventScheduler.java | 32 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/sensorservice/ |
D | SensorDevice.h | 248 std::array<Event, SensorEventQueue::MAX_RECEIVE_BUFFER_EVENT_COUNT> mEventBuffer; variable
|
D | SensorDevice.cpp | 484 size_t eventsToRead = std::min({availableEvents, maxNumEventsToRead, mEventBuffer.size()}); in pollFmq() 486 if (mEventQueue->read(mEventBuffer.data(), eventsToRead)) { in pollFmq() 492 convertToSensorEvent(mEventBuffer[i], &buffer[i]); in pollFmq()
|
/frameworks/native/services/inputflinger/ |
D | InputReader.h | 195 RawEvent mEventBuffer[EVENT_BUFFER_SIZE]; variable
|
D | InputReader.cpp | 308 size_t count = mEventHub->getEvents(timeoutMillis, mEventBuffer, EVENT_BUFFER_SIZE); in loopOnce() 315 processEventsLocked(mEventBuffer, count); in loopOnce()
|