Searched refs:cancelBuffer (Results 1 - 20 of 20) sorted by relevance

/frameworks/native/libs/gui/tests/
H A DSurfaceTextureClient_test.cpp224 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1));
234 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1));
244 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1));
254 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1));
264 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1));
270 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1));
280 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1));
286 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1));
297 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1));
306 ASSERT_EQ(OK, mANW->cancelBuffer(mAN
[all...]
H A DSurface_test.cpp119 ASSERT_EQ(NO_ERROR, anw->cancelBuffer(anw.get(), buf, -1));
H A DIGraphicBufferProducer_test.cpp475 mProducer->cancelBuffer(dequeuedSlot, dequeuedFence);
510 mProducer->cancelBuffer(result.slot, result.fence);
/frameworks/native/services/surfaceflinger/
H A DMonitoredProducer.cpp87 void MonitoredProducer::cancelBuffer(int slot, const sp<Fence>& fence) { function in class:android::MonitoredProducer
88 mProducer->cancelBuffer(slot, fence);
H A DMonitoredProducer.h48 virtual void cancelBuffer(int slot, const sp<Fence>& fence);
/frameworks/native/include/gui/
H A DBufferQueueProducer.h127 // cancelBuffer returns a dequeued buffer to the BufferQueue, but doesn't
132 virtual void cancelBuffer(int slot, const sp<Fence>& fence);
H A DIGraphicBufferProducer.h113 // buffer ownership back to the server with either cancelBuffer on
351 // cancelBuffer indicates that the client does not wish to fill in the
359 virtual void cancelBuffer(int slot, const sp<Fence>& fence) = 0;
H A DSurface.h152 virtual int cancelBuffer(ANativeWindowBuffer* buffer, int fenceFd);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DVirtualDisplaySurface.cpp250 mSource[SOURCE_SINK]->cancelBuffer(sslot, outFence);
319 mSource[source]->cancelBuffer(*sslot, *fence);
471 void VirtualDisplaySurface::cancelBuffer(int pslot, const sp<Fence>& fence) { function in class:android::VirtualDisplaySurface
473 return mSource[SOURCE_SINK]->cancelBuffer(mapProducer2SourceSlot(SOURCE_SINK, pslot), fence);
476 "Unexpected cancelBuffer(pslot=%d) in %s state", pslot,
478 VDS_LOGV("cancelBuffer pslot=%d", pslot);
480 return mSource[source]->cancelBuffer(
542 mSource[SOURCE_SINK]->cancelBuffer(
H A DVirtualDisplaySurface.h110 virtual void cancelBuffer(int pslot, const sp<Fence>& fence);
/frameworks/native/libs/gui/
H A DSurface.cpp49 ANativeWindow::cancelBuffer = hook_cancelBuffer; member in class:android::ANativeWindow
117 return c->cancelBuffer(buffer, fenceFd);
137 c->cancelBuffer(buf, -1);
147 return c->cancelBuffer(buffer, -1);
240 mGraphicBufferProducer->cancelBuffer(buf, fence);
261 int Surface::cancelBuffer(android_native_buffer_t* buffer, function in class:android::Surface
264 ALOGV("Surface::cancelBuffer");
271 mGraphicBufferProducer->cancelBuffer(i, fence);
H A DIGraphicBufferProducer.cpp187 virtual void cancelBuffer(int buf, const sp<Fence>& fence) { function in class:android::BpGraphicBufferProducer
369 cancelBuffer(buf, fence);
H A DBufferQueueProducer.cpp693 void BufferQueueProducer::cancelBuffer(int slot, const sp<Fence>& fence) { function in class:android::BufferQueueProducer
695 BQ_LOGV("cancelBuffer: slot %d", slot);
699 BQ_LOGE("cancelBuffer: BufferQueue has been abandoned");
704 BQ_LOGE("cancelBuffer: slot index %d out of range [0, %d)",
708 BQ_LOGE("cancelBuffer: slot %d is not owned by the producer "
712 BQ_LOGE("cancelBuffer: fence is NULL");
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3OutputStream.cpp199 res = currentConsumer->cancelBuffer(currentConsumer.get(),
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.h615 return a->cancelBuffer(a,
/frameworks/native/opengl/libagl/
H A Degl.cpp386 nativeWindow->cancelBuffer(nativeWindow, buffer, fenceFd);
424 nativeWindow->cancelBuffer(nativeWindow, buffer, -1);
536 nativeWindow->cancelBuffer(nativeWindow, buffer, fenceFd);
/frameworks/av/services/camera/libcameraservice/device2/
H A DCamera2Device.cpp1193 res = mConsumerInterface->cancelBuffer(mConsumerInterface.get(),
1357 int err = a->cancelBuffer(a,
/frameworks/rs/driver/
H A DrsdAllocation.cpp691 old->cancelBuffer(old, drv->wndBuffer, -1);
/frameworks/av/media/libstagefright/
H A DOMXCodec.cpp1993 CODEC_LOGV("Calling cancelBuffer on buffer %u", info->mBuffer);
1994 int err = mNativeWindow->cancelBuffer(
1997 CODEC_LOGE("cancelBuffer failed w/ error 0x%08x", err);
2158 mNativeWindow->cancelBuffer(mNativeWindow.get(), anb, -1);
H A DACodec.cpp922 ALOGV("[%s] Calling cancelBuffer on buffer %u",
925 int err = mNativeWindow->cancelBuffer(
4010 mNativeWindow->cancelBuffer(mNativeWindow.get(), anb, -1);

Completed in 295 milliseconds