Searched refs:detachBuffer (Results 1 - 14 of 14) sorted by relevance

/frameworks/native/libs/gui/tests/
H A DBufferQueue_test.cpp216 ASSERT_EQ(BAD_VALUE, mProducer->detachBuffer(-1)); // Index too low
217 ASSERT_EQ(BAD_VALUE, mProducer->detachBuffer(
219 ASSERT_EQ(BAD_VALUE, mProducer->detachBuffer(0)); // Not dequeued
227 ASSERT_EQ(BAD_VALUE, mProducer->detachBuffer(slot)); // Not requested
229 ASSERT_EQ(OK, mProducer->detachBuffer(slot));
230 ASSERT_EQ(BAD_VALUE, mProducer->detachBuffer(slot)); // Not dequeued
280 ASSERT_EQ(BAD_VALUE, mConsumer->detachBuffer(-1)); // Index too low
281 ASSERT_EQ(BAD_VALUE, mConsumer->detachBuffer(
283 ASSERT_EQ(BAD_VALUE, mConsumer->detachBuffer(0)); // Not acquired
288 ASSERT_EQ(OK, mConsumer->detachBuffer(ite
[all...]
/frameworks/native/services/surfaceflinger/
H A DMonitoredProducer.cpp68 status_t MonitoredProducer::detachBuffer(int slot) { function in class:android::MonitoredProducer
69 return mProducer->detachBuffer(slot);
H A DMonitoredProducer.h41 virtual status_t detachBuffer(int slot);
/frameworks/native/include/gui/
H A DBufferQueueConsumer.h52 // See IGraphicBufferConsumer::detachBuffer
53 virtual status_t detachBuffer(int slot);
H A DBufferQueueProducer.h99 // See IGraphicBufferProducer::detachBuffer
100 virtual status_t detachBuffer(int slot);
H A DIGraphicBufferConsumer.h146 // detachBuffer attempts to remove all ownership of the buffer in the given
157 virtual status_t detachBuffer(int slot) = 0;
H A DIGraphicBufferProducer.h172 // detachBuffer attempts to remove all ownership of the buffer in the given
186 virtual status_t detachBuffer(int slot) = 0;
189 // and detachBuffer in sequence, except for two things:
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DVirtualDisplaySurface.h104 virtual status_t detachBuffer(int slot);
H A DVirtualDisplaySurface.cpp397 status_t VirtualDisplaySurface::detachBuffer(int /* slot */) { function in class:android::VirtualDisplaySurface
398 VDS_LOGE("detachBuffer is not available for VirtualDisplaySurface");
/frameworks/native/libs/gui/
H A DStreamSplitter.cpp134 status = mInput->detachBuffer(bufferItem.mBuf);
H A DIGraphicBufferConsumer.cpp233 virtual status_t detachBuffer(int slot) { function in class:android::BpGraphicBufferConsumer
439 int result = detachBuffer(slot);
H A DIGraphicBufferProducer.cpp116 virtual status_t detachBuffer(int slot) { function in class:android::BpGraphicBufferProducer
321 int result = detachBuffer(slot);
H A DBufferQueueConsumer.cpp179 status_t BufferQueueConsumer::detachBuffer(int slot) { function in class:android::BufferQueueConsumer
182 BQ_LOGV("detachBuffer(C): slot %d", slot);
186 BQ_LOGE("detachBuffer(C): BufferQueue has been abandoned");
191 BQ_LOGE("detachBuffer(C): slot index %d out of range [0, %d)",
195 BQ_LOGE("detachBuffer(C): slot %d is not owned by the consumer "
H A DBufferQueueProducer.cpp390 status_t BufferQueueProducer::detachBuffer(int slot) { function in class:android::BufferQueueProducer
393 BQ_LOGV("detachBuffer(P): slot %d", slot);
397 BQ_LOGE("detachBuffer(P): BufferQueue has been abandoned");
402 BQ_LOGE("detachBuffer(P): slot index %d out of range [0, %d)",
406 BQ_LOGE("detachBuffer(P): slot %d is not owned by the producer "
410 BQ_LOGE("detachBuffer(P): buffer in slot %d has not been requested",

Completed in 151 milliseconds