Home
last modified time | relevance | path

Searched refs:queueBuffer (Results 1 – 25 of 81) 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()
166 ASSERT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(), in TEST_F()
285 if (mANW->queueBuffer(mANW.get(), buf->getNativeBuffer(), -1) in TEST_F()
463 if (mANW->queueBuffer(mANW.get(), anb, -1) in TEST_F()
511 EXPECT_EQ(OK, mANW->queueBuffer(mANW.get(), anb, -1)); in TEST_F()
514 EXPECT_EQ(OK, mANW->queueBuffer(mANW.get(), anb, -1)); in TEST_F()
525 EXPECT_EQ(OK, mANW->queueBuffer(mANW.get(), anb, -1)); in TEST_F()
553 EXPECT_EQ(OK, mANW->queueBuffer(mANW.get(), anb, -1)); in TEST_F()
585 EXPECT_EQ(OK, mANW->queueBuffer(mANW.get(), anb, -1)); in TEST_F()
[all …]
DBufferQueue_test.cpp160 ASSERT_EQ(OK, mProducer->queueBuffer(slot, input, &output)); in TEST_F()
194 ASSERT_EQ(OK, mProducer->queueBuffer(slot, qbi, &qbo)); in TEST_F()
202 ASSERT_EQ(OK, mProducer->queueBuffer(slot, qbi, &qbo)); in TEST_F()
245 ASSERT_EQ(OK, mProducer->queueBuffer(slot, qbi, &qbo)); in TEST_F()
281 ASSERT_EQ(OK, mProducer->queueBuffer(slot, qbi, &qbo)); in TEST_F()
291 ASSERT_EQ(OK, mProducer->queueBuffer(slot, qbi, &qbo)); in TEST_F()
363 ASSERT_EQ(OK, mProducer->queueBuffer(newSlot, input, &output)); in TEST_F()
393 ASSERT_EQ(OK, mProducer->queueBuffer(slot, input, &output)); in TEST_F()
459 ASSERT_EQ(OK, mProducer->queueBuffer(slot, input, &output)); in TEST_F()
467 ASSERT_EQ(OK, mProducer->queueBuffer(newSlot, input, &output)); in TEST_F()
[all …]
DIGraphicBufferProducer_test.cpp401 ASSERT_OK(mProducer->queueBuffer(dequeuedSlot, input, &output)); in TEST_P()
418 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(dequeuedSlot, input, &output)); in TEST_P()
430 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(/*slot*/-1, input, &output)); in TEST_P()
431 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(/*slot*/0xDEADBEEF, input, &output)); in TEST_P()
432 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(BufferQueue::NUM_BUFFER_SLOTS, in TEST_P()
441 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(/*slot*/0, input, &output)); in TEST_P()
459 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(dequeuedSlot, input, &output)); in TEST_P()
474 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(dequeuedSlot, input, &output)); in TEST_P()
483 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(dequeuedSlot, input, &output)); in TEST_P()
487 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(dequeuedSlot, input, &output)); in TEST_P()
[all …]
DSurfaceTextureClient_test.cpp368 ASSERT_EQ(OK, mANW->queueBuffer(mANW.get(), buf[0], -1)); in TEST_F()
376 ASSERT_EQ(OK, mANW->queueBuffer(mANW.get(), buf[0], -1)); in TEST_F()
378 ASSERT_EQ(OK, mANW->queueBuffer(mANW.get(), buf[1], -1)); in TEST_F()
395 ASSERT_EQ(OK, mANW->queueBuffer(mANW.get(), buf[0], -1)); in TEST_F()
396 ASSERT_EQ(OK, mANW->queueBuffer(mANW.get(), buf[1], -1)); in TEST_F()
397 ASSERT_EQ(OK, mANW->queueBuffer(mANW.get(), buf[2], -1)); in TEST_F()
416 ASSERT_EQ(OK, mANW->queueBuffer(mANW.get(), buf[0], -1)); in TEST_F()
419 ASSERT_EQ(OK, mANW->queueBuffer(mANW.get(), buf[1], -1)); in TEST_F()
422 ASSERT_EQ(OK, mANW->queueBuffer(mANW.get(), buf[2], -1)); in TEST_F()
432 ASSERT_EQ(OK, mANW->queueBuffer(mANW.get(), buf[0], -1)); in TEST_F()
[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.cpp98 ASSERT_EQ(OK, inputProducer->queueBuffer(slot, qbInput, &qbOutput)); in TEST_F()
170 ASSERT_EQ(OK, inputProducer->queueBuffer(slot, qbInput, &qbOutput)); in TEST_F()
231 ASSERT_EQ(OK, inputProducer->queueBuffer(slot, qbInput, &qbOutput)); in TEST_F()
/frameworks/native/libs/vr/libbufferhubqueue/tests/
Dbuffer_hub_queue_producer-test.cpp251 ASSERT_EQ(OK, mProducer->queueBuffer(slot, input, &output)); in TEST_F()
265 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(slot, input, &output)); in TEST_F()
276 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(/*slot*/ -1, input, &output)); in TEST_F()
278 mProducer->queueBuffer(/*slot*/ 0xDEADBEEF, input, &output)); in TEST_F()
279 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(BufferQueueDefs::NUM_BUFFER_SLOTS, in TEST_F()
290 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(/*slot*/ 0, input, &output)); in TEST_F()
303 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(slot, input, &output)); in TEST_F()
322 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(slot, input, &output)); in TEST_F()
339 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(slot, input, &output)); in TEST_F()
343 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(slot, input, &output)); in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DRenderSurfaceTest.cpp288 mSurface.queueBuffer(base::unique_fd()); in TEST_F()
298 EXPECT_CALL(*mNativeWindow, queueBuffer(buffer->getNativeBuffer(), -1)) in TEST_F()
302 mSurface.queueBuffer(base::unique_fd()); in TEST_F()
313 EXPECT_CALL(*mNativeWindow, queueBuffer(buffer->getNativeBuffer(), -1)) in TEST_F()
317 mSurface.queueBuffer(base::unique_fd()); in TEST_F()
330 EXPECT_CALL(*mNativeWindow, queueBuffer(buffer->getNativeBuffer(), -1)) in TEST_F()
334 mSurface.queueBuffer(base::unique_fd()); in TEST_F()
344 EXPECT_CALL(*mNativeWindow, queueBuffer(buffer->getNativeBuffer(), -1)) in TEST_F()
351 mSurface.queueBuffer(base::unique_fd()); in TEST_F()
/frameworks/base/libs/hwui/renderthread/
DReliableSurface.cpp41 using Surface::queueBuffer;
54 ANativeWindow::queueBuffer = hook_queueBuffer; in ReliableSurface()
181 int ReliableSurface::queueBuffer(ANativeWindowBuffer* buffer, int fenceFd) { in queueBuffer() function in android::uirenderer::renderthread::ReliableSurface
191 int result = callProtected(mSurface, queueBuffer, buffer, fenceFd); in queueBuffer()
251 return getSelf(window)->queueBuffer(buffer, fenceFd); in hook_queueBuffer()
286 return window->queueBuffer(window, buffer, -1); in hook_queueBuffer_DEPRECATED()
/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/
DMonitoredProducer.cpp80 status_t MonitoredProducer::queueBuffer(int slot, const QueueBufferInput& input, in queueBuffer() function in android::MonitoredProducer
82 return mProducer->queueBuffer(slot, input, output); in queueBuffer()
/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/CompositionEngine/include/compositionengine/mock/
DNativeWindow.h41 MOCK_METHOD2(queueBuffer, int(struct ANativeWindowBuffer*, int));
DRenderSurface.h42 MOCK_METHOD1(queueBuffer, void(base::unique_fd&&));
/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/libstagefright/httplive/
DLiveDataSource.h38 void queueBuffer(const sp<ABuffer> &buffer);
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DRenderSurface.h81 virtual void queueBuffer(base::unique_fd&& readyFence) = 0;
/frameworks/av/media/libmediaplayerservice/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/native/services/surfaceflinger/CompositionEngine/src/
DRenderSurface.cpp165 void RenderSurface::queueBuffer(base::unique_fd&& readyFence) { in queueBuffer() function in android::compositionengine::impl::RenderSurface
189 mNativeWindow->queueBuffer(mNativeWindow.get(), in queueBuffer()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.cpp262 status_t result = mSource[SOURCE_SINK]->queueBuffer(sslot, in onFrameCommitted()
455 status_t VirtualDisplaySurface::queueBuffer(int pslot, in queueBuffer() function in android::VirtualDisplaySurface
458 return mSource[SOURCE_SINK]->queueBuffer(pslot, input, output); in queueBuffer()
473 result = mSource[SOURCE_SCRATCH]->queueBuffer(sslot, input, &scratchQBO); in queueBuffer()
/frameworks/native/services/surfaceflinger/tests/unittests/mock/gui/
DMockGraphicBufferProducer.h42 MOCK_METHOD3(queueBuffer, status_t(int, const QueueBufferInput&, QueueBufferOutput*));
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DRenderSurface.h57 void queueBuffer(base::unique_fd&& readyFence) override;

1234