Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DDisplayEventDispatcher.cpp34 static const size_t EVENT_BUFFER_SIZE = 100; variable
121 DisplayEventReceiver::Event buf[EVENT_BUFFER_SIZE]; in processPendingEvents()
123 while ((n = mReceiver.getEvents(buf, EVENT_BUFFER_SIZE)) > 0) { in processPendingEvents()
/frameworks/base/services/core/java/com/android/server/job/
DJobPackageTracker.java44 private static final int EVENT_BUFFER_SIZE = 100; field in JobPackageTracker
55 private final RingBufferIndices mEventIndices = new RingBufferIndices(EVENT_BUFFER_SIZE);
56 private final int[] mEventCmds = new int[EVENT_BUFFER_SIZE];
57 private final long[] mEventTimes = new long[EVENT_BUFFER_SIZE];
58 private final int[] mEventUids = new int[EVENT_BUFFER_SIZE];
59 private final String[] mEventTags = new String[EVENT_BUFFER_SIZE];
60 private final int[] mEventJobIds = new int[EVENT_BUFFER_SIZE];
61 private final String[] mEventReasons = new String[EVENT_BUFFER_SIZE];
/frameworks/base/libs/hwui/renderthread/
DRenderThread.cpp55 static const size_t EVENT_BUFFER_SIZE = 100; variable
74 DisplayEventReceiver::Event buf[EVENT_BUFFER_SIZE]; in latestVsyncEvent()
77 while ((n = mDisplayEventReceiver->getEvents(buf, EVENT_BUFFER_SIZE)) > 0) { in latestVsyncEvent()
/frameworks/native/services/inputflinger/reader/include/
DInputReader.h126 static const int EVENT_BUFFER_SIZE = 256; variable
127 RawEvent mEventBuffer[EVENT_BUFFER_SIZE];
/frameworks/base/libs/input/
DPointerController.cpp44 static const int EVENT_BUFFER_SIZE = 100; variable
518 DisplayEventReceiver::Event buf[EVENT_BUFFER_SIZE]; in handleEvent()
519 while ((n = controller->mDisplayEventReceiver.getEvents(buf, EVENT_BUFFER_SIZE)) > 0) { in handleEvent()
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java273 private static final int EVENT_BUFFER_SIZE = 100; field in DeviceIdleController
565 private final int[] mEventCmds = new int[EVENT_BUFFER_SIZE];
566 private final long[] mEventTimes = new long[EVENT_BUFFER_SIZE];
567 private final String[] mEventReasons = new String[EVENT_BUFFER_SIZE];
571 System.arraycopy(mEventCmds, 0, mEventCmds, 1, EVENT_BUFFER_SIZE - 1); in addEvent()
572 System.arraycopy(mEventTimes, 0, mEventTimes, 1, EVENT_BUFFER_SIZE - 1); in addEvent()
573 System.arraycopy(mEventReasons, 0, mEventReasons, 1, EVENT_BUFFER_SIZE - 1); in addEvent()
4411 for (int i=EVENT_BUFFER_SIZE-1; i>=0; i--) { in dump()
/frameworks/native/services/inputflinger/reader/
DInputReader.cpp101 size_t count = mEventHub->getEvents(timeoutMillis, mEventBuffer, EVENT_BUFFER_SIZE); in loopOnce()