/frameworks/native/libs/gui/tests/ |
D | SurfaceTextureGL_test.cpp | 52 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 …]
|
D | BufferQueue_test.cpp | 160 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 …]
|
D | IGraphicBufferProducer_test.cpp | 401 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 …]
|
D | SurfaceTextureClient_test.cpp | 368 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 …]
|
D | SurfaceTextureFBO_test.cpp | 52 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()
|
D | StreamSplitter_test.cpp | 98 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/ |
D | buffer_hub_queue_producer-test.cpp | 251 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/ |
D | RenderSurfaceTest.cpp | 288 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/ |
D | ReliableSurface.cpp | 41 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/ |
D | NativeWindow.cpp | 36 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/ |
D | MockNativeWindow.cpp | 63 return static_cast<NativeWindow*>(window)->queueBuffer(buffer, fenceFd); in dispatch_queueBuffer() 85 ANativeWindow::queueBuffer = &dispatch_queueBuffer; in NativeWindow()
|
D | MockNativeWindow.h | 42 MOCK_METHOD2(queueBuffer, int(struct ANativeWindowBuffer*, int));
|
/frameworks/native/services/surfaceflinger/ |
D | MonitoredProducer.cpp | 80 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/ |
D | stream.cpp | 123 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/ |
D | NativeWindow.h | 41 MOCK_METHOD2(queueBuffer, int(struct ANativeWindowBuffer*, int));
|
D | RenderSurface.h | 42 MOCK_METHOD1(queueBuffer, void(base::unique_fd&&));
|
/frameworks/av/media/libmedia/ |
D | IStreamSource.cpp | 141 virtual void queueBuffer(size_t index, size_t size) { in queueBuffer() function 179 queueBuffer(index, size); in onTransact()
|
/frameworks/av/media/libstagefright/httplive/ |
D | LiveDataSource.h | 38 void queueBuffer(const sp<ABuffer> &buffer);
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/ |
D | RenderSurface.h | 81 virtual void queueBuffer(base::unique_fd&& readyFence) = 0;
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerStreamListener.h | 34 virtual void queueBuffer(size_t index, size_t size);
|
/frameworks/av/media/libmedia/include/media/ |
D | IStreamSource.h | 55 virtual void queueBuffer(size_t index, size_t size) = 0;
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | RenderSurface.cpp | 165 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/ |
D | VirtualDisplaySurface.cpp | 262 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/ |
D | MockGraphicBufferProducer.h | 42 MOCK_METHOD3(queueBuffer, status_t(int, const QueueBufferInput&, QueueBufferOutput*));
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/ |
D | RenderSurface.h | 57 void queueBuffer(base::unique_fd&& readyFence) override;
|