Home
last modified time | relevance | path

Searched refs:EVENT_BUFFER_SIZE (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/libs/androidfw/
DDisplayEventDispatcher.cpp34 static const size_t EVENT_BUFFER_SIZE = 100; variable
118 DisplayEventReceiver::Event buf[EVENT_BUFFER_SIZE]; in processPendingEvents()
120 while ((n = mReceiver.getEvents(buf, EVENT_BUFFER_SIZE)) > 0) { in processPendingEvents()
/frameworks/base/services/core/java/com/android/server/job/
DJobPackageTracker.java37 private static final int EVENT_BUFFER_SIZE = 100; field in JobPackageTracker
43 private final RingBufferIndices mEventIndices = new RingBufferIndices(EVENT_BUFFER_SIZE);
44 private final int[] mEventCmds = new int[EVENT_BUFFER_SIZE];
45 private final long[] mEventTimes = new long[EVENT_BUFFER_SIZE];
46 private final int[] mEventUids = new int[EVENT_BUFFER_SIZE];
47 private final String[] mEventTags = new String[EVENT_BUFFER_SIZE];
/frameworks/base/libs/hwui/renderthread/
DRenderThread.cpp39 static const size_t EVENT_BUFFER_SIZE = 100; variable
215 DisplayEventReceiver::Event buf[EVENT_BUFFER_SIZE]; in latestVsyncEvent()
218 while ((n = receiver->getEvents(buf, EVENT_BUFFER_SIZE)) > 0) { in latestVsyncEvent()
/frameworks/base/libs/input/
DPointerController.cpp52 static const int EVENT_BUFFER_SIZE = 100; variable
477 DisplayEventReceiver::Event buf[EVENT_BUFFER_SIZE]; in handleEvent()
478 while ((n = mDisplayEventReceiver.getEvents(buf, EVENT_BUFFER_SIZE)) > 0) { in handleEvent()
/frameworks/base/core/jni/
Dandroid_view_DisplayEventReceiver.cpp42 static const size_t EVENT_BUFFER_SIZE = 100; variable
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java113 private static final int EVENT_BUFFER_SIZE = 100; field in DeviceIdleController
311 private final int[] mEventCmds = new int[EVENT_BUFFER_SIZE];
312 private final long[] mEventTimes = new long[EVENT_BUFFER_SIZE];
316 System.arraycopy(mEventCmds, 0, mEventCmds, 1, EVENT_BUFFER_SIZE - 1); in addEvent()
317 System.arraycopy(mEventTimes, 0, mEventTimes, 1, EVENT_BUFFER_SIZE - 1); in addEvent()
2855 for (int i=EVENT_BUFFER_SIZE-1; i>=0; i--) { in dump()
/frameworks/native/services/inputflinger/
DInputReader.h518 static const int EVENT_BUFFER_SIZE = 256; variable
519 RawEvent mEventBuffer[EVENT_BUFFER_SIZE];
DInputReader.cpp294 size_t count = mEventHub->getEvents(timeoutMillis, mEventBuffer, EVENT_BUFFER_SIZE); in loopOnce()