Home
last modified time | relevance | path

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

12

/frameworks/av/services/camera/libcameraservice/device3/
DCamera3StreamSplitter.cpp308 auto rc = gbp->detachBuffer(i); in removeOutputLocked()
587 auto detachBuffer = mDetachedBuffers.find(bufferId); in decrementBufRefCountLocked() local
588 bool detach = (detachBuffer != mDetachedBuffers.end()); in decrementBufRefCountLocked()
590 mDetachedBuffers.erase(detachBuffer); in decrementBufRefCountLocked()
605 res = consumer->detachBuffer(consumerSlot); in decrementBufRefCountLocked()
695 auto detachBuffer = mDetachedBuffers.find(buffer->getId()); in returnOutputBufferLocked() local
696 bool detach = (detachBuffer != mDetachedBuffers.end()); in returnOutputBufferLocked()
698 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.cpp84 status_t Camera3FakeStream::detachBuffer(sp<GraphicBuffer>* buffer, int* fenceFd) { in detachBuffer() function in android::camera3::Camera3FakeStream
/frameworks/native/libs/gui/tests/
DBufferQueue_test.cpp338 ASSERT_EQ(BAD_VALUE, mProducer->detachBuffer(-1)); // Index too low in TEST_F()
339 ASSERT_EQ(BAD_VALUE, mProducer->detachBuffer( in TEST_F()
341 ASSERT_EQ(BAD_VALUE, mProducer->detachBuffer(0)); // Not dequeued in TEST_F()
349 ASSERT_EQ(BAD_VALUE, mProducer->detachBuffer(slot)); // Not requested in TEST_F()
351 ASSERT_EQ(OK, mProducer->detachBuffer(slot)); in TEST_F()
352 ASSERT_EQ(BAD_VALUE, mProducer->detachBuffer(slot)); // Not dequeued in TEST_F()
404 ASSERT_EQ(BAD_VALUE, mConsumer->detachBuffer(-1)); // Index too low in TEST_F()
405 ASSERT_EQ(BAD_VALUE, mConsumer->detachBuffer( in TEST_F()
407 ASSERT_EQ(BAD_VALUE, mConsumer->detachBuffer(0)); // Not acquired in TEST_F()
412 ASSERT_EQ(OK, mConsumer->detachBuffer(item.mSlot)); in TEST_F()
[all …]
DBufferItemConsumer_test.cpp141 status_t ret = mBIC->detachBuffer(slot); in TEST_F()
164 status_t ret = mProducer->detachBuffer(slot); in TEST_F()
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()
DBufferHubConsumer.cpp47 status_t BufferHubConsumer::detachBuffer(int /*slot*/) { in detachBuffer() function in android::BufferHubConsumer
DBatchBufferOps.cpp71 results->emplace_back(detachBuffer(slot)); in detachBuffers()
/frameworks/base/libs/hostgraphics/gui/
DIGraphicBufferConsumer.h46 virtual status_t detachBuffer(int slot) = 0;
DBufferItemConsumer.h61 status_t detachBuffer(int slot) { return OK; } in detachBuffer() function
/frameworks/native/services/surfaceflinger/
DMonitoredProducer.cpp64 status_t MonitoredProducer::detachBuffer(int slot) { in detachBuffer() function in android::MonitoredProducer
65 return mProducer->detachBuffer(slot); in detachBuffer()
DMonitoredProducer.h45 virtual status_t detachBuffer(int slot);
/frameworks/base/libs/hostgraphics/
DHostBufferQueue.cpp27 virtual status_t detachBuffer(int slot) { return OK; } in detachBuffer() function in android::HostBufferQueue
/frameworks/native/libs/gui/include/gui/mock/
DGraphicBufferConsumer.h34 MOCK_METHOD1(detachBuffer, status_t(int));
DGraphicBufferProducer.h39 MOCK_METHOD1(detachBuffer, status_t(int));
/frameworks/native/libs/gui/include/gui/
DBufferHubConsumer.h41 status_t detachBuffer(int slot) override;
DBufferQueueConsumer.h54 virtual status_t detachBuffer(int slot);
DIGraphicBufferConsumer.h97 virtual status_t detachBuffer(int slot) = 0;
DConsumerBase.h84 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/av/media/codec2/vndk/platform/
DC2BqBuffer.cpp200 (void)producer->detachBuffer(static_cast<int32_t>(slot)).isOk(); in getGenerationNumberAndUsage()
226 (void)producer->detachBuffer(static_cast<int32_t>(slot)).isOk(); in getGenerationNumberAndUsage()
229 (void)producer->detachBuffer(static_cast<int32_t>(slot)).isOk(); in getGenerationNumberAndUsage()
497 mProducer->detachBuffer(static_cast<int32_t>(i)); in ~Impl()
613 mProducer->detachBuffer(static_cast<int32_t>(i)); in configureProducer()
/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()

12