Searched refs:queueBuffer (Results 1 - 25 of 69) sorted by relevance

123

/frameworks/native/services/surfaceflinger/tests/unittests/mock/system/window/
H A DMockNativeWindow.h41 MOCK_METHOD2(queueBuffer, int(struct ANativeWindowBuffer*, int));
H A DMockNativeWindow.cpp63 return static_cast<NativeWindow*>(window)->queueBuffer(buffer, fenceFd);
85 ANativeWindow::queueBuffer = &dispatch_queueBuffer; member in class:android::mock::ANativeWindow
/frameworks/native/libs/gui/tests/
H A DSurfaceTextureGL_test.cpp52 ASSERT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(), buf->getNativeBuffer(),
102 ASSERT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(), buf->getNativeBuffer(),
166 ASSERT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(),
285 if (mANW->queueBuffer(mANW.get(), buf->getNativeBuffer(), -1)
463 if (mANW->queueBuffer(mANW.get(), anb, -1)
511 EXPECT_EQ(OK, mANW->queueBuffer(mANW.get(), anb, -1));
514 EXPECT_EQ(OK, mANW->queueBuffer(mANW.get(), anb, -1));
525 EXPECT_EQ(OK, mANW->queueBuffer(mANW.get(), anb, -1));
553 EXPECT_EQ(OK, mANW->queueBuffer(mANW.get(), anb, -1));
585 EXPECT_EQ(OK, mANW->queueBuffer(mAN
[all...]
H A DSurfaceTextureFBO_test.cpp52 ASSERT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(), buf->getNativeBuffer(),
76 ASSERT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(),
H A DIGraphicBufferProducer_test.cpp65 // Parameters for a generic "valid" input for queueBuffer.
142 // Create a generic "valid" input for queueBuffer
401 ASSERT_OK(mProducer->queueBuffer(dequeuedSlot, input, &output));
408 // Since queueBuffer was called exactly once
418 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(dequeuedSlot, input, &output));
430 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(/*slot*/-1, input, &output));
431 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(/*slot*/0xDEADBEEF, input, &output));
432 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(BufferQueue::NUM_BUFFER_SLOTS,
441 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(/*slot*/0, input, &output));
459 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(dequeuedSlo
[all...]
H A DBufferQueue_test.cpp160 ASSERT_EQ(OK, mProducer->queueBuffer(slot, input, &output));
194 ASSERT_EQ(OK, mProducer->queueBuffer(slot, qbi, &qbo));
202 ASSERT_EQ(OK, mProducer->queueBuffer(slot, qbi, &qbo));
245 ASSERT_EQ(OK, mProducer->queueBuffer(slot, qbi, &qbo));
281 ASSERT_EQ(OK, mProducer->queueBuffer(slot, qbi, &qbo));
291 ASSERT_EQ(OK, mProducer->queueBuffer(slot, qbi, &qbo));
363 ASSERT_EQ(OK, mProducer->queueBuffer(newSlot, input, &output));
393 ASSERT_EQ(OK, mProducer->queueBuffer(slot, input, &output));
459 ASSERT_EQ(OK, mProducer->queueBuffer(slot, input, &output));
467 ASSERT_EQ(OK, mProducer->queueBuffer(newSlo
[all...]
H A DSurfaceTextureClient_test.cpp369 ASSERT_EQ(OK, mANW->queueBuffer(mANW.get(), buf[0], -1));
377 ASSERT_EQ(OK, mANW->queueBuffer(mANW.get(), buf[0], -1));
379 ASSERT_EQ(OK, mANW->queueBuffer(mANW.get(), buf[1], -1));
396 ASSERT_EQ(OK, mANW->queueBuffer(mANW.get(), buf[0], -1));
397 ASSERT_EQ(OK, mANW->queueBuffer(mANW.get(), buf[1], -1));
398 ASSERT_EQ(OK, mANW->queueBuffer(mANW.get(), buf[2], -1));
417 ASSERT_EQ(OK, mANW->queueBuffer(mANW.get(), buf[0], -1));
420 ASSERT_EQ(OK, mANW->queueBuffer(mANW.get(), buf[1], -1));
423 ASSERT_EQ(OK, mANW->queueBuffer(mANW.get(), buf[2], -1));
433 ASSERT_EQ(OK, mANW->queueBuffer(mAN
[all...]
H A DStreamSplitter_test.cpp98 ASSERT_EQ(OK, inputProducer->queueBuffer(slot, qbInput, &qbOutput));
170 ASSERT_EQ(OK, inputProducer->queueBuffer(slot, qbInput, &qbOutput));
231 ASSERT_EQ(OK, inputProducer->queueBuffer(slot, qbInput, &qbOutput));
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerStreamListener.h34 virtual void queueBuffer(size_t index, size_t size);
H A DNuPlayerStreamListener.cpp55 void NuPlayer::NuPlayerStreamListener::queueBuffer(size_t index, size_t size) { function in class:android::NuPlayer::NuPlayerStreamListener
/frameworks/av/media/libstagefright/httplive/
H A DLiveDataSource.h38 void queueBuffer(const sp<ABuffer> &buffer);
H A DLiveDataSource.cpp136 void LiveDataSource::queueBuffer(const sp<ABuffer> &buffer) { function in class:android::LiveDataSource
/frameworks/native/libs/vr/libbufferhubqueue/tests/
H A Dbuffer_hub_queue_producer-test.cpp137 // Create a generic "valid" input for queueBuffer
253 ASSERT_EQ(NO_ERROR, mProducer->queueBuffer(slot, input, &output));
267 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(slot, input, &output));
278 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(/*slot*/ -1, input, &output));
280 mProducer->queueBuffer(/*slot*/ 0xDEADBEEF, input, &output));
281 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(BufferQueueDefs::NUM_BUFFER_SLOTS,
292 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(/*slot*/ 0, input, &output));
305 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(slot, input, &output));
324 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(slot, input, &output));
341 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(slo
[all...]
/frameworks/av/include/media/
H A DIStreamSource.h55 virtual void queueBuffer(size_t index, size_t size) = 0;
/frameworks/av/media/libmedia/include/media/
H A DIStreamSource.h55 virtual void queueBuffer(size_t index, size_t size) = 0;
/frameworks/native/services/surfaceflinger/
H A DMonitoredProducer.cpp79 status_t MonitoredProducer::queueBuffer(int slot, const QueueBufferInput& input, function in class:android::MonitoredProducer
81 return mProducer->queueBuffer(slot, input, output);
H A DMonitoredProducer.h50 virtual status_t queueBuffer(int slot, const QueueBufferInput& input,
/frameworks/native/services/surfaceflinger/tests/unittests/mock/gui/
H A DMockGraphicBufferProducer.h42 MOCK_METHOD3(queueBuffer, status_t(int, const QueueBufferInput&, QueueBufferOutput*));
/frameworks/av/cmds/stagefright/
H A Dstream.cpp123 mListener->queueBuffer(index, n);
245 mListener->queueBuffer(mCurrentBufferIndex, mCurrentBufferOffset);
266 mListener->queueBuffer(mCurrentBufferIndex, mCurrentBufferOffset);
/frameworks/av/media/libmedia/
H A DIStreamSource.cpp141 virtual void queueBuffer(size_t index, size_t size) { function in struct:android::BpStreamListener
179 queueBuffer(index, size);
/frameworks/native/include/gui/
H A DBufferHubProducer.h75 // See |IGraphicBufferProducer::queueBuffer|
76 status_t queueBuffer(int slot, const QueueBufferInput& input,
H A DBufferQueueProducer.h98 // queueBuffer returns a filled buffer to the BufferQueue.
113 virtual status_t queueBuffer(int slot,
146 // queueBuffer. If a sideband stream is present, the consumer can choose
231 // This saves the fence from the last queueBuffer, such that the
232 // next queueBuffer call can throttle buffer production. The prior
233 // queueBuffer's fence is not nessessarily available elsewhere,
/frameworks/native/include/gui/bufferqueue/1.0/
H A DH2BGraphicBufferProducer.h75 status_t queueBuffer(int slot,
/frameworks/native/libs/gui/include/gui/
H A DBufferHubProducer.h75 // See |IGraphicBufferProducer::queueBuffer|
76 status_t queueBuffer(int slot, const QueueBufferInput& input,
H A DBufferQueueProducer.h98 // queueBuffer returns a filled buffer to the BufferQueue.
113 virtual status_t queueBuffer(int slot,
146 // queueBuffer. If a sideband stream is present, the consumer can choose
231 // This saves the fence from the last queueBuffer, such that the
232 // next queueBuffer call can throttle buffer production. The prior
233 // queueBuffer's fence is not nessessarily available elsewhere,

Completed in 117 milliseconds

123