Home
last modified time | relevance | path

Searched refs:detachBuffer (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/native/libs/gui/tests/
DBufferQueue_test.cpp323 ASSERT_EQ(BAD_VALUE, mProducer->detachBuffer(-1)); // Index too low in TEST_F()
324 ASSERT_EQ(BAD_VALUE, mProducer->detachBuffer( in TEST_F()
326 ASSERT_EQ(BAD_VALUE, mProducer->detachBuffer(0)); // Not dequeued in TEST_F()
334 ASSERT_EQ(BAD_VALUE, mProducer->detachBuffer(slot)); // Not requested in TEST_F()
336 ASSERT_EQ(OK, mProducer->detachBuffer(slot)); in TEST_F()
337 ASSERT_EQ(BAD_VALUE, mProducer->detachBuffer(slot)); // Not dequeued in TEST_F()
389 ASSERT_EQ(BAD_VALUE, mConsumer->detachBuffer(-1)); // Index too low in TEST_F()
390 ASSERT_EQ(BAD_VALUE, mConsumer->detachBuffer( in TEST_F()
392 ASSERT_EQ(BAD_VALUE, mConsumer->detachBuffer(0)); // Not acquired in TEST_F()
397 ASSERT_EQ(OK, mConsumer->detachBuffer(item.mSlot)); in TEST_F()
[all …]
DIGraphicBufferProducer_test.cpp685 ASSERT_EQ(NO_INIT, mProducer->detachBuffer(slot)); in TEST_F()
726 ASSERT_OK(mProducer->detachBuffer(slot)); in TEST_F()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3OutputStreamInterface.h61 virtual status_t detachBuffer(sp<GraphicBuffer>* buffer, int* fenceFd) = 0;
DCamera3DummyStream.h57 virtual status_t detachBuffer(sp<GraphicBuffer>* buffer, int* fenceFd);
DCamera3DummyStream.cpp79 status_t Camera3DummyStream::detachBuffer(sp<GraphicBuffer>* buffer, int* fenceFd) { in detachBuffer() function in android::camera3::Camera3DummyStream
DCamera3OutputStream.h159 virtual status_t detachBuffer(sp<GraphicBuffer>* buffer, int* fenceFd);
DCamera3BufferManager.cpp307 stream->detachBuffer(&buffer, /*fenceFd*/ nullptr); in getBufferForStream()
DCamera3OutputStream.cpp644 status_t Camera3OutputStream::detachBuffer(sp<GraphicBuffer>* buffer, int* fenceFd) { in detachBuffer() function in android::camera3::Camera3OutputStream
/frameworks/native/services/surfaceflinger/
DMonitoredProducer.cpp73 status_t MonitoredProducer::detachBuffer(int slot) { in detachBuffer() function in android::MonitoredProducer
74 return mProducer->detachBuffer(slot); in detachBuffer()
DMonitoredProducer.h42 virtual status_t detachBuffer(int slot);
/frameworks/native/include/gui/
DIGraphicBufferConsumer.h102 virtual status_t detachBuffer(int slot) = 0;
DBufferQueueConsumer.h53 virtual status_t detachBuffer(int slot);
DConsumerBase.h77 status_t detachBuffer(int slot);
DBufferQueueProducer.h88 virtual status_t detachBuffer(int slot);
DIGraphicBufferProducer.h210 virtual status_t detachBuffer(int slot) = 0;
/frameworks/native/libs/gui/
DConsumerBase.cpp190 status_t ConsumerBase::detachBuffer(int slot) { in detachBuffer() function in android::ConsumerBase
199 status_t result = mConsumer->detachBuffer(slot); in detachBuffer()
DIGraphicBufferConsumer.cpp87 virtual status_t detachBuffer(int slot) { in detachBuffer() function in android::BpGraphicBufferConsumer
341 int result = detachBuffer(slot); in onTransact()
DStreamSplitter.cpp135 status = mInput->detachBuffer(bufferItem.mSlot); in onFrameAvailable()
DIGraphicBufferProducer.cpp146 virtual status_t detachBuffer(int slot) { in detachBuffer() function in android::BpGraphicBufferProducer
539 int result = detachBuffer(slot); in onTransact()
DBufferQueueConsumer.cpp277 status_t BufferQueueConsumer::detachBuffer(int slot) { in detachBuffer() function in android::BufferQueueConsumer
/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.h108 virtual status_t detachBuffer(int slot);
DVirtualDisplaySurface.cpp451 status_t VirtualDisplaySurface::detachBuffer(int /* slot */) { in detachBuffer() function in android::VirtualDisplaySurface
/frameworks/av/media/libstagefright/omx/
DGraphicBufferSource.cpp73 err = consumer->detachBuffer(bi.mSlot); in onFrameAvailable()
939 mConsumer->detachBuffer(id); in releaseBuffer()
/frameworks/av/media/libstagefright/
DMediaSync.cpp638 status = mInput->detachBuffer(bufferItem.mSlot); in onFrameAvailableFromInput()
/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp604 res = bufferConsumer->detachBuffer(buffer->mSlot); in ImageReader_detachImage()

12