Home
last modified time | relevance | path

Searched refs:mEventBuffer (Results 1 – 6 of 6) 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/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/legacy/
DNotificationGroupManagerLegacy.java80 private final EventBuffer mEventBuffer = new EventBuffer(); field in NotificationGroupManagerLegacy
329 mEventBuffer.notifyAlertOverrideChanged(group, prevAlertOverride); in updateSuppression()
336 mEventBuffer.notifyGroupsChanged(); in updateSuppression()
820 mEventBuffer.startBuffering(); in updateIsolation()
829 mEventBuffer.flushAndStopBuffering(); in updateIsolation()
/frameworks/native/services/sensorservice/
DSensorDevice.h289 std::array<Event, SensorEventQueue::MAX_RECEIVE_BUFFER_EVENT_COUNT> mEventBuffer; variable
DSensorDevice.cpp593 size_t eventsToRead = std::min({availableEvents, maxNumEventsToRead, mEventBuffer.size()}); in pollFmq()
595 if (mSensors->getEventQueue()->read(mEventBuffer.data(), eventsToRead)) { in pollFmq()
601 convertToSensorEvent(mEventBuffer[i], &buffer[i]); in pollFmq()
/frameworks/native/services/inputflinger/reader/include/
DInputReader.h173 RawEvent mEventBuffer[EVENT_BUFFER_SIZE] GUARDED_BY(mLock);
/frameworks/native/services/inputflinger/reader/
DInputReader.cpp108 size_t count = mEventHub->getEvents(timeoutMillis, mEventBuffer, EVENT_BUFFER_SIZE); in loopOnce()
115 processEventsLocked(mEventBuffer, count); in loopOnce()