Home
last modified time | relevance | path

Searched refs:detachBuffer (Results 1 – 25 of 46) 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;
DCamera3DummyStream.h57 virtual status_t detachBuffer(sp<GraphicBuffer>* buffer, int* fenceFd);
DCamera3DummyStream.cpp84 status_t Camera3DummyStream::detachBuffer(sp<GraphicBuffer>* buffer, int* fenceFd) { in detachBuffer() function in android::camera3::Camera3DummyStream
/frameworks/native/libs/gui/tests/
DBufferQueue_test.cpp341 ASSERT_EQ(BAD_VALUE, mProducer->detachBuffer(-1)); // Index too low in TEST_F()
342 ASSERT_EQ(BAD_VALUE, mProducer->detachBuffer( in TEST_F()
344 ASSERT_EQ(BAD_VALUE, mProducer->detachBuffer(0)); // Not dequeued in TEST_F()
352 ASSERT_EQ(BAD_VALUE, mProducer->detachBuffer(slot)); // Not requested in TEST_F()
354 ASSERT_EQ(OK, mProducer->detachBuffer(slot)); in TEST_F()
355 ASSERT_EQ(BAD_VALUE, mProducer->detachBuffer(slot)); // Not dequeued in TEST_F()
407 ASSERT_EQ(BAD_VALUE, mConsumer->detachBuffer(-1)); // Index too low in TEST_F()
408 ASSERT_EQ(BAD_VALUE, mConsumer->detachBuffer( in TEST_F()
410 ASSERT_EQ(BAD_VALUE, mConsumer->detachBuffer(0)); // Not acquired in TEST_F()
415 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
/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/gui/
DIGraphicBufferConsumer.h46 virtual status_t detachBuffer(int slot) = 0;
DBufferItemConsumer.h61 status_t detachBuffer(int slot) { return OK; } in detachBuffer() function
/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/av/media/codec2/vndk/platform/
DC2BqBuffer.cpp296 (void)producer->detachBuffer(static_cast<int32_t>(slot)).isOk(); in getGenerationNumber()
321 (void)producer->detachBuffer(static_cast<int32_t>(slot)).isOk(); in getGenerationNumber()
324 (void)producer->detachBuffer(static_cast<int32_t>(slot)).isOk(); in getGenerationNumber()
496 mProducer->detachBuffer(static_cast<int32_t>(i)); in ~Impl()
589 mProducer->detachBuffer(static_cast<int32_t>(i)); in configureProducer()
/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/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/libs/gui/include/gui/bufferqueue/1.0/
DH2BGraphicBufferProducer.h69 status_t detachBuffer(int slot) override;

12