/aosp12/frameworks/native/libs/gui/tests/ |
H A D | BufferQueue_test.cpp | 147 mProducer->dequeueBuffer(&slot, &fence, 0, 0, 0, GRALLOC_USAGE_SW_WRITE_OFTEN, in TEST_F() 210 mProducer->dequeueBuffer(&slot, &fence, 1, 1, 0, GRALLOC_USAGE_SW_READ_OFTEN, in TEST_F() 287 mProducer->dequeueBuffer(&slot, &fence, 1, 1, 0, GRALLOC_USAGE_SW_READ_OFTEN, in TEST_F() 520 mProducer->dequeueBuffer(&slot, &fence, WIDTH * 2, HEIGHT * 2, 0, in TEST_F() 538 mProducer->dequeueBuffer(&slot, &fence, 0, 0, 0, 0, nullptr, nullptr)); in TEST_F() 832 mProducer->dequeueBuffer(&slot, &fence, 0, 0, 0, 0, nullptr, nullptr)); in TEST_F() 844 mProducer->dequeueBuffer(&slot, &fence, 0, 0, 0, 0, nullptr, nullptr)); in TEST_F() 931 ASSERT_EQ(OK, mProducer->dequeueBuffer(&slot, &fence, 0, 0, 0, 0, nullptr, nullptr)); in TEST_F() 933 ASSERT_EQ(OK, mProducer->dequeueBuffer(&slot, &fence, 0, 0, 0, 0, nullptr, nullptr)); in TEST_F() 948 ASSERT_EQ(OK, mProducer->dequeueBuffer(&slot, &fence, 0, 0, 0, 0, nullptr, nullptr)); in TEST_F() [all …]
|
H A D | StreamSplitter_test.cpp | 86 inputProducer->dequeueBuffer(&slot, &fence, 0, 0, 0, GRALLOC_USAGE_SW_WRITE_OFTEN, in TEST_F() 120 inputProducer->dequeueBuffer(&slot, &fence, 0, 0, 0, GRALLOC_USAGE_SW_WRITE_OFTEN, in TEST_F() 158 inputProducer->dequeueBuffer(&slot, &fence, 0, 0, 0, GRALLOC_USAGE_SW_WRITE_OFTEN, in TEST_F() 195 inputProducer->dequeueBuffer(&slot, &fence, 0, 0, 0, GRALLOC_USAGE_SW_WRITE_OFTEN, in TEST_F() 223 inputProducer->dequeueBuffer(&slot, &fence, 0, 0, 0, GRALLOC_USAGE_SW_WRITE_OFTEN, in TEST_F() 237 inputProducer->dequeueBuffer(&slot, &fence, 0, 0, 0, GRALLOC_USAGE_SW_WRITE_OFTEN, in TEST_F()
|
H A D | IGraphicBufferProducer_test.cpp | 244 status_t dequeueBuffer(uint32_t w, uint32_t h, uint32_t format, uint32_t usage, in dequeueBuffer() function in android::IGraphicBufferProducerTest 247 mProducer->dequeueBuffer(&result->slot, &result->fence, w, h, format, usage, in dequeueBuffer() 264 (mProducer->dequeueBuffer(slot, fence, DEFAULT_WIDTH, DEFAULT_HEIGHT, in setupDequeueRequestBuffer() 448 (mProducer->dequeueBuffer(&dequeuedSlot, &dequeuedFence, DEFAULT_WIDTH, in TEST_P() 597 (mProducer->dequeueBuffer(&dequeuedSlot, &dequeuedFence, DEFAULT_WIDTH, in TEST_P() 740 (mProducer->dequeueBuffer(&dequeuedSlot, &dequeuedFence, DEFAULT_WIDTH, in TEST_P() 804 (dequeueBuffer(DEFAULT_WIDTH, DEFAULT_HEIGHT, DEFAULT_FORMAT, in TEST_P() 824 (mProducer->dequeueBuffer(&dequeuedSlot, &dequeuedFence, DEFAULT_WIDTH, in TEST_P() 861 (mProducer->dequeueBuffer(&dequeuedSlot, &dequeuedFence, DEFAULT_WIDTH, in TEST_P() 904 (mProducer->dequeueBuffer(&dequeuedSlot, &dequeuedFence, DEFAULT_WIDTH, in TEST_P() [all …]
|
H A D | Malicious.cpp | 40 status_t dequeueBuffer(int* slot, sp<Fence>* fence, uint32_t w, uint32_t h, PixelFormat format, in dequeueBuffer() function in android::test::ProxyBQP 43 return mProducer->dequeueBuffer(slot, fence, w, h, format, usage, outBufferAge, in dequeueBuffer() 112 status_t dequeueBuffer(int* buf, sp<Fence>* fence, uint32_t width, uint32_t height, in dequeueBuffer() function in android::test::MaliciousBQP 116 mProducer->dequeueBuffer(buf, fence, width, height, format, usage, outBufferAge, in dequeueBuffer()
|
H A D | Surface_test.cpp | 371 ASSERT_EQ(NO_ERROR, window->dequeueBuffer(window.get(), &buffer, &fenceFd)); in TEST_F() 388 ASSERT_EQ(NO_ERROR, window->dequeueBuffer(window.get(), &buffer, &fenceFd)); in TEST_F() 527 ASSERT_EQ(NO_ERROR, window->dequeueBuffer(window.get(), &buffer, &fence)); in TEST_F() 531 ASSERT_EQ(NO_ERROR, window->dequeueBuffer(window.get(), &buffer, &fence)); in TEST_F() 630 anw->dequeueBuffer(anw.get(), &buffer, &fenceFd); in TEST_F() 1140 mWindow->dequeueBuffer(mWindow.get(), &buffer, &fence)); in dequeueAndQueue() 1976 ASSERT_EQ(NO_ERROR, window->dequeueBuffer(window.get(), &buffer, &fence)); in TEST_F() 1983 ASSERT_EQ(NO_ERROR, window->dequeueBuffer(window.get(), &buffer, &fence)); in TEST_F() 1990 ASSERT_EQ(NO_ERROR, window->dequeueBuffer(window.get(), &buffer, &fence)); in TEST_F() 1997 ASSERT_EQ(NO_ERROR, window->dequeueBuffer(window.get(), &buffer, &fence)); in TEST_F() [all …]
|
H A D | BLASTBufferQueue_test.cpp | 282 auto ret = igbp->dequeueBuffer(&slot, &fence, mDisplayWidth, mDisplayHeight, in queueBuffer() 360 auto ret = igbProducer->dequeueBuffer(&slot, &fence, mDisplayWidth, mDisplayHeight, in TEST_F() 392 auto ret = igbProducer->dequeueBuffer(&slot, &fence, mDisplayWidth, mDisplayHeight, in TEST_F() 435 auto ret = igbProducer->dequeueBuffer(&slot, &fence, mDisplayWidth, mDisplayHeight, in TEST_F() 450 auto ret = igbProducer->dequeueBuffer(&slot, &fence, mDisplayWidth, mDisplayHeight, in TEST_F() 476 auto ret = igbProducer->dequeueBuffer(&slot, &fence, mDisplayWidth, mDisplayHeight, in TEST_F() 531 auto ret = igbProducer->dequeueBuffer(&slot, &fence, bufferSideLength, bufferSideLength, in TEST_F() 590 auto ret = igbProducer->dequeueBuffer(&slot, &fence, bufferSize.getWidth(), in TEST_F() 657 auto ret = igbProducer->dequeueBuffer(&slot, &fence, bufferSize.getWidth(), in TEST_F() 1037 auto ret = igbProducer->dequeueBuffer(&slot, &fence, mDisplayWidth, mDisplayHeight, in TEST_F() [all …]
|
/aosp12/hardware/google/graphics/common/libhwjpeg/ |
H A D | LibScalerForJpeg.h | 56 bool dequeueBuffer(unsigned int buftype, unsigned int memtype); 78 bool dequeueBuffer() { return mDevice.dequeueBuffer(bufferType, memoryType); } in dequeueBuffer() function 93 if (!mSrcImage.dequeueBuffer() || !mDstImage.dequeueBuffer()) { in queue()
|
/aosp12/hardware/interfaces/graphics/bufferqueue/2.0/ |
H A D | IGraphicBufferProducer.hal | 146 * Output data for dequeueBuffer(). 148 * A `DequeueBufferOutput` object returned from dequeueBuffer() shall be 228 dequeueBuffer( 274 * @sa dequeueBuffer(), requestBuffer(), detachBuffer(). 293 * See dequeueBuffer() for conditions that may cause the call to fail. 304 * @sa dequeueBuffer(). 420 * @sa #QueueBufferInput, #QueueBufferOutput, dequeueBuffer(). 437 * dequeueBuffer(). 562 * Sets whether dequeueBuffer() is allowed to allocate new buffers. 574 * dequeueBuffer(). [all …]
|
/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/mock/ |
H A D | NativeWindow.cpp | 28 return static_cast<NativeWindow*>(window)->dequeueBuffer(buffer, fenceFd); in forwardDequeueBuffer() 91 return static_cast<NativeWindow*>(window)->dequeueBuffer(buffer, &ignoredFenceFd); in forwardDequeueBufferDeprecated() 108 ANativeWindow::dequeueBuffer = &forwardDequeueBuffer; in NativeWindow()
|
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/mock/system/window/ |
H A D | MockNativeWindow.cpp | 58 return static_cast<NativeWindow*>(window)->dequeueBuffer(buffer, fenceFd); in dispatch_dequeueBuffer() 84 ANativeWindow::dequeueBuffer = &dispatch_dequeueBuffer; in NativeWindow()
|
H A D | MockNativeWindow.h | 41 MOCK_METHOD2(dequeueBuffer, int(struct ANativeWindowBuffer**, int*));
|
/aosp12/hardware/interfaces/graphics/bufferqueue/1.0/ |
H A D | IGraphicBufferProducer.hal | 247 * If dequeueBuffer returns the RELEASE_ALL_BUFFERS flag, the client is 295 dequeueBuffer( 332 * detachNextBuffer is equivalent to calling dequeueBuffer, requestBuffer, 343 * equivalent to fence from the dequeueBuffer call. 445 * will usually be the one obtained from dequeueBuffer. 558 * from the producer to the consumer without using dequeueBuffer/ 578 * same way as for dequeueBuffer, and the async flag must be set the same 581 * dequeueBuffer. If there are already the maximum number of buffers 592 * Sets whether dequeueBuffer is allowed to allocate new buffers. 594 * Normally dequeueBuffer does not discriminate between free slots which [all …]
|
/aosp12/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | VirtualDisplaySurface.cpp | 327 status_t VirtualDisplaySurface::dequeueBuffer(Source source, in dequeueBuffer() function in android::VirtualDisplaySurface 332 mSource[source]->dequeueBuffer(sslot, fence, mSinkBufferWidth, mSinkBufferHeight, in dequeueBuffer() 378 status_t VirtualDisplaySurface::dequeueBuffer(int* pslot, sp<Fence>* fence, uint32_t w, uint32_t h, in dequeueBuffer() function in android::VirtualDisplaySurface 383 return mSource[SOURCE_SINK]->dequeueBuffer(pslot, fence, w, h, format, usage, outBufferAge, in dequeueBuffer() 439 result = dequeueBuffer(source, format, usage, &sslot, fence); in dequeueBuffer() 653 status_t result = dequeueBuffer(SOURCE_SINK, mOutputFormat, mOutputUsage, in refreshOutputBuffer()
|
H A D | VirtualDisplaySurface.h | 107 virtual status_t dequeueBuffer(int* pslot, sp<Fence>*, uint32_t w, uint32_t h, PixelFormat, 136 status_t dequeueBuffer(Source, PixelFormat, uint64_t usage, int* sslot, sp<Fence>*);
|
/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
H A D | RenderSurface.cpp | 150 std::shared_ptr<renderengine::ExternalTexture> RenderSurface::dequeueBuffer( in dequeueBuffer() function in android::compositionengine::impl::RenderSurface 156 status_t result = mNativeWindow->dequeueBuffer(mNativeWindow.get(), &buffer, &fd); in dequeueBuffer() 216 dequeueBuffer(&unused); in queueBuffer()
|
/aosp12/frameworks/native/services/surfaceflinger/ |
H A D | MonitoredProducer.cpp | 57 status_t MonitoredProducer::dequeueBuffer(int* slot, sp<Fence>* fence, uint32_t w, uint32_t h, in dequeueBuffer() function in android::MonitoredProducer 61 return mProducer->dequeueBuffer(slot, fence, w, h, format, usage, outBufferAge, outTimestamps); in dequeueBuffer()
|
/aosp12/hardware/qcom/display/msm8994/liboverlay/ |
H A D | overlayWriteback.cpp | 165 bool Writeback::dequeueBuffer() { in dequeueBuffer() function in overlay::Writeback 182 if(!dequeueBuffer()) { in writeSync()
|
/aosp12/hardware/qcom/display/msm8084/liboverlay/ |
H A D | overlayWriteback.cpp | 161 bool Writeback::dequeueBuffer() { in dequeueBuffer() function in overlay::Writeback 178 if(!dequeueBuffer()) { in writeSync()
|
/aosp12/hardware/qcom/display/msm8226/liboverlay/ |
H A D | overlayWriteback.cpp | 161 bool Writeback::dequeueBuffer() { in dequeueBuffer() function in overlay::Writeback 178 if(!dequeueBuffer()) { in writeSync()
|
/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/ |
H A D | NativeWindow.h | 39 MOCK_METHOD2(dequeueBuffer, int(struct ANativeWindowBuffer**, int*));
|
H A D | RenderSurface.h | 42 MOCK_METHOD1(dequeueBuffer, std::shared_ptr<renderengine::ExternalTexture>(base::unique_fd*));
|
/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
H A D | RenderSurfaceTest.cpp | 238 EXPECT_CALL(*mNativeWindow, dequeueBuffer(_, _)) in TEST_F() 243 EXPECT_EQ(buffer.get(), mSurface.dequeueBuffer(&fence)->getBuffer().get()); in TEST_F() 317 EXPECT_CALL(*mNativeWindow, dequeueBuffer(_, _)) in TEST_F()
|
/aosp12/frameworks/native/libs/nativedisplay/include/surfacetexture/ |
H A D | ImageConsumer.h | 44 sp<GraphicBuffer> dequeueBuffer(int* outSlotid, android_dataspace* outDataspace,
|
/aosp12/frameworks/base/libs/hwui/renderthread/ |
H A D | ReliableSurface.cpp | 176 ANativeWindow_dequeueBufferFn dequeueBuffer, void* data, in hook_dequeueBuffer() argument 189 int result = dequeueBuffer(window, buffer, fenceFd); in hook_dequeueBuffer()
|
/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/ |
H A D | RenderSurface.h | 84 virtual std::shared_ptr<renderengine::ExternalTexture> dequeueBuffer(
|