Home
last modified time | relevance | path

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

12

/frameworks/av/services/camera/libcameraservice/device3/
DCamera3StreamSplitter.cpp306 auto rc = gbp->detachBuffer(i); in removeOutputLocked()
580 auto detachBuffer = mDetachedBuffers.find(bufferId); in decrementBufRefCountLocked() local
581 bool detach = (detachBuffer != mDetachedBuffers.end()); in decrementBufRefCountLocked()
583 mDetachedBuffers.erase(detachBuffer); in decrementBufRefCountLocked()
598 res = consumer->detachBuffer(consumerSlot); in decrementBufRefCountLocked()
688 auto detachBuffer = mDetachedBuffers.find(buffer->getId()); in returnOutputBufferLocked() local
689 bool detach = (detachBuffer != mDetachedBuffers.end()); in returnOutputBufferLocked()
691 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.cpp329 ASSERT_EQ(BAD_VALUE, mProducer->detachBuffer(-1)); // Index too low in TEST_F()
330 ASSERT_EQ(BAD_VALUE, mProducer->detachBuffer( in TEST_F()
332 ASSERT_EQ(BAD_VALUE, mProducer->detachBuffer(0)); // Not dequeued in TEST_F()
340 ASSERT_EQ(BAD_VALUE, mProducer->detachBuffer(slot)); // Not requested in TEST_F()
342 ASSERT_EQ(OK, mProducer->detachBuffer(slot)); in TEST_F()
343 ASSERT_EQ(BAD_VALUE, mProducer->detachBuffer(slot)); // Not dequeued in TEST_F()
395 ASSERT_EQ(BAD_VALUE, mConsumer->detachBuffer(-1)); // Index too low in TEST_F()
396 ASSERT_EQ(BAD_VALUE, mConsumer->detachBuffer( in TEST_F()
398 ASSERT_EQ(BAD_VALUE, mConsumer->detachBuffer(0)); // Not acquired in TEST_F()
403 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
DIGraphicBufferProducer_test.cpp735 ASSERT_EQ(NO_INIT, mProducer->detachBuffer(slot)); in TEST_P()
777 ASSERT_OK(mProducer->detachBuffer(slot)); in TEST_P()
793 ASSERT_OK(mProducer->detachBuffer(slot)); in TEST_P()
/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
DConsumerBase.cpp202 status_t ConsumerBase::detachBuffer(int slot) { in detachBuffer() function in android::ConsumerBase
211 status_t result = mConsumer->detachBuffer(slot); in detachBuffer()
/frameworks/native/services/surfaceflinger/
DMonitoredProducer.cpp66 status_t MonitoredProducer::detachBuffer(int slot) { in detachBuffer() function in android::MonitoredProducer
67 return mProducer->detachBuffer(slot); in detachBuffer()
DMonitoredProducer.h45 virtual status_t detachBuffer(int slot);
/frameworks/native/services/surfaceflinger/tests/unittests/mock/gui/
DMockGraphicBufferConsumer.h34 MOCK_METHOD1(detachBuffer, status_t(int));
DMockGraphicBufferProducer.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()
588 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.h93 virtual status_t detachBuffer(int slot) = 0;
DConsumerBase.h81 status_t detachBuffer(int slot);
DBufferQueueProducer.h90 virtual status_t detachBuffer(int slot);
/frameworks/native/libs/gui/include/gui/bufferqueue/2.0/
DB2HGraphicBufferProducer.h66 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