/frameworks/native/libs/gui/tests/ |
BufferQueue_test.cpp | 244 ASSERT_EQ(BAD_VALUE, mProducer->attachBuffer(NULL, safeToClobberBuffer)); 245 ASSERT_EQ(BAD_VALUE, mProducer->attachBuffer(&newSlot, NULL)); 247 ASSERT_EQ(OK, mProducer->attachBuffer(&newSlot, buffer)); 303 ASSERT_EQ(BAD_VALUE, mConsumer->attachBuffer(NULL, safeToClobberBuffer)); 304 ASSERT_EQ(BAD_VALUE, mConsumer->attachBuffer(&newSlot, NULL)); 305 ASSERT_EQ(OK, mConsumer->attachBuffer(&newSlot, item.mGraphicBuffer)); 354 ASSERT_EQ(OK, mProducer->attachBuffer(&newSlot, item.mGraphicBuffer)); 429 ASSERT_EQ(BAD_VALUE, mProducer->attachBuffer(&outSlot, buffer)); 430 ASSERT_EQ(BAD_VALUE, mConsumer->attachBuffer(&outSlot, buffer)); 435 ASSERT_EQ(OK, mProducer->attachBuffer(&outSlot, buffer)) [all...] |
Surface_test.cpp | 206 ASSERT_EQ(NO_ERROR, surface->attachBuffer(buffer));
|
/frameworks/native/services/surfaceflinger/ |
MonitoredProducer.h | 44 virtual status_t attachBuffer(int* outSlot,
|
MonitoredProducer.cpp | 77 status_t MonitoredProducer::attachBuffer(int* outSlot, 79 return mProducer->attachBuffer(outSlot, buffer);
|
/frameworks/native/include/gui/ |
BufferQueueConsumer.h | 55 // See IGraphicBufferConsumer::attachBuffer 56 virtual status_t attachBuffer(int* slot, const sp<GraphicBuffer>& buffer);
|
BufferQueueProducer.h | 105 // See IGraphicBufferProducer::attachBuffer 106 virtual status_t attachBuffer(int* outSlot, const sp<GraphicBuffer>& buffer);
|
IGraphicBufferConsumer.h | 103 // attachBuffer attempts to transfer ownership of a buffer to the buffer 118 virtual status_t attachBuffer(int *outSlot,
|
IGraphicBufferProducer.h | 208 // attachBuffer attempts to transfer ownership of a buffer to the buffer 213 // If attachBuffer returns the RELEASE_ALL_BUFFERS flag, the caller is 233 virtual status_t attachBuffer(int* outSlot,
|
Surface.h | 192 virtual int attachBuffer(ANativeWindowBuffer*);
|
/frameworks/native/libs/gui/ |
StreamSplitter.cpp | 154 status = (*output)->attachBuffer(&slot, bufferItem.mGraphicBuffer); 232 status = mInput->attachBuffer(&consumerSlot, tracker->getBuffer());
|
IGraphicBufferConsumer.cpp | 98 virtual status_t attachBuffer(int* slot, const sp<GraphicBuffer>& buffer) { 319 int result = attachBuffer(&slot, buffer);
|
IGraphicBufferProducer.cpp | 165 virtual status_t attachBuffer(int* slot, const sp<GraphicBuffer>& buffer) { 393 int result = attachBuffer(&slot, buffer);
|
BufferQueueConsumer.cpp | 235 status_t BufferQueueConsumer::attachBuffer(int* outSlot, 240 BQ_LOGE("attachBuffer(P): outSlot must not be NULL"); 243 BQ_LOGE("attachBuffer(P): cannot attach NULL buffer"); 258 BQ_LOGE("attachBuffer(P): max acquired buffer count reached: %d " 265 BQ_LOGE("attachBuffer: generation number mismatch [buffer %u] " 282 BQ_LOGE("attachBuffer(P): could not find free buffer slot"); 288 BQ_LOGV("attachBuffer(C): returning slot %d", *outSlot);
|
Surface.cpp | 747 int Surface::attachBuffer(ANativeWindowBuffer* buffer) 750 ALOGV("Surface::attachBuffer"); 758 status_t result = mGraphicBufferProducer->attachBuffer( 761 ALOGE("attachBuffer: IGraphicBufferProducer call failed (%d)", result); [all...] |
BufferQueueProducer.cpp | 487 status_t BufferQueueProducer::attachBuffer(int* outSlot, 492 BQ_LOGE("attachBuffer(P): outSlot must not be NULL"); 495 BQ_LOGE("attachBuffer(P): cannot attach NULL buffer"); 503 BQ_LOGE("attachBuffer: generation number mismatch [buffer %u] " 511 // TODO: Should we provide an async flag to attachBuffer? It seems 514 status_t status = waitForFreeSlotThenRelock("attachBuffer(P)", false, 522 BQ_LOGE("attachBuffer(P): no available buffer slots"); 528 BQ_LOGV("attachBuffer(P): returning slot %d flags=%#x", [all...] |
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
VirtualDisplaySurface.h | 107 virtual status_t attachBuffer(int* slot, const sp<GraphicBuffer>& buffer);
|
VirtualDisplaySurface.cpp | 411 status_t VirtualDisplaySurface::attachBuffer(int* /* outSlot */, 413 VDS_LOGE("attachBuffer is not available for VirtualDisplaySurface");
|
/frameworks/av/media/libstagefright/ |
MediaSync.cpp | 686 status_t status = mOutput->attachBuffer(&slot, bufferItem.mGraphicBuffer); 766 status_t status = mInput->attachBuffer(&consumerSlot, oldBuffer);
|
ACodec.cpp | 724 err = surface->attachBuffer(info.mGraphicBuffer->getNativeBuffer()); [all...] |
/frameworks/av/media/libstagefright/omx/ |
GraphicBufferSource.cpp | 73 err = consumer->attachBuffer(&bi.mBuf, bi.mGraphicBuffer); 75 ALOGE("PersistentProxyListener: attachBuffer failed (%d)", err); 846 if (mConsumer->attachBuffer(&id, buffer) == OK) { [all...] |
/frameworks/base/media/jni/ |
android_media_ImageWriter.cpp | 531 res = surface->attachBuffer(opaqueBuffer->mGraphicBuffer.get()); [all...] |