/frameworks/native/include/gui/ |
D | BufferQueue.h | 32 enum { NUM_BUFFER_SLOTS = BufferQueueDefs::NUM_BUFFER_SLOTS }; enumerator 43 enum { MAX_MAX_ACQUIRED_BUFFERS = NUM_BUFFER_SLOTS - 2 };
|
D | BufferQueueDefs.h | 27 typedef BufferSlot SlotsType[NUM_BUFFER_SLOTS];
|
D | Surface.h | 283 enum { NUM_BUFFER_SLOTS = BufferQueueDefs::NUM_BUFFER_SLOTS }; enumerator 308 BufferSlot mSlots[NUM_BUFFER_SLOTS];
|
D | ConsumerBase.h | 229 Slot mSlots[BufferQueueDefs::NUM_BUFFER_SLOTS];
|
D | BufferQueueCore.h | 68 enum { MAX_MAX_ACQUIRED_BUFFERS = BufferQueueDefs::NUM_BUFFER_SLOTS - 2 };
|
D | GLConsumer.h | 492 EglSlot mEglSlots[BufferQueueDefs::NUM_BUFFER_SLOTS];
|
/frameworks/native/libs/gui/ |
D | ConsumerBase.cpp | 146 for (int i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in onBuffersReleased() 172 for (int i =0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in abandonLocked() 262 for (int i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in discardFreeBuffers() 395 if (slot < 0 || slot >= BufferQueue::NUM_BUFFER_SLOTS) { in stillTracking()
|
D | BufferQueueConsumer.cpp | 295 if (slot < 0 || slot >= BufferQueueDefs::NUM_BUFFER_SLOTS) { in detachBuffer() 297 slot, BufferQueueDefs::NUM_BUFFER_SLOTS); in detachBuffer() 410 if (slot < 0 || slot >= BufferQueueDefs::NUM_BUFFER_SLOTS || in releaseBuffer() 532 for (int s = 0; s < BufferQueueDefs::NUM_BUFFER_SLOTS; ++s) { in getReleasedBuffers() 575 if (bufferCount < 1 || bufferCount > BufferQueueDefs::NUM_BUFFER_SLOTS) { in setMaxBufferCount()
|
D | BufferQueueProducer.cpp | 78 if (slot < 0 || slot >= BufferQueueDefs::NUM_BUFFER_SLOTS) { in requestBuffer() 80 slot, BufferQueueDefs::NUM_BUFFER_SLOTS); in requestBuffer() 132 if (bufferCount > BufferQueueDefs::NUM_BUFFER_SLOTS) { in setMaxDequeuedBufferCount() 134 "(max %d)", bufferCount, BufferQueueDefs::NUM_BUFFER_SLOTS); in setMaxDequeuedBufferCount() 593 if (slot < 0 || slot >= BufferQueueDefs::NUM_BUFFER_SLOTS) { in detachBuffer() 595 slot, BufferQueueDefs::NUM_BUFFER_SLOTS); in detachBuffer() 805 if (slot < 0 || slot >= BufferQueueDefs::NUM_BUFFER_SLOTS) { in queueBuffer() 807 slot, BufferQueueDefs::NUM_BUFFER_SLOTS); in queueBuffer() 1032 if (slot < 0 || slot >= BufferQueueDefs::NUM_BUFFER_SLOTS) { in cancelBuffer() 1034 slot, BufferQueueDefs::NUM_BUFFER_SLOTS); in cancelBuffer()
|
D | BufferQueueCore.cpp | 78 mMaxBufferCount(BufferQueueDefs::NUM_BUFFER_SLOTS), in BufferQueueCore() 102 for (int s = numStartingBuffers; s < BufferQueueDefs::NUM_BUFFER_SLOTS; in BufferQueueCore() 312 for (int slot = 0; slot < BufferQueueDefs::NUM_BUFFER_SLOTS; ++slot) { in validateConsistencyLocked()
|
D | Surface.cpp | 519 if (buf < 0 || buf >= NUM_BUFFER_SLOTS) { in dequeueBuffer() 610 for (int i = 0; i < NUM_BUFFER_SLOTS; i++) { in getSlotFromBufferLocked() 1235 for (int i = 0; i < NUM_BUFFER_SLOTS; i++) { in detachNextBuffer() 1489 for (int i = 0; i < NUM_BUFFER_SLOTS; i++) { in freeAllBuffers() 1629 for (size_t i=0 ; i<NUM_BUFFER_SLOTS ; i++) { in lock()
|
/frameworks/native/include/ui/ |
D | BufferQueueDefs.h | 25 static constexpr int NUM_BUFFER_SLOTS = 64; variable
|
/frameworks/av/media/libstagefright/filters/ |
D | GraphicBufferListener.cpp | 132 if (item.mSlot < 0 || item.mSlot >= BufferQueue::NUM_BUFFER_SLOTS) { in getBuffer() 144 if (item.mSlot < 0 || item.mSlot >= BufferQueue::NUM_BUFFER_SLOTS) { in releaseBuffer()
|
D | GraphicBufferListener.h | 65 sp<GraphicBuffer> mBufferSlot[BufferQueue::NUM_BUFFER_SLOTS];
|
/frameworks/native/libs/gui/tests/ |
D | IGraphicBufferProducer_test.cpp | 212 EXPECT_GT(BufferQueue::NUM_BUFFER_SLOTS, *slot); in setupDequeueRequestBuffer() 295 EXPECT_GE(BufferQueue::NUM_BUFFER_SLOTS, value); in TEST_F() 351 EXPECT_GT(BufferQueue::NUM_BUFFER_SLOTS, dequeuedSlot); in TEST_F() 388 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(BufferQueue::NUM_BUFFER_SLOTS, in TEST_F() 490 const int maxBuffers = BufferQueue::NUM_BUFFER_SLOTS - minUndequeuedBuffers; in TEST_F() 543 const int maxBuffers = BufferQueue::NUM_BUFFER_SLOTS - minUndequeuedBuffers; in TEST_F() 656 EXPECT_GT(BufferQueue::NUM_BUFFER_SLOTS, slot); in TEST_F()
|
D | BufferItemConsumer_test.cpp | 128 sp<GraphicBuffer> mBuffers[BufferQueueDefs::NUM_BUFFER_SLOTS];
|
/frameworks/native/libs/vr/libbufferhubqueue/tests/ |
D | buffer_hub_queue_producer-test.cpp | 128 ASSERT_GT(BufferQueueDefs::NUM_BUFFER_SLOTS, *outSlot); in DequeueBuffer() 195 EXPECT_GE(BufferQueueDefs::NUM_BUFFER_SLOTS, static_cast<size_t>(value)); in TEST_F() 275 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(BufferQueueDefs::NUM_BUFFER_SLOTS, in TEST_F() 382 BufferQueueDefs::NUM_BUFFER_SLOTS - minUndequeuedBuffers; in TEST_F() 426 BufferQueueDefs::NUM_BUFFER_SLOTS - minUndequeuedBuffers; in TEST_F()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWComposerBufferCache.cpp | 25 mBuffers.reserve(BufferQueue::NUM_BUFFER_SLOTS); in HWComposerBufferCache()
|
D | VirtualDisplaySurface.h | 180 sp<GraphicBuffer> mProducerBuffers[BufferQueueDefs::NUM_BUFFER_SLOTS];
|
D | VirtualDisplaySurface.cpp | 362 for (uint32_t i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in dequeueBuffer() 664 return BufferQueue::NUM_BUFFER_SLOTS - sslot - 1; in mapSource2ProducerSlot()
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3BufferManager.h | 199 static const size_t kMaxBufferCount = BufferQueueDefs::NUM_BUFFER_SLOTS;
|
/frameworks/av/media/libstagefright/include/ |
D | SurfaceMediaSource.h | 163 SlotData mSlots[BufferQueue::NUM_BUFFER_SLOTS];
|
/frameworks/av/media/libstagefright/ |
D | SurfaceMediaSource.cpp | 403 for (int id = 0; id < BufferQueue::NUM_BUFFER_SLOTS; id++) { in signalBufferReturned() 468 for (int i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in onBuffersReleased()
|
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/ |
D | bufferhub_rpc.h | 164 android::BufferQueueDefs::NUM_BUFFER_SLOTS;
|
/frameworks/av/media/ndk/ |
D | NdkImageReader.cpp | 603 if (maxImages > BufferQueueDefs::NUM_BUFFER_SLOTS) { in AImageReader_newWithUsage() 605 __FUNCTION__, maxImages, BufferQueueDefs::NUM_BUFFER_SLOTS); in AImageReader_newWithUsage()
|