Searched refs:EVENT_BUFFER_SIZE (Results 1 – 7 of 7) sorted by relevance
/frameworks/native/libs/gui/ |
D | DisplayEventDispatcher.cpp | 34 static const size_t EVENT_BUFFER_SIZE = 100; variable 138 DisplayEventReceiver::Event buf[EVENT_BUFFER_SIZE]; in processPendingEvents() 140 while ((n = mReceiver.getEvents(buf, EVENT_BUFFER_SIZE)) > 0) { in processPendingEvents()
|
/frameworks/base/libs/input/ |
D | PointerControllerContext.cpp | 26 const int EVENT_BUFFER_SIZE = 100; variable 184 DisplayEventReceiver::Event buf[EVENT_BUFFER_SIZE]; in handleVsyncEvents() 185 while ((n = mDisplayEventReceiver.getEvents(buf, EVENT_BUFFER_SIZE)) > 0) { in handleVsyncEvents()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobPackageTracker.java | 43 private static final int EVENT_BUFFER_SIZE = 100; field in JobPackageTracker 54 private final RingBufferIndices mEventIndices = new RingBufferIndices(EVENT_BUFFER_SIZE); 55 private final int[] mEventCmds = new int[EVENT_BUFFER_SIZE]; 56 private final long[] mEventTimes = new long[EVENT_BUFFER_SIZE]; 57 private final int[] mEventUids = new int[EVENT_BUFFER_SIZE]; 58 private final String[] mEventTags = new String[EVENT_BUFFER_SIZE]; 59 private final int[] mEventJobIds = new int[EVENT_BUFFER_SIZE]; 60 private final String[] mEventReasons = new String[EVENT_BUFFER_SIZE];
|
/frameworks/native/services/inputflinger/tests/ |
D | EventHub_test.cpp | 102 static constexpr size_t EVENT_BUFFER_SIZE = 256; in getEvents() local 103 std::array<RawEvent, EVENT_BUFFER_SIZE> eventBuffer; in getEvents()
|
/frameworks/native/services/inputflinger/reader/include/ |
D | InputReader.h | 172 static const int EVENT_BUFFER_SIZE = 256; variable 173 RawEvent mEventBuffer[EVENT_BUFFER_SIZE] GUARDED_BY(mLock);
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/ |
D | DeviceIdleController.java | 281 private static final int EVENT_BUFFER_SIZE = 100; field in DeviceIdleController 583 private final int[] mEventCmds = new int[EVENT_BUFFER_SIZE]; 584 private final long[] mEventTimes = new long[EVENT_BUFFER_SIZE]; 585 private final String[] mEventReasons = new String[EVENT_BUFFER_SIZE]; 589 System.arraycopy(mEventCmds, 0, mEventCmds, 1, EVENT_BUFFER_SIZE - 1); in addEvent() 590 System.arraycopy(mEventTimes, 0, mEventTimes, 1, EVENT_BUFFER_SIZE - 1); in addEvent() 591 System.arraycopy(mEventReasons, 0, mEventReasons, 1, EVENT_BUFFER_SIZE - 1); in addEvent() 4818 for (int i=EVENT_BUFFER_SIZE-1; i>=0; i--) { in dump()
|
/frameworks/native/services/inputflinger/reader/ |
D | InputReader.cpp | 108 size_t count = mEventHub->getEvents(timeoutMillis, mEventBuffer, EVENT_BUFFER_SIZE); in loopOnce()
|