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/inputflinger/reader/include/ |
D | InputReader.h | 138 RawEvent mEventBuffer[EVENT_BUFFER_SIZE]; variable
|
/frameworks/native/services/sensorservice/ |
D | SensorDevice.h | 285 std::array<Event, SensorEventQueue::MAX_RECEIVE_BUFFER_EVENT_COUNT> mEventBuffer; variable
|
D | SensorDevice.cpp | 586 size_t eventsToRead = std::min({availableEvents, maxNumEventsToRead, mEventBuffer.size()}); in pollFmq() 588 if (mSensors->getEventQueue()->read(mEventBuffer.data(), eventsToRead)) { in pollFmq() 594 convertToSensorEvent(mEventBuffer[i], &buffer[i]); in pollFmq()
|
/frameworks/native/services/inputflinger/reader/ |
D | InputReader.cpp | 107 size_t count = mEventHub->getEvents(timeoutMillis, mEventBuffer, EVENT_BUFFER_SIZE); in loopOnce() 114 processEventsLocked(mEventBuffer, count); in loopOnce()
|