Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/tests/
DBufferQueue_test.cpp244 ASSERT_EQ(BAD_VALUE, mProducer->attachBuffer(NULL, safeToClobberBuffer)); in TEST_F()
245 ASSERT_EQ(BAD_VALUE, mProducer->attachBuffer(&newSlot, NULL)); in TEST_F()
247 ASSERT_EQ(OK, mProducer->attachBuffer(&newSlot, buffer)); in TEST_F()
303 ASSERT_EQ(BAD_VALUE, mConsumer->attachBuffer(NULL, safeToClobberBuffer)); in TEST_F()
304 ASSERT_EQ(BAD_VALUE, mConsumer->attachBuffer(&newSlot, NULL)); in TEST_F()
305 ASSERT_EQ(OK, mConsumer->attachBuffer(&newSlot, item.mGraphicBuffer)); in TEST_F()
354 ASSERT_EQ(OK, mProducer->attachBuffer(&newSlot, item.mGraphicBuffer)); in TEST_F()
429 ASSERT_EQ(BAD_VALUE, mProducer->attachBuffer(&outSlot, buffer)); in TEST_F()
430 ASSERT_EQ(BAD_VALUE, mConsumer->attachBuffer(&outSlot, buffer)); in TEST_F()
435 ASSERT_EQ(OK, mProducer->attachBuffer(&outSlot, buffer)); in TEST_F()
[all …]
DSurface_test.cpp206 ASSERT_EQ(NO_ERROR, surface->attachBuffer(buffer)); in TEST_F()
/frameworks/native/services/surfaceflinger/
DMonitoredProducer.cpp77 status_t MonitoredProducer::attachBuffer(int* outSlot, in attachBuffer() function in android::MonitoredProducer
79 return mProducer->attachBuffer(outSlot, buffer); in attachBuffer()
DMonitoredProducer.h44 virtual status_t attachBuffer(int* outSlot,
/frameworks/native/libs/gui/
DStreamSplitter.cpp154 status = (*output)->attachBuffer(&slot, bufferItem.mGraphicBuffer); in onFrameAvailable()
232 status = mInput->attachBuffer(&consumerSlot, tracker->getBuffer()); in onBufferReleasedByOutput()
DIGraphicBufferConsumer.cpp98 virtual status_t attachBuffer(int* slot, const sp<GraphicBuffer>& buffer) { in attachBuffer() function in android::BpGraphicBufferConsumer
319 int result = attachBuffer(&slot, buffer); in onTransact()
DIGraphicBufferProducer.cpp165 virtual status_t attachBuffer(int* slot, const sp<GraphicBuffer>& buffer) { in attachBuffer() function in android::BpGraphicBufferProducer
393 int result = attachBuffer(&slot, buffer); in onTransact()
DBufferQueueConsumer.cpp235 status_t BufferQueueConsumer::attachBuffer(int* outSlot, in attachBuffer() function in android::BufferQueueConsumer
DSurface.cpp747 int Surface::attachBuffer(ANativeWindowBuffer* buffer) in attachBuffer() function in android::Surface
758 status_t result = mGraphicBufferProducer->attachBuffer( in attachBuffer()
DBufferQueueProducer.cpp487 status_t BufferQueueProducer::attachBuffer(int* outSlot, in attachBuffer() function in android::BufferQueueProducer
/frameworks/native/include/gui/
DIGraphicBufferConsumer.h118 virtual status_t attachBuffer(int *outSlot,
DBufferQueueConsumer.h56 virtual status_t attachBuffer(int* slot, const sp<GraphicBuffer>& buffer);
DBufferQueueProducer.h106 virtual status_t attachBuffer(int* outSlot, const sp<GraphicBuffer>& buffer);
DIGraphicBufferProducer.h233 virtual status_t attachBuffer(int* outSlot,
DSurface.h192 virtual int attachBuffer(ANativeWindowBuffer*);
/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.h107 virtual status_t attachBuffer(int* slot, const sp<GraphicBuffer>& buffer);
DVirtualDisplaySurface.cpp411 status_t VirtualDisplaySurface::attachBuffer(int* /* outSlot */, in attachBuffer() function in android::VirtualDisplaySurface
/frameworks/av/media/libstagefright/
DMediaSync.cpp686 status_t status = mOutput->attachBuffer(&slot, bufferItem.mGraphicBuffer); in renderOneBufferItem_l()
766 status_t status = mInput->attachBuffer(&consumerSlot, oldBuffer); in returnBufferToInput_l()
DACodec.cpp724 err = surface->attachBuffer(info.mGraphicBuffer->getNativeBuffer()); in handleSetSurface()
/frameworks/av/media/libstagefright/omx/
DGraphicBufferSource.cpp73 err = consumer->attachBuffer(&bi.mBuf, bi.mGraphicBuffer); in onFrameAvailable()
846 if (mConsumer->attachBuffer(&id, buffer) == OK) { in releaseBuffer()
/frameworks/base/media/jni/
Dandroid_media_ImageWriter.cpp531 res = surface->attachBuffer(opaqueBuffer->mGraphicBuffer.get()); in ImageWriter_attachAndQueueImage()