Searched refs:detachBuffer (Results 1 - 25 of 46) sorted by relevance

12

/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3OutputStreamInterface.h62 virtual status_t detachBuffer(sp<GraphicBuffer>* buffer, int* fenceFd) = 0;
H A DCamera3StreamSplitter.cpp285 auto rc = gbp->detachBuffer(i);
557 auto detachBuffer = mDetachedBuffers.find(bufferId); local
558 bool detach = (detachBuffer != mDetachedBuffers.end());
560 mDetachedBuffers.erase(detachBuffer);
575 res = consumer->detachBuffer(consumerSlot);
587 SP_LOGE("%s: detachBuffer returns %d", __FUNCTION__, res);
659 auto detachBuffer = mDetachedBuffers.find(buffer->getId()); local
660 bool detach = (detachBuffer != mDetachedBuffers.end());
662 auto res = from->detachBuffer(slot);
H A DCamera3DummyStream.cpp83 status_t Camera3DummyStream::detachBuffer(sp<GraphicBuffer>* buffer, int* fenceFd) { function in class:android::camera3::Camera3DummyStream
H A DCamera3DummyStream.h57 virtual status_t detachBuffer(sp<GraphicBuffer>* buffer, int* fenceFd);
/frameworks/native/services/surfaceflinger/tests/unittests/mock/gui/
H A DMockGraphicBufferConsumer.h34 MOCK_METHOD1(detachBuffer, status_t(int));
H A DMockGraphicBufferProducer.h39 MOCK_METHOD1(detachBuffer, status_t(int));
/frameworks/native/libs/gui/tests/
H A DBufferItemConsumer_test.cpp141 status_t ret = mBIC->detachBuffer(slot);
164 status_t ret = mProducer->detachBuffer(slot);
H A DBufferQueue_test.cpp329 ASSERT_EQ(BAD_VALUE, mProducer->detachBuffer(-1)); // Index too low
330 ASSERT_EQ(BAD_VALUE, mProducer->detachBuffer(
332 ASSERT_EQ(BAD_VALUE, mProducer->detachBuffer(0)); // Not dequeued
340 ASSERT_EQ(BAD_VALUE, mProducer->detachBuffer(slot)); // Not requested
342 ASSERT_EQ(OK, mProducer->detachBuffer(slot));
343 ASSERT_EQ(BAD_VALUE, mProducer->detachBuffer(slot)); // Not dequeued
395 ASSERT_EQ(BAD_VALUE, mConsumer->detachBuffer(-1)); // Index too low
396 ASSERT_EQ(BAD_VALUE, mConsumer->detachBuffer(
398 ASSERT_EQ(BAD_VALUE, mConsumer->detachBuffer(0)); // Not acquired
403 ASSERT_EQ(OK, mConsumer->detachBuffer(ite
[all...]
/frameworks/native/services/surfaceflinger/
H A DMonitoredProducer.cpp65 status_t MonitoredProducer::detachBuffer(int slot) { function in class:android::MonitoredProducer
66 return mProducer->detachBuffer(slot);
H A DMonitoredProducer.h45 virtual status_t detachBuffer(int slot);
/frameworks/native/include/gui/
H A DBufferHubConsumer.h40 // See |IGraphicBufferConsumer::detachBuffer|
41 status_t detachBuffer(int slot) override;
H A DBufferQueueConsumer.h53 // See IGraphicBufferConsumer::detachBuffer
54 virtual status_t detachBuffer(int slot);
H A DConsumerBase.h80 // See IGraphicBufferConsumer::detachBuffer
81 status_t detachBuffer(int slot);
H A DIGraphicBufferConsumer.h83 // detachBuffer attempts to remove all ownership of the buffer in the given slot from the buffer
93 virtual status_t detachBuffer(int slot) = 0;
H A DBufferHubProducer.h66 // See |IGraphicBufferProducer::detachBuffer|
67 status_t detachBuffer(int slot) override;
192 // IGraphicBufferProducer::detachBuffer.
H A DBufferQueueProducer.h88 // See IGraphicBufferProducer::detachBuffer
89 virtual status_t detachBuffer(int slot);
/frameworks/native/libs/gui/include/gui/
H A DBufferHubConsumer.h40 // See |IGraphicBufferConsumer::detachBuffer|
41 status_t detachBuffer(int slot) override;
H A DBufferQueueConsumer.h53 // See IGraphicBufferConsumer::detachBuffer
54 virtual status_t detachBuffer(int slot);
H A DConsumerBase.h80 // See IGraphicBufferConsumer::detachBuffer
81 status_t detachBuffer(int slot);
H A DIGraphicBufferConsumer.h83 // detachBuffer attempts to remove all ownership of the buffer in the given slot from the buffer
93 virtual status_t detachBuffer(int slot) = 0;
H A DBufferHubProducer.h66 // See |IGraphicBufferProducer::detachBuffer|
67 status_t detachBuffer(int slot) override;
192 // IGraphicBufferProducer::detachBuffer.
H A DBufferQueueProducer.h88 // See IGraphicBufferProducer::detachBuffer
89 virtual status_t detachBuffer(int slot);
/frameworks/native/libs/gui/
H A DIGraphicBufferConsumer.cpp73 status_t detachBuffer(int slot) override {
74 using Signature = decltype(&IGraphicBufferConsumer::detachBuffer);
188 return callLocal(data, reply, &IGraphicBufferConsumer::detachBuffer);
H A DBufferHubConsumer.cpp47 status_t BufferHubConsumer::detachBuffer(int /*slot*/) { function in class:android::BufferHubConsumer
48 ALOGE("BufferHubConsumer::detachBuffer: not implemented.");
/frameworks/native/include/gui/bufferqueue/1.0/
H A DH2BGraphicBufferProducer.h70 status_t detachBuffer(int slot) override;

Completed in 68 milliseconds

12