Home
last modified time | relevance | path

Searched refs:MAX_QUEUE_SIZE (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/inputflinger/reader/
DTouchVideoDevice.cpp48 mFrames.reserve(MAX_QUEUE_SIZE); in TouchVideoDevice()
171 if (mFrames.size() > MAX_QUEUE_SIZE) { in readAndQueueFrames()
172 ALOGE("More than %zu frames have been accumulated. Dropping %zu frames", MAX_QUEUE_SIZE, in readAndQueueFrames()
173 mFrames.size() - MAX_QUEUE_SIZE); in readAndQueueFrames()
174 mFrames.erase(mFrames.begin(), mFrames.end() - MAX_QUEUE_SIZE); in readAndQueueFrames()
/frameworks/native/services/inputflinger/reader/include/
DTouchVideoDevice.h105 static constexpr size_t MAX_QUEUE_SIZE = 10; variable