Home
last modified time | relevance | path

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

/aosp14/frameworks/base/libs/input/
H A DPointerControllerContext.cpp26 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()
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
H A DJobPackageTracker.java43 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];
/aosp14/frameworks/base/services/core/java/com/android/server/inputmethod/
H A DHandwritingModeController.java60 private static final int EVENT_BUFFER_SIZE = 100; field in HandwritingModeController
64 private static final int LONG_EVENT_BUFFER_SIZE = EVENT_BUFFER_SIZE * 20;
208 return EVENT_BUFFER_SIZE; in getHandwritingBufferSize()
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/
H A DDeviceIdleController.java314 private static final int EVENT_BUFFER_SIZE = 100; field in DeviceIdleController
658 private final int[] mEventCmds = new int[EVENT_BUFFER_SIZE];
659 private final long[] mEventTimes = new long[EVENT_BUFFER_SIZE];
660 private final String[] mEventReasons = new String[EVENT_BUFFER_SIZE];
664 System.arraycopy(mEventCmds, 0, mEventCmds, 1, EVENT_BUFFER_SIZE - 1); in addEvent()
665 System.arraycopy(mEventTimes, 0, mEventTimes, 1, EVENT_BUFFER_SIZE - 1); in addEvent()
666 System.arraycopy(mEventReasons, 0, mEventReasons, 1, EVENT_BUFFER_SIZE - 1); in addEvent()
5191 for (int i=EVENT_BUFFER_SIZE-1; i>=0; i--) { in dump()