Home
last modified time | relevance | path

Searched refs:queueBuffer (Results 1 – 25 of 93) sorted by relevance

1234

/frameworks/native/libs/gui/tests/
DSurfaceTextureGL_test.cpp52 ASSERT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(), buf->getNativeBuffer(), in TEST_F()
102 ASSERT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(), buf->getNativeBuffer(), in TEST_F()
167 ASSERT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(), in TEST_F()
286 if (mANW->queueBuffer(mANW.get(), buf->getNativeBuffer(), -1) in TEST_F()
464 if (mANW->queueBuffer(mANW.get(), anb, -1) in TEST_F()
512 EXPECT_EQ(OK, mANW->queueBuffer(mANW.get(), anb, -1)); in TEST_F()
515 EXPECT_EQ(OK, mANW->queueBuffer(mANW.get(), anb, -1)); in TEST_F()
526 EXPECT_EQ(OK, mANW->queueBuffer(mANW.get(), anb, -1)); in TEST_F()
554 EXPECT_EQ(OK, mANW->queueBuffer(mANW.get(), anb, -1)); in TEST_F()
586 EXPECT_EQ(OK, mANW->queueBuffer(mANW.get(), anb, -1)); in TEST_F()
[all …]
DBLASTBufferQueue_test.cpp320 void queueBuffer(sp<IGraphicBufferProducer> igbp, uint8_t r, uint8_t g, uint8_t b, in queueBuffer() function in android::BLASTBufferQueueTest
343 igbp->queueBuffer(slot, input, &qbOutput); in queueBuffer()
420 igbProducer->queueBuffer(slot, input, &qbOutput); in TEST_F()
457 igbProducer->queueBuffer(slot, input, &qbOutput); in TEST_F()
508 igbProducer->queueBuffer(slot, input, &qbOutput); in TEST_F()
542 igbProducer->queueBuffer(slot, input, &qbOutput); in TEST_F()
593 igbProducer->queueBuffer(slot, input, &qbOutput); in TEST_F()
647 igbProducer->queueBuffer(slot, input, &qbOutput); in TEST_F()
704 igbProducer->queueBuffer(slot, input, &qbOutput); in TEST_F()
754 igbProducer->queueBuffer(slot, input, &qbOutput); in TEST_F()
[all …]
DSurfaceTextureClient_test.cpp356 ASSERT_EQ(OK, mANW->queueBuffer(mANW.get(), buf[0], -1)); in TEST_F()
364 ASSERT_EQ(OK, mANW->queueBuffer(mANW.get(), buf[0], -1)); in TEST_F()
366 ASSERT_EQ(OK, mANW->queueBuffer(mANW.get(), buf[1], -1)); in TEST_F()
383 ASSERT_EQ(OK, mANW->queueBuffer(mANW.get(), buf[0], -1)); in TEST_F()
384 ASSERT_EQ(OK, mANW->queueBuffer(mANW.get(), buf[1], -1)); in TEST_F()
385 ASSERT_EQ(OK, mANW->queueBuffer(mANW.get(), buf[2], -1)); in TEST_F()
404 ASSERT_EQ(OK, mANW->queueBuffer(mANW.get(), buf[0], -1)); in TEST_F()
407 ASSERT_EQ(OK, mANW->queueBuffer(mANW.get(), buf[1], -1)); in TEST_F()
410 ASSERT_EQ(OK, mANW->queueBuffer(mANW.get(), buf[2], -1)); in TEST_F()
420 ASSERT_EQ(OK, mANW->queueBuffer(mANW.get(), buf[0], -1)); in TEST_F()
[all …]
DBufferQueue_test.cpp159 ASSERT_EQ(OK, mProducer->queueBuffer(slot, input, &output)); in TEST_F()
204 ASSERT_EQ(OK, mProducer->queueBuffer(slot, qbi, &qbo)); in TEST_F()
212 ASSERT_EQ(OK, mProducer->queueBuffer(slot, qbi, &qbo)); in TEST_F()
254 ASSERT_EQ(OK, mProducer->queueBuffer(slot, qbi, &qbo)); in TEST_F()
289 ASSERT_EQ(OK, mProducer->queueBuffer(slot, qbi, &qbo)); in TEST_F()
299 ASSERT_EQ(OK, mProducer->queueBuffer(slot, qbi, &qbo)); in TEST_F()
371 ASSERT_EQ(OK, mProducer->queueBuffer(newSlot, input, &output)); in TEST_F()
401 ASSERT_EQ(OK, mProducer->queueBuffer(slot, input, &output)); in TEST_F()
467 ASSERT_EQ(OK, mProducer->queueBuffer(slot, input, &output)); in TEST_F()
475 ASSERT_EQ(OK, mProducer->queueBuffer(newSlot, input, &output)); in TEST_F()
[all …]
DIGraphicBufferProducer_test.cpp443 ASSERT_OK(mProducer->queueBuffer(dequeuedSlot, input, &output)); in TEST_P()
460 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(dequeuedSlot, input, &output)); in TEST_P()
532 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(/*slot*/-1, input, &output)); in TEST_P()
533 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(/*slot*/0xDEADBEEF, input, &output)); in TEST_P()
534 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(BufferQueue::NUM_BUFFER_SLOTS, in TEST_P()
555 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(/*slot*/0, input, &output)); in TEST_P()
585 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(dequeuedSlot, input, &output)); in TEST_P()
612 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(dequeuedSlot, input, &output)); in TEST_P()
633 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(dequeuedSlot, input, &output)); in TEST_P()
649 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(dequeuedSlot, input, &output)); in TEST_P()
[all …]
DSurfaceTextureFBO_test.cpp52 ASSERT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(), buf->getNativeBuffer(), in TEST_F()
76 ASSERT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(), in TEST_F()
DStreamSplitter_test.cpp83 ASSERT_EQ(OK, inputProducer->queueBuffer(slot, qbInput, &qbOutput)); in TEST_F()
155 ASSERT_EQ(OK, inputProducer->queueBuffer(slot, qbInput, &qbOutput)); in TEST_F()
217 ASSERT_EQ(OK, inputProducer->queueBuffer(slot, qbInput, &qbOutput)); in TEST_F()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DRenderSurfaceTest.cpp268 mSurface.queueBuffer(base::unique_fd(), 0.5f); in TEST_F()
284 EXPECT_CALL(*mNativeWindow, queueBuffer(buffer->getBuffer()->getNativeBuffer(), -1)) in TEST_F()
288 mSurface.queueBuffer(base::unique_fd(), 0.5f); in TEST_F()
304 EXPECT_CALL(*mNativeWindow, queueBuffer(buffer->getBuffer()->getNativeBuffer(), -1)) in TEST_F()
308 mSurface.queueBuffer(base::unique_fd(), 0.5f); in TEST_F()
324 EXPECT_CALL(*mNativeWindow, queueBuffer(buffer->getNativeBuffer(), -1)) in TEST_F()
328 mSurface.queueBuffer(base::unique_fd(), 0.5f); in TEST_F()
343 EXPECT_CALL(*mNativeWindow, queueBuffer(buffer->getBuffer()->getNativeBuffer(), -1)) in TEST_F()
350 mSurface.queueBuffer(base::unique_fd(), 0.5f); in TEST_F()
/frameworks/native/services/surfaceflinger/CompositionEngine/mock/
DNativeWindow.cpp36 return static_cast<NativeWindow*>(window)->queueBuffer(buffer, fenceFd); in forwardQueueBuffer()
103 return static_cast<NativeWindow*>(window)->queueBuffer(buffer, -1); in forwardQueueBufferDeprecated()
110 ANativeWindow::queueBuffer = &forwardQueueBuffer; in NativeWindow()
/frameworks/native/services/surfaceflinger/tests/unittests/mock/system/window/
DMockNativeWindow.cpp63 return static_cast<NativeWindow*>(window)->queueBuffer(buffer, fenceFd); in dispatch_queueBuffer()
85 ANativeWindow::queueBuffer = &dispatch_queueBuffer; in NativeWindow()
DMockNativeWindow.h42 MOCK_METHOD2(queueBuffer, int(struct ANativeWindowBuffer*, int));
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/
DNativeWindow.h41 MOCK_METHOD2(queueBuffer, int(struct ANativeWindowBuffer*, int));
DRenderSurface.h43 MOCK_METHOD(void, queueBuffer, (base::unique_fd, float), (override));
/frameworks/av/media/libstagefright/httplive/
DLiveDataSource.h38 void queueBuffer(const sp<ABuffer> &buffer);
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DRenderSurface.h89 virtual void queueBuffer(base::unique_fd readyFence, float hdrSdrRatio) = 0;
/frameworks/av/media/libmedia/
DIStreamSource.cpp141 virtual void queueBuffer(size_t index, size_t size) { in queueBuffer() function
179 queueBuffer(index, size); in onTransact()
/frameworks/av/media/libmediaplayerservice/nuplayer/include/nuplayer/
DNuPlayerStreamListener.h34 virtual void queueBuffer(size_t index, size_t size);
/frameworks/av/media/libmedia/include/media/
DIStreamSource.h55 virtual void queueBuffer(size_t index, size_t size) = 0;
/frameworks/av/cmds/stagefright/
Dstream.cpp123 mListener->queueBuffer(index, n); in onBufferAvailable()
245 mListener->queueBuffer(mCurrentBufferIndex, mCurrentBufferOffset); in writeData()
266 mListener->queueBuffer(mCurrentBufferIndex, mCurrentBufferOffset); in onBufferAvailable()
/frameworks/native/services/surfaceflinger/
DScreenCaptureRenderSurface.h40 void queueBuffer(base::unique_fd readyFence, float) override { in queueBuffer() function
/frameworks/native/libs/nativewindow/include/apex/
Dwindow.h108 ANativeWindow_queueBufferFn queueBuffer,
/frameworks/base/libs/hwui/renderthread/
DReliableSurface.h91 static int hook_queueBuffer(ANativeWindow* window, ANativeWindow_queueBufferFn queueBuffer,
DReliableSurface.cpp217 ANativeWindow_queueBufferFn queueBuffer, void* data, in hook_queueBuffer() argument
229 return queueBuffer(window, buffer, fenceFd); in hook_queueBuffer()
/frameworks/native/libs/gui/include/gui/mock/
DGraphicBufferProducer.h42 MOCK_METHOD3(queueBuffer, status_t(int, const QueueBufferInput&, QueueBufferOutput*));
/frameworks/av/media/codec2/hal/client/
Doutput.cpp441 status = outputIgbp->queueBuffer(static_cast<int>(bqSlot), in outputBuffer()
451 status = outputIgbp->queueBuffer(static_cast<int>(bqSlot), in outputBuffer()
498 status = outputIgbp->queueBuffer(static_cast<int>(bqSlot), in outputBuffer()
508 status = outputIgbp->queueBuffer(static_cast<int>(bqSlot), in outputBuffer()

1234