Home
last modified time | relevance | path

Searched refs:kNumElementsInQueue (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/tests/msgq/1.0/default/
DTestMsgQ.cpp47 static constexpr size_t kNumElementsInQueue = 1024; in getFmqUnsyncWrite() local
52 ::ashmem_create_region("UnsyncWrite", kNumElementsInQueue * kElementSizeBytes)); in getFmqUnsyncWrite()
55 kNumElementsInQueue, false, std::move(ringbufferFd), in getFmqUnsyncWrite()
56 kNumElementsInQueue * kElementSizeBytes)); in getFmqUnsyncWrite()
DBenchmarkMsgQ.cpp32 static constexpr size_t kNumElementsInQueue = 16 * 1024; in configureClientInboxSyncReadWrite() local
34 kSynchronizedReadWrite>(kNumElementsInQueue); in configureClientInboxSyncReadWrite()
48 static constexpr size_t kNumElementsInQueue = 16 * 1024; in configureClientOutboxSyncReadWrite() local
50 kSynchronizedReadWrite>(kNumElementsInQueue); in configureClientOutboxSyncReadWrite()
/hardware/interfaces/media/bufferpool/aidl/default/
DBufferStatus.cpp50 static constexpr int kNumElementsInQueue = 1024*16; variable
59 auto queue = std::make_unique<BufferStatusQueue>(kNumElementsInQueue); in open()
117 return avail + kMinElementsToSyncInQueue < kNumElementsInQueue; in needsSync()
225 mBufferInvalidationQueue->availableToRead(), (size_t) kNumElementsInQueue); in BufferInvalidationListener()
238 mBufferInvalidationQueue->availableToRead(), (size_t) kNumElementsInQueue); in getInvalidations()
261 std::make_unique<BufferInvalidationQueue>(kNumElementsInQueue, true)) { in BufferInvalidationChannel()