Home
last modified time | relevance | path

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

12

/frameworks/native/libs/gui/
DIGraphicBufferConsumer.cpp78 status_t attachBuffer(int* slot, const sp<GraphicBuffer>& buffer) override { in attachBuffer() function in android::BpGraphicBufferConsumer
79 using Signature = decltype(&IGraphicBufferConsumer::attachBuffer); in attachBuffer()
190 return callLocal(data, reply, &IGraphicBufferConsumer::attachBuffer); in onTransact()
DStreamSplitter.cpp155 status = (*output)->attachBuffer(&slot, bufferItem.mGraphicBuffer); in onFrameAvailable()
233 status = mInput->attachBuffer(&consumerSlot, tracker->getBuffer()); in onBufferReleasedByOutput()
DBufferHubConsumer.cpp52 status_t BufferHubConsumer::attachBuffer(int* /*outSlot*/, const sp<GraphicBuffer>& /*buffer*/) { in attachBuffer() function in android::BufferHubConsumer
DIGraphicBufferProducer.cpp237 virtual status_t attachBuffer(int* slot, const sp<GraphicBuffer>& buffer) { in attachBuffer() function in android::BpGraphicBufferProducer
590 status_t attachBuffer( in attachBuffer() function in android::HpGraphicBufferProducer
592 return mBase->attachBuffer(outSlot, buffer); in attachBuffer()
853 result = attachBuffer(&slot, buffer); in onTransact()
/frameworks/native/libs/gui/tests/
DBufferQueue_test.cpp356 ASSERT_EQ(BAD_VALUE, mProducer->attachBuffer(nullptr, safeToClobberBuffer)); in TEST_F()
357 ASSERT_EQ(BAD_VALUE, mProducer->attachBuffer(&newSlot, nullptr)); in TEST_F()
359 ASSERT_EQ(OK, mProducer->attachBuffer(&newSlot, buffer)); in TEST_F()
415 ASSERT_EQ(BAD_VALUE, mConsumer->attachBuffer(nullptr, safeToClobberBuffer)); in TEST_F()
416 ASSERT_EQ(BAD_VALUE, mConsumer->attachBuffer(&newSlot, nullptr)); in TEST_F()
417 ASSERT_EQ(OK, mConsumer->attachBuffer(&newSlot, item.mGraphicBuffer)); in TEST_F()
466 ASSERT_EQ(OK, mProducer->attachBuffer(&newSlot, item.mGraphicBuffer)); in TEST_F()
543 ASSERT_EQ(BAD_VALUE, mProducer->attachBuffer(&outSlot, buffer)); in TEST_F()
544 ASSERT_EQ(BAD_VALUE, mConsumer->attachBuffer(&outSlot, buffer)); in TEST_F()
549 ASSERT_EQ(OK, mProducer->attachBuffer(&outSlot, buffer)); in TEST_F()
[all …]
DMalicious.cpp50 status_t attachBuffer(int* outSlot, const sp<GraphicBuffer>& buffer) override { in attachBuffer() function in android::test::ProxyBQP
51 return mProducer->attachBuffer(outSlot, buffer); in attachBuffer()
/frameworks/native/services/surfaceflinger/
DMonitoredProducer.cpp75 status_t MonitoredProducer::attachBuffer(int* outSlot, in attachBuffer() function in android::MonitoredProducer
77 return mProducer->attachBuffer(outSlot, buffer); in attachBuffer()
DMonitoredProducer.h48 virtual status_t attachBuffer(int* outSlot,
/frameworks/native/services/surfaceflinger/tests/unittests/mock/gui/
DMockGraphicBufferConsumer.h35 MOCK_METHOD2(attachBuffer, status_t(int*, const sp<GraphicBuffer>&));
DMockGraphicBufferProducer.h41 MOCK_METHOD2(attachBuffer, status_t(int*, const sp<GraphicBuffer>&));
/frameworks/native/libs/gui/include/gui/
DBufferHubConsumer.h44 status_t attachBuffer(int* outSlot, const sp<GraphicBuffer>& buffer) override;
DBufferQueueConsumer.h57 virtual status_t attachBuffer(int* slot, const sp<GraphicBuffer>& buffer);
DIGraphicBufferConsumer.h109 virtual status_t attachBuffer(int* outSlot, const sp<GraphicBuffer>& buffer) = 0;
DBufferQueueProducer.h97 virtual status_t attachBuffer(int* outSlot, const sp<GraphicBuffer>& buffer);
DBufferHubProducer.h73 status_t attachBuffer(int* out_slot, const sp<GraphicBuffer>& buffer) override;
DIGraphicBufferProducer.h286 virtual status_t attachBuffer(int* outSlot,
/frameworks/native/libs/gui/include/gui/bufferqueue/2.0/
DB2HGraphicBufferProducer.h71 virtual Return<void> attachBuffer(
DH2BGraphicBufferProducer.h66 virtual status_t attachBuffer(
/frameworks/av/media/codec2/hidl/1.0/utils/
DClientBlockHelper.cpp129 status_t result = igbp->attachBuffer(bqSlot, graphicBuffer); in attachToBufferQueue()
193 status_t result = igbp->attachBuffer(&bqSlot, mBuffers[i]); in configure()
/frameworks/native/libs/gui/bufferqueue/2.0/
DB2HGraphicBufferProducer.cpp159 Return<void> B2HGraphicBufferProducer::attachBuffer( in attachBuffer() function in android::hardware::graphics::bufferqueue::V2_0::utils::B2HGraphicBufferProducer
176 mBase->attachBuffer(&bSlot, bBuffer), &hStatus, in attachBuffer()
DH2BGraphicBufferProducer.cpp218 status_t H2BGraphicBufferProducer::attachBuffer( in attachBuffer() function in android::hardware::graphics::bufferqueue::V2_0::utils::H2BGraphicBufferProducer
229 Return<void> transResult = mBase->attachBuffer(hBuffer, hGenerationNumber, in attachBuffer()
/frameworks/native/libs/gui/include/gui/bufferqueue/1.0/
DH2BGraphicBufferProducer.h72 status_t attachBuffer(int* outSlot, const sp<GraphicBuffer>& buffer)
DWGraphicBufferProducer.h170 …Return<void> attachBuffer(const AnwBuffer& buffer, HGraphicBufferProducer::attachBuffer_cb _hidl_c… in attachBuffer() function
179 status_t status = mBase->attachBuffer(&outSlot, lBuffer); in attachBuffer()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.h113 virtual status_t attachBuffer(int* slot, const sp<GraphicBuffer>& buffer);
/frameworks/av/media/libstagefright/
DMediaSync.cpp672 status_t status = mOutput->attachBuffer(&slot, bufferItem.mGraphicBuffer); in renderOneBufferItem_l()
752 status_t status = mInput->attachBuffer(&consumerSlot, oldBuffer); in returnBufferToInput_l()

12