Home
last modified time | relevance | path

Searched refs:queueBuffer (Results 1 – 25 of 89) 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 …]
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.cpp366 ASSERT_EQ(OK, mANW->queueBuffer(mANW.get(), buf[0], -1)); in TEST_F()
374 ASSERT_EQ(OK, mANW->queueBuffer(mANW.get(), buf[0], -1)); in TEST_F()
376 ASSERT_EQ(OK, mANW->queueBuffer(mANW.get(), buf[1], -1)); in TEST_F()
393 ASSERT_EQ(OK, mANW->queueBuffer(mANW.get(), buf[0], -1)); in TEST_F()
394 ASSERT_EQ(OK, mANW->queueBuffer(mANW.get(), buf[1], -1)); in TEST_F()
395 ASSERT_EQ(OK, mANW->queueBuffer(mANW.get(), buf[2], -1)); in TEST_F()
414 ASSERT_EQ(OK, mANW->queueBuffer(mANW.get(), buf[0], -1)); in TEST_F()
417 ASSERT_EQ(OK, mANW->queueBuffer(mANW.get(), buf[1], -1)); in TEST_F()
420 ASSERT_EQ(OK, mANW->queueBuffer(mANW.get(), buf[2], -1)); in TEST_F()
430 ASSERT_EQ(OK, mANW->queueBuffer(mANW.get(), buf[0], -1)); in TEST_F()
[all …]
DBufferQueue_test.cpp160 ASSERT_EQ(OK, mProducer->queueBuffer(slot, input, &output)); in TEST_F()
206 ASSERT_EQ(OK, mProducer->queueBuffer(slot, qbi, &qbo)); in TEST_F()
214 ASSERT_EQ(OK, mProducer->queueBuffer(slot, qbi, &qbo)); in TEST_F()
257 ASSERT_EQ(OK, mProducer->queueBuffer(slot, qbi, &qbo)); in TEST_F()
293 ASSERT_EQ(OK, mProducer->queueBuffer(slot, qbi, &qbo)); in TEST_F()
303 ASSERT_EQ(OK, mProducer->queueBuffer(slot, qbi, &qbo)); in TEST_F()
375 ASSERT_EQ(OK, mProducer->queueBuffer(newSlot, input, &output)); in TEST_F()
405 ASSERT_EQ(OK, mProducer->queueBuffer(slot, input, &output)); in TEST_F()
471 ASSERT_EQ(OK, mProducer->queueBuffer(slot, input, &output)); in TEST_F()
479 ASSERT_EQ(OK, mProducer->queueBuffer(newSlot, input, &output)); 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()
DBLASTBufferQueue_test.cpp262 igbProducer->queueBuffer(slot, input, &qbOutput); in TEST_F()
298 igbProducer->queueBuffer(slot, input, &qbOutput); in TEST_F()
348 igbProducer->queueBuffer(slot, input, &qbOutput); in TEST_F()
381 igbProducer->queueBuffer(slot, input, &qbOutput); in TEST_F()
442 igbProducer->queueBuffer(slot, input, &qbOutput); in TEST_F()
488 igbProducer->queueBuffer(slot, input, &qbOutput); in test()
675 igbProducer->queueBuffer(slot, input, qbOutput); in setUpAndQueueBuffer()
/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.cpp248 mSurface.queueBuffer(base::unique_fd()); in TEST_F()
262 EXPECT_CALL(*mNativeWindow, queueBuffer(buffer->getNativeBuffer(), -1)) in TEST_F()
266 mSurface.queueBuffer(base::unique_fd()); in TEST_F()
280 EXPECT_CALL(*mNativeWindow, queueBuffer(buffer->getNativeBuffer(), -1)) in TEST_F()
284 mSurface.queueBuffer(base::unique_fd()); in TEST_F()
300 EXPECT_CALL(*mNativeWindow, queueBuffer(buffer->getNativeBuffer(), -1)) in TEST_F()
304 mSurface.queueBuffer(base::unique_fd()); in TEST_F()
317 EXPECT_CALL(*mNativeWindow, queueBuffer(buffer->getNativeBuffer(), -1)) in TEST_F()
324 mSurface.queueBuffer(base::unique_fd()); 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_METHOD1(queueBuffer, void(base::unique_fd));
/frameworks/native/services/surfaceflinger/
DMonitoredProducer.cpp78 status_t MonitoredProducer::queueBuffer(int slot, const QueueBufferInput& input, in queueBuffer() function in android::MonitoredProducer
80 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/av/media/libstagefright/httplive/
DLiveDataSource.h38 void queueBuffer(const sp<ABuffer> &buffer);
/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/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DRenderSurface.h87 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.cpp172 void RenderSurface::queueBuffer(base::unique_fd readyFence) { in queueBuffer() function in android::compositionengine::impl::RenderSurface
195 mNativeWindow->queueBuffer(mNativeWindow.get(), in queueBuffer()
/frameworks/native/libs/nativewindow/include/apex/
Dwindow.h108 ANativeWindow_queueBufferFn queueBuffer,
/frameworks/base/libs/hwui/renderthread/
DReliableSurface.cpp213 ANativeWindow_queueBufferFn queueBuffer, void* data, in hook_queueBuffer() argument
225 return queueBuffer(window, buffer, fenceFd); in hook_queueBuffer()
DReliableSurface.h93 static int hook_queueBuffer(ANativeWindow* window, ANativeWindow_queueBufferFn queueBuffer,

1234