Home
last modified time | relevance | path

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

12

/frameworks/av/services/camera/libcameraservice/device3/
DCamera3StreamSplitter.cpp320 auto rc = gbp->detachBuffer(i); in removeOutputLocked()
608 auto detachBuffer = mDetachedBuffers.find(bufferId); in decrementBufRefCountLocked() local
609 bool detach = (detachBuffer != mDetachedBuffers.end()); in decrementBufRefCountLocked()
611 mDetachedBuffers.erase(detachBuffer); in decrementBufRefCountLocked()
626 res = consumer->detachBuffer(consumerSlot); in decrementBufRefCountLocked()
716 auto detachBuffer = mDetachedBuffers.find(buffer->getId()); in returnOutputBufferLocked() local
717 bool detach = (detachBuffer != mDetachedBuffers.end()); in returnOutputBufferLocked()
719 auto res = from->detachBuffer(slot); in returnOutputBufferLocked()
DCamera3OutputStreamInterface.h62 virtual status_t detachBuffer(sp<GraphicBuffer>* buffer, int* fenceFd) = 0;
DCamera3FakeStream.h57 virtual status_t detachBuffer(sp<GraphicBuffer>* buffer, int* fenceFd);
DCamera3FakeStream.cpp85 status_t Camera3FakeStream::detachBuffer([[maybe_unused]] sp<GraphicBuffer>* buffer, in detachBuffer() function in android::camera3::Camera3FakeStream
/frameworks/native/libs/gui/tests/
DBufferItemConsumer_test.cpp141 status_t ret = mBIC->detachBuffer(slot); in TEST_F()
164 status_t ret = mProducer->detachBuffer(slot); in TEST_F()
DBufferQueue_test.cpp337 ASSERT_EQ(BAD_VALUE, mProducer->detachBuffer(-1)); // Index too low in TEST_F()
338 ASSERT_EQ(BAD_VALUE, mProducer->detachBuffer( in TEST_F()
340 ASSERT_EQ(BAD_VALUE, mProducer->detachBuffer(0)); // Not dequeued in TEST_F()
348 ASSERT_EQ(BAD_VALUE, mProducer->detachBuffer(slot)); // Not requested in TEST_F()
350 ASSERT_EQ(OK, mProducer->detachBuffer(slot)); in TEST_F()
351 ASSERT_EQ(BAD_VALUE, mProducer->detachBuffer(slot)); // Not dequeued in TEST_F()
403 ASSERT_EQ(BAD_VALUE, mConsumer->detachBuffer(-1)); // Index too low in TEST_F()
404 ASSERT_EQ(BAD_VALUE, mConsumer->detachBuffer( in TEST_F()
406 ASSERT_EQ(BAD_VALUE, mConsumer->detachBuffer(0)); // Not acquired in TEST_F()
411 ASSERT_EQ(OK, mConsumer->detachBuffer(item.mSlot)); in TEST_F()
[all …]
DMalicious.cpp46 status_t detachBuffer(int slot) override { return mProducer->detachBuffer(slot); } in detachBuffer() function in android::test::ProxyBQP
/frameworks/native/libs/gui/
DIGraphicBufferConsumer.cpp73 status_t detachBuffer(int slot) override { in detachBuffer() function in android::BpGraphicBufferConsumer
74 using Signature = decltype(&IGraphicBufferConsumer::detachBuffer); in detachBuffer()
188 return callLocal(data, reply, &IGraphicBufferConsumer::detachBuffer); in onTransact()
DBatchBufferOps.cpp71 results->emplace_back(detachBuffer(slot)); in detachBuffers()
DConsumerBase.cpp246 status_t ConsumerBase::detachBuffer(int slot) { in detachBuffer() function in android::ConsumerBase
255 status_t result = mConsumer->detachBuffer(slot); in detachBuffer()
/frameworks/base/libs/hostgraphics/gui/
DIGraphicBufferConsumer.h46 virtual status_t detachBuffer(int slot) = 0;
DBufferItemConsumer.h59 status_t detachBuffer(int slot) { in detachBuffer() function
/frameworks/native/libs/gui/include/gui/mock/
DGraphicBufferConsumer.h34 MOCK_METHOD1(detachBuffer, status_t(int));
DGraphicBufferProducer.h39 MOCK_METHOD1(detachBuffer, status_t(int));
/frameworks/base/libs/hostgraphics/
DHostBufferQueue.cpp31 virtual status_t detachBuffer(int slot) { in detachBuffer() function in android::HostBufferQueue
/frameworks/native/libs/gui/include/gui/
DBufferQueueConsumer.h54 virtual status_t detachBuffer(int slot);
DIGraphicBufferConsumer.h97 virtual status_t detachBuffer(int slot) = 0;
DConsumerBase.h84 status_t detachBuffer(int slot);
DBufferQueueProducer.h97 virtual status_t detachBuffer(int slot);
/frameworks/native/libs/gui/include/gui/bufferqueue/2.0/
DB2HGraphicBufferProducer.h67 virtual Return<HStatus> detachBuffer(int32_t slot) override;
DH2BGraphicBufferProducer.h62 virtual status_t detachBuffer(int slot) override;
/frameworks/native/libs/gui/include/gui/bufferqueue/1.0/
DH2BGraphicBufferProducer.h69 status_t detachBuffer(int slot) override;
DWGraphicBufferProducer.h140 Return<int32_t> detachBuffer(int32_t slot) override { in detachBuffer() function
141 return static_cast<int32_t>(mBase->detachBuffer(slot)); in detachBuffer()
/frameworks/native/libs/gui/bufferqueue/2.0/
DB2HGraphicBufferProducer.cpp135 Return<HStatus> B2HGraphicBufferProducer::detachBuffer(int32_t slot) { in detachBuffer() function in android::hardware::graphics::bufferqueue::V2_0::utils::B2HGraphicBufferProducer
138 mBase->detachBuffer(static_cast<int>(slot)), &hStatus); in detachBuffer()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.h116 virtual status_t detachBuffer(int slot);

12