Searched defs:NUM_BUFFER_SLOTS (Results 1 - 4 of 4) sorted by relevance

/frameworks/native/include/gui/
H A DBufferQueueDefs.h29 enum { NUM_BUFFER_SLOTS = 64 }; enumerator in enum:android::BufferQueueDefs::__anon1246
31 typedef BufferSlot SlotsType[NUM_BUFFER_SLOTS];
H A DBufferQueue.h35 enum { NUM_BUFFER_SLOTS = BufferQueueDefs::NUM_BUFFER_SLOTS }; enumerator in enum:android::BufferQueue::__anon1239
46 enum { MAX_MAX_ACQUIRED_BUFFERS = NUM_BUFFER_SLOTS - 2 };
H A DSurface.h178 enum { NUM_BUFFER_SLOTS = BufferQueue::NUM_BUFFER_SLOTS }; enumerator in enum:android::Surface::__anon1259
202 BufferSlot mSlots[NUM_BUFFER_SLOTS];
/frameworks/native/libs/gui/tests/
H A DIGraphicBufferProducer_test.cpp282 EXPECT_GE(BufferQueue::NUM_BUFFER_SLOTS, value);
339 EXPECT_GT(BufferQueue::NUM_BUFFER_SLOTS, dequeuedSlot);
381 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(BufferQueue::NUM_BUFFER_SLOTS,
513 ASSERT_OK(mProducer->setBufferCount(BufferQueue::NUM_BUFFER_SLOTS));
515 // Should now be able to dequeue up to NUM_BUFFER_SLOTS times
516 for (int i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; ++i) {
539 EXPECT_EQ(BAD_VALUE, mProducer->setBufferCount(BufferQueue::NUM_BUFFER_SLOTS + 1))
540 << "bufferCount: " << BufferQueue::NUM_BUFFER_SLOTS + 1; member in class:android::BufferQueue

Completed in 387 milliseconds