/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | CachingTest.cpp | 53 EXPECT_EQ(BufferQueue::NUM_BUFFER_SLOTS - 1, slot); in TEST_F() 59 EXPECT_EQ(BufferQueue::NUM_BUFFER_SLOTS - 2, slot); in TEST_F() 62 EXPECT_EQ(BufferQueue::NUM_BUFFER_SLOTS - 2, slot); in TEST_F() 65 EXPECT_EQ(BufferQueue::NUM_BUFFER_SLOTS - 1, slot); in TEST_F() 73 for (uint32_t i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in TEST_F() 80 EXPECT_EQ(BufferQueue::NUM_BUFFER_SLOTS - (i + 1), slot); in TEST_F() 83 for (uint32_t i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in TEST_F() 85 EXPECT_EQ(BufferQueue::NUM_BUFFER_SLOTS - (i + 1), slot); in TEST_F() 88 for (uint32_t i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in TEST_F() 93 EXPECT_EQ(BufferQueue::NUM_BUFFER_SLOTS - (i + 1), slot); in TEST_F()
|
/frameworks/native/libs/gui/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 | 338 enum { NUM_BUFFER_SLOTS = BufferQueueDefs::NUM_BUFFER_SLOTS }; enumerator 383 BufferSlot mSlots[NUM_BUFFER_SLOTS];
|
D | BufferQueueCore.h | 63 enum { MAX_MAX_ACQUIRED_BUFFERS = BufferQueueDefs::NUM_BUFFER_SLOTS - 2 };
|
/frameworks/av/media/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/ |
D | OutputBufferQueue.h | 72 sp<GraphicBuffer> mBuffers[BufferQueueDefs::NUM_BUFFER_SLOTS]; // find a better way 73 std::weak_ptr<_C2BlockPoolData> mPoolDatas[BufferQueueDefs::NUM_BUFFER_SLOTS];
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | HwcBufferCacheTest.cpp | 78 testSlot(BufferQueue::NUM_BUFFER_SLOTS - 1, BufferQueue::NUM_BUFFER_SLOTS - 1); in TEST_F()
|
/frameworks/av/media/codec2/vndk/platform/ |
D | C2BqBuffer.cpp | 37 using ::android::BufferQueueDefs::NUM_BUFFER_SLOTS; 493 for (int i = 0; i < NUM_BUFFER_SLOTS; ++i) { in ~Impl() 581 poolDatas[NUM_BUFFER_SLOTS]; in configureProducer() 583 sp<GraphicBuffer> buffers[NUM_BUFFER_SLOTS]; in configureProducer() 586 for (int i = 0; i < NUM_BUFFER_SLOTS; ++i) { in configureProducer() 607 for (int i = 0; i < NUM_BUFFER_SLOTS; ++i) { in configureProducer() 622 for (int i = 0; i < NUM_BUFFER_SLOTS; ++i) { in configureProducer() 663 sp<GraphicBuffer> mBuffers[NUM_BUFFER_SLOTS]; 664 std::weak_ptr<C2BufferQueueBlockPoolData> mPoolDatas[NUM_BUFFER_SLOTS]; 713 if (bqSlot < 0 || bqSlot >= NUM_BUFFER_SLOTS || !buffers[bqSlot]) { in migrate()
|
/frameworks/av/media/codec2/hidl/1.0/utils/ |
D | OutputBufferQueue.cpp | 163 sp<GraphicBuffer> buffers[BufferQueueDefs::NUM_BUFFER_SLOTS]; in configure() 165 poolDatas[BufferQueueDefs::NUM_BUFFER_SLOTS]; in configure() 175 for (int i = 0; i < BufferQueueDefs::NUM_BUFFER_SLOTS; ++i) { in configure() 203 for (int i = 0; i < BufferQueueDefs::NUM_BUFFER_SLOTS; ++i) { in configure()
|
/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/ui/include_vndk/ui/ |
D | BufferQueueDefs.h | 25 static constexpr int NUM_BUFFER_SLOTS = 64; variable
|
/frameworks/native/libs/ui/include/ui/ |
D | BufferQueueDefs.h | 25 static constexpr int NUM_BUFFER_SLOTS = 64; variable
|
/frameworks/native/libs/gui/tests/ |
D | IGraphicBufferProducer_test.cpp | 245 EXPECT_GT(BufferQueue::NUM_BUFFER_SLOTS, *slot); in setupDequeueRequestBuffer() 331 EXPECT_GE(BufferQueue::NUM_BUFFER_SLOTS, value); in TEST_P() 390 EXPECT_GT(BufferQueue::NUM_BUFFER_SLOTS, dequeuedSlot); in TEST_P() 432 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(BufferQueue::NUM_BUFFER_SLOTS, in TEST_P() 537 const int maxBuffers = BufferQueue::NUM_BUFFER_SLOTS - minUndequeuedBuffers; in TEST_P() 588 const int maxBuffers = BufferQueue::NUM_BUFFER_SLOTS - minUndequeuedBuffers; in TEST_P() 714 EXPECT_GT(BufferQueue::NUM_BUFFER_SLOTS, slot); in TEST_P()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/ |
D | HwcBufferCache.h | 63 wp<GraphicBuffer> mBuffers[BufferQueue::NUM_BUFFER_SLOTS];
|
/frameworks/native/libs/gui/ |
D | ConsumerBase.cpp | 188 for (int i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in onBuffersReleased() 214 for (int i =0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in abandonLocked() 358 for (int i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in discardFreeBuffers() 510 if (slot < 0 || slot >= BufferQueue::NUM_BUFFER_SLOTS) { in stillTracking()
|
D | BufferQueueConsumer.cpp | 327 if (slot < 0 || slot >= BufferQueueDefs::NUM_BUFFER_SLOTS) { in detachBuffer() 329 slot, BufferQueueDefs::NUM_BUFFER_SLOTS); in detachBuffer() 442 if (slot < 0 || slot >= BufferQueueDefs::NUM_BUFFER_SLOTS || in releaseBuffer() 566 for (int s = 0; s < BufferQueueDefs::NUM_BUFFER_SLOTS; ++s) { in getReleasedBuffers() 609 if (bufferCount < 1 || bufferCount > BufferQueueDefs::NUM_BUFFER_SLOTS) { in setMaxBufferCount()
|
D | BufferQueueProducer.cpp | 105 if (slot < 0 || slot >= BufferQueueDefs::NUM_BUFFER_SLOTS) { in requestBuffer() 107 slot, BufferQueueDefs::NUM_BUFFER_SLOTS); in requestBuffer() 159 if (bufferCount > BufferQueueDefs::NUM_BUFFER_SLOTS) { in setMaxDequeuedBufferCount() 161 "(max %d)", bufferCount, BufferQueueDefs::NUM_BUFFER_SLOTS); in setMaxDequeuedBufferCount() 643 if (slot < 0 || slot >= BufferQueueDefs::NUM_BUFFER_SLOTS) { in detachBuffer() 645 slot, BufferQueueDefs::NUM_BUFFER_SLOTS); in detachBuffer() 860 if (slot < 0 || slot >= BufferQueueDefs::NUM_BUFFER_SLOTS) { in queueBuffer() 862 slot, BufferQueueDefs::NUM_BUFFER_SLOTS); in queueBuffer() 1097 if (slot < 0 || slot >= BufferQueueDefs::NUM_BUFFER_SLOTS) { in cancelBuffer() 1099 slot, BufferQueueDefs::NUM_BUFFER_SLOTS); in cancelBuffer()
|
D | BufferQueueCore.cpp | 114 mMaxBufferCount(BufferQueueDefs::NUM_BUFFER_SLOTS), in BufferQueueCore() 139 for (int s = numStartingBuffers; s < BufferQueueDefs::NUM_BUFFER_SLOTS; in BufferQueueCore() 379 for (int slot = 0; slot < BufferQueueDefs::NUM_BUFFER_SLOTS; ++slot) { in validateConsistencyLocked()
|
/frameworks/native/libs/nativedisplay/include/surfacetexture/ |
D | ImageConsumer.h | 84 ImageSlot mImageSlots[BufferQueueDefs::NUM_BUFFER_SLOTS];
|
D | EGLConsumer.h | 294 EglSlot mEglSlots[BufferQueueDefs::NUM_BUFFER_SLOTS];
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | HwcBufferCache.cpp | 39 slot >= BufferQueue::NUM_BUFFER_SLOTS) { in getHwcBuffer()
|
/frameworks/native/libs/vr/libbufferhubqueue/tests/ |
D | buffer_hub_queue_producer-test.cpp | 134 ASSERT_GT(BufferQueueDefs::NUM_BUFFER_SLOTS, *outSlot); in DequeueBuffer() 200 EXPECT_GE(BufferQueueDefs::NUM_BUFFER_SLOTS, value); in TEST_F() 279 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(BufferQueueDefs::NUM_BUFFER_SLOTS, in TEST_F() 386 BufferQueueDefs::NUM_BUFFER_SLOTS - minUndequeuedBuffers; in TEST_F() 429 BufferQueueDefs::NUM_BUFFER_SLOTS - minUndequeuedBuffers; in TEST_F()
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3BufferManager.h | 205 static const size_t kMaxBufferCount = BufferQueueDefs::NUM_BUFFER_SLOTS;
|
/frameworks/base/libs/hwui/renderthread/ |
D | VulkanSurface.h | 115 NativeBufferInfo mNativeBuffers[android::BufferQueueDefs::NUM_BUFFER_SLOTS];
|