Searched refs:requestBuffer (Results 1 - 25 of 28) sorted by relevance

12

/frameworks/native/libs/vr/libbufferhubqueue/tests/
H A Dbuffer_hub_queue_producer-test.cpp246 ASSERT_EQ(NO_ERROR, mProducer->requestBuffer(slot, &buffer));
316 ASSERT_EQ(NO_ERROR, mProducer->requestBuffer(slot, &buffer));
335 ASSERT_EQ(NO_ERROR, mProducer->requestBuffer(slot, &buffer));
356 ASSERT_EQ(NO_ERROR, mProducer->requestBuffer(slot, &buffer));
408 ASSERT_EQ(NO_ERROR, mProducer->requestBuffer(slot, &buffer));
482 ASSERT_EQ(NO_INIT, mProducer->requestBuffer(slot, &buffer));
492 ASSERT_EQ(NO_ERROR, mProducer->requestBuffer(slot, &buffer));
510 ASSERT_EQ(NO_ERROR, mProducer->requestBuffer(slot, &buffer));
537 EXPECT_EQ(NO_ERROR, mProducer->requestBuffer(slot, &buffer));
548 EXPECT_EQ(NO_ERROR, mProducer->requestBuffer(slo
[all...]
/frameworks/native/libs/gui/tests/
H A DBufferQueue_test.cpp149 ASSERT_EQ(OK, mProducer->requestBuffer(slot, &buffer));
193 ASSERT_EQ(OK, mProducer->requestBuffer(slot, &buf));
201 ASSERT_EQ(OK, mProducer->requestBuffer(slot, &buf));
244 ASSERT_EQ(OK, mProducer->requestBuffer(slot, &buf));
280 ASSERT_EQ(OK, mProducer->requestBuffer(slot, &buf));
290 ASSERT_EQ(OK, mProducer->requestBuffer(slot, &buf));
341 ASSERT_EQ(OK, mProducer->requestBuffer(slot, &buffer));
347 ASSERT_EQ(BAD_VALUE, mProducer->requestBuffer(slot, &safeToClobberBuffer));
389 ASSERT_EQ(OK, mProducer->requestBuffer(slot, &buffer));
425 ASSERT_EQ(OK, mProducer->requestBuffer(slo
[all...]
H A DIGraphicBufferProducer_test.cpp248 ASSERT_OK(mProducer->requestBuffer(*slot, buffer));
394 ASSERT_OK(mProducer->requestBuffer(dequeuedSlot, &dequeuedBuffer));
464 ASSERT_OK(mProducer->requestBuffer(dequeuedSlot, &dequeuedBuffer));
559 ASSERT_OK(mProducer->requestBuffer(result.slot, &buffer));
653 ASSERT_OK(mProducer->requestBuffer(dequeuedSlot, &dequeuedBuffer));
724 ASSERT_EQ(NO_INIT, mProducer->requestBuffer(slot, &buffer));
H A DStreamSplitter_test.cpp87 ASSERT_EQ(OK, inputProducer->requestBuffer(slot, &buffer));
159 ASSERT_EQ(OK, inputProducer->requestBuffer(slot, &buffer));
223 ASSERT_EQ(OK, inputProducer->requestBuffer(slot, &buffer));
H A DBufferItemConsumer_test.cpp85 ret = mProducer->requestBuffer(slot, &mBuffers[slot]);
H A DMalicious.cpp33 status_t requestBuffer(int slot, sp<GraphicBuffer>* buf) override {
34 return mProducer->requestBuffer(slot, buf);
/frameworks/native/services/surfaceflinger/
H A DMonitoredProducer.cpp45 status_t MonitoredProducer::requestBuffer(int slot, sp<GraphicBuffer>* buf) { function in class:android::MonitoredProducer
46 return mProducer->requestBuffer(slot, buf);
H A DMonitoredProducer.h39 virtual status_t requestBuffer(int slot, sp<GraphicBuffer>* buf);
/frameworks/native/services/surfaceflinger/tests/unittests/mock/gui/
H A DMockGraphicBufferProducer.h33 MOCK_METHOD2(requestBuffer, status_t(int, sp<GraphicBuffer>*));
/frameworks/native/include/gui/
H A DBufferHubProducer.h46 // See |IGraphicBufferProducer::requestBuffer|
47 status_t requestBuffer(int slot, sp<GraphicBuffer>* buf) override;
H A DBufferQueueProducer.h35 // requestBuffer returns the GraphicBuffer for slot N.
40 virtual status_t requestBuffer(int slot, sp<GraphicBuffer>* buf);
81 // In both cases, the producer will need to call requestBuffer to get a
H A DIGraphicBufferProducer.h69 // requestBuffer immediately thereafter.
84 // requestBuffer requests a new buffer for the given index. The server (i.e.
98 virtual status_t requestBuffer(int slot, sp<GraphicBuffer>* buf) = 0;
148 // If the slot is empty the client should call requestBuffer to assign a new
157 // expected to call requestBuffer immediately.
217 // requestBuffer).
227 // detachNextBuffer is equivalent to calling dequeueBuffer, requestBuffer,
237 // equivalent to outBuffer from the requestBuffer call, and outFence is
285 // by the client or one for which a buffer associated via requestBuffer
/frameworks/native/include/gui/bufferqueue/1.0/
H A DH2BGraphicBufferProducer.h64 status_t requestBuffer(int slot, sp<GraphicBuffer>* buf) override;
/frameworks/native/libs/gui/include/gui/
H A DBufferHubProducer.h46 // See |IGraphicBufferProducer::requestBuffer|
47 status_t requestBuffer(int slot, sp<GraphicBuffer>* buf) override;
H A DBufferQueueProducer.h35 // requestBuffer returns the GraphicBuffer for slot N.
40 virtual status_t requestBuffer(int slot, sp<GraphicBuffer>* buf);
81 // In both cases, the producer will need to call requestBuffer to get a
H A DIGraphicBufferProducer.h69 // requestBuffer immediately thereafter.
84 // requestBuffer requests a new buffer for the given index. The server (i.e.
98 virtual status_t requestBuffer(int slot, sp<GraphicBuffer>* buf) = 0;
148 // If the slot is empty the client should call requestBuffer to assign a new
157 // expected to call requestBuffer immediately.
217 // requestBuffer).
227 // detachNextBuffer is equivalent to calling dequeueBuffer, requestBuffer,
237 // equivalent to outBuffer from the requestBuffer call, and outFence is
285 // by the client or one for which a buffer associated via requestBuffer
/frameworks/native/libs/gui/include/gui/bufferqueue/1.0/
H A DH2BGraphicBufferProducer.h64 status_t requestBuffer(int slot, sp<GraphicBuffer>* buf) override;
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DVirtualDisplaySurface.h101 virtual status_t requestBuffer(int pslot, sp<GraphicBuffer>* outBuf);
H A DVirtualDisplaySurface.cpp292 status_t VirtualDisplaySurface::requestBuffer(int pslot, function in class:android::VirtualDisplaySurface
295 return mSource[SOURCE_SINK]->requestBuffer(pslot, outBuf);
298 "Unexpected requestBuffer pslot=%d in %s state",
343 result = mSource[source]->requestBuffer(*sslot, &mProducerBuffers[pslot]);
/frameworks/av/media/libstagefright/bqhelper/include/media/stagefright/bqhelper/
H A DWGraphicBufferProducer.h68 Return<void> requestBuffer(int32_t slot, HGraphicBufferProducer::requestBuffer_cb _hidl_cb) override {
70 status_t status = mBase->requestBuffer(slot, &buf);
/frameworks/native/libs/gui/
H A DIGraphicBufferProducer.cpp82 virtual status_t requestBuffer(int bufferIdx, sp<GraphicBuffer>* buf) { function in class:android::BpGraphicBufferProducer
541 status_t requestBuffer(int slot, sp<GraphicBuffer>* buf) override {
542 return mBase->requestBuffer(slot, buf);
740 int result = requestBuffer(bufferIdx, &buffer);
H A DBufferHubProducer.cpp46 status_t BufferHubProducer::requestBuffer(int slot, sp<GraphicBuffer>* buf) { function in class:android::BufferHubProducer
47 ALOGV("requestBuffer: slot=%d", slot);
52 ALOGE("requestBuffer: BufferHubProducer has no connected producer");
57 ALOGE("requestBuffer: slot index %d out of range [0, %d)", slot, max_buffer_count_);
60 ALOGE("requestBuffer: slot %d is not owned by the producer (state = %s)", slot,
64 ALOGE("requestBuffer: slot %d is not empty.", slot);
67 ALOGE("requestBuffer: slot %d is not dequeued.", slot);
/frameworks/base/core/java/android/view/
H A DThreadedRenderer.java1129 requestBuffer();
1137 requestBuffer();
1140 private void requestBuffer() { method in class:ThreadedRenderer.ProcessInitializer
/frameworks/native/libs/gui/bufferqueue/1.0/
H A DH2BGraphicBufferProducer.cpp969 status_t H2BGraphicBufferProducer::requestBuffer(int slot, sp<GraphicBuffer>* buf) { function in class:android::hardware::graphics::bufferqueue::V1_0::utils::H2BGraphicBufferProducer
972 status_t transStatus = toStatusT(mBase->requestBuffer(
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecLocalDeviceTv.java235 public void setSelectRequestBuffer(SelectRequestBuffer requestBuffer) { argument
237 mSelectRequestBuffer = requestBuffer;

Completed in 103 milliseconds

12