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

/frameworks/native/libs/gui/tests/
H A DSurfaceTextureClient_test.cpp221 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1));
231 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1));
241 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1));
251 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1));
261 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1));
267 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1));
277 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1));
283 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1));
294 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1));
303 ASSERT_EQ(OK, mANW->cancelBuffer(mAN
[all...]
H A DSurface_test.cpp116 ASSERT_EQ(NO_ERROR, anw->cancelBuffer(anw.get(), buf, -1));
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DVirtualDisplaySurface.h103 virtual void cancelBuffer(int pslot, const sp<Fence>& fence);
H A DVirtualDisplaySurface.cpp420 void VirtualDisplaySurface::cancelBuffer(int pslot, const sp<Fence>& fence) { function in class:android::VirtualDisplaySurface
422 "Unexpected cancelBuffer(pslot=%d) in %s state", pslot,
424 VDS_LOGV("cancelBuffer pslot=%d", pslot);
426 return mSource[source]->cancelBuffer(
467 mSource[SOURCE_SINK]->cancelBuffer(
/frameworks/native/libs/gui/
H A DSurface.cpp47 ANativeWindow::cancelBuffer = hook_cancelBuffer; member in class:android::ANativeWindow
103 return c->cancelBuffer(buffer, fenceFd);
123 c->cancelBuffer(buf, -1);
133 return c->cancelBuffer(buffer, -1);
227 int Surface::cancelBuffer(android_native_buffer_t* buffer, function in class:android::Surface
230 ALOGV("Surface::cancelBuffer");
237 mGraphicBufferProducer->cancelBuffer(i, fence);
748 cancelBuffer(out, fenceFd);
H A DIGraphicBufferProducer.cpp120 virtual void cancelBuffer(int buf, const sp<Fence>& fence) { function in class:android::BpGraphicBufferProducer
231 cancelBuffer(buf, fence);
H A DBufferQueue.cpp611 void BufferQueue::cancelBuffer(int buf, const sp<Fence>& fence) { function in class:android::BufferQueue
613 ST_LOGV("cancelBuffer: slot=%d", buf);
617 ST_LOGW("cancelBuffer: BufferQueue has been abandoned!");
622 ST_LOGE("cancelBuffer: slot index out of range [0, %d]: %d",
626 ST_LOGE("cancelBuffer: slot %d is not owned by the client (state=%d)",
630 ST_LOGE("cancelBuffer: fence is NULL");
/frameworks/native/include/gui/
H A DBufferQueue.h181 // cancelBuffer returns a dequeued buffer to the BufferQueue, but doesn't
186 virtual void cancelBuffer(int buf, const sp<Fence>& fence);
396 // QUEUED (via queueBuffer) or back to FREE (via cancelBuffer).
443 // called cancelBuffer after queueing some writes. When the buffer is
H A DIGraphicBufferProducer.h78 // is expected to either call cancelBuffer on the dequeued slot or to fill
174 // cancelBuffer indicates that the client does not wish to fill in the
177 virtual void cancelBuffer(int slot, const sp<Fence>& fence) = 0;
H A DSurface.h127 virtual int cancelBuffer(ANativeWindowBuffer* buffer, int fenceFd);
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3OutputStream.cpp197 res = currentConsumer->cancelBuffer(currentConsumer.get(),
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.h601 return a->cancelBuffer(a,
/frameworks/av/services/camera/libcameraservice/device2/
H A DCamera2Device.cpp1148 res = mConsumerInterface->cancelBuffer(mConsumerInterface.get(),
1312 int err = 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/rs/driver/
H A DrsdAllocation.cpp674 old->cancelBuffer(old, drv->wndBuffer, -1);
/frameworks/av/media/libstagefright/
H A DACodec.cpp798 ALOGV("[%s] Calling cancelBuffer on buffer %p",
801 int err = mNativeWindow->cancelBuffer(
2813 mNativeWindow->cancelBuffer(mNativeWindow.get(), anb, -1);
H A DOMXCodec.cpp1864 CODEC_LOGV("Calling cancelBuffer on buffer %p", info->mBuffer);
1865 int err = mNativeWindow->cancelBuffer(
1868 CODEC_LOGE("cancelBuffer failed w/ error 0x%08x", err);
2029 mNativeWindow->cancelBuffer(mNativeWindow.get(), anb, -1);

Completed in 458 milliseconds