Searched defs:attachBuffer (Results 1 - 7 of 7) sorted by relevance

/frameworks/native/libs/gui/
H A DBufferQueueConsumer.cpp235 status_t BufferQueueConsumer::attachBuffer(int* outSlot, function in class:android::BufferQueueConsumer
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);
H A DIGraphicBufferConsumer.cpp98 virtual status_t attachBuffer(int* slot, const sp<GraphicBuffer>& buffer) { function in class:android::BpGraphicBufferConsumer
319 int result = attachBuffer(&slot, buffer);
H A DIGraphicBufferProducer.cpp165 virtual status_t attachBuffer(int* slot, const sp<GraphicBuffer>& buffer) { function in class:android::BpGraphicBufferProducer
393 int result = attachBuffer(&slot, buffer);
H A DBufferQueueProducer.cpp487 status_t BufferQueueProducer::attachBuffer(int* outSlot, function in class:android::BufferQueueProducer
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",
1049 // A consumer allocated the FREE slot with attachBuffer. Discard the buffer we
H A DSurface.cpp747 int Surface::attachBuffer(ANativeWindowBuffer* buffer) function in class:android::Surface
750 ALOGV("Surface::attachBuffer");
758 status_t result = mGraphicBufferProducer->attachBuffer(
761 ALOGE("attachBuffer: IGraphicBufferProducer call failed (%d)", result);
/frameworks/native/services/surfaceflinger/
H A DMonitoredProducer.cpp77 status_t MonitoredProducer::attachBuffer(int* outSlot, function in class:android::MonitoredProducer
79 return mProducer->attachBuffer(outSlot, buffer);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DVirtualDisplaySurface.cpp411 status_t VirtualDisplaySurface::attachBuffer(int* /* outSlot */, function in class:android::VirtualDisplaySurface
413 VDS_LOGE("attachBuffer is not available for VirtualDisplaySurface");

Completed in 1184 milliseconds