Home
last modified time | relevance | path

Searched refs:cancelBuffer (Results 1 – 24 of 24) sorted by relevance

/frameworks/native/libs/gui/tests/
DSurfaceTextureClient_test.cpp225 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1)); in TEST_F()
237 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1)); in TEST_F()
249 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1)); in TEST_F()
261 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1)); in TEST_F()
273 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1)); in TEST_F()
280 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1)); in TEST_F()
292 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1)); in TEST_F()
298 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1)); in TEST_F()
310 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1)); in TEST_F()
320 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf[0], -1)); in TEST_F()
[all …]
DSurface_test.cpp123 ASSERT_EQ(NO_ERROR, anw->cancelBuffer(anw.get(), buf, -1)); in TEST_F()
198 ASSERT_EQ(NO_ERROR, window->cancelBuffer(window.get(), buffer, fenceFd)); in TEST_F()
213 ASSERT_EQ(NO_ERROR, window->cancelBuffer(window.get(), buffer, -1)); in TEST_F()
DIGraphicBufferProducer_test.cpp492 mProducer->cancelBuffer(dequeuedSlot, dequeuedFence); in TEST_F()
542 ASSERT_OK(mProducer->cancelBuffer(dequeuedSlot, dequeuedFence)); in TEST_F()
715 ASSERT_EQ(NO_INIT, mProducer->cancelBuffer(slot, fence)); in TEST_F()
DBufferQueue_test.cpp499 mProducer->cancelBuffer(slot, fence); in TEST_F()
884 ASSERT_EQ(OK, mProducer->cancelBuffer(slots[i], Fence::NO_FENCE)); in TEST_F()
1020 ASSERT_EQ(OK, mProducer->cancelBuffer(slots[i], Fence::NO_FENCE)); in TEST_F()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.cpp292 mSource[SOURCE_SINK]->cancelBuffer(sslot, retireFence); in onFrameCommitted()
294 mSource[SOURCE_SINK]->cancelBuffer(sslot, outFence); in onFrameCommitted()
374 mSource[source]->cancelBuffer(*sslot, *fence); in dequeueBuffer()
525 status_t VirtualDisplaySurface::cancelBuffer(int pslot, in cancelBuffer() function in android::VirtualDisplaySurface
528 … return mSource[SOURCE_SINK]->cancelBuffer(mapProducer2SourceSlot(SOURCE_SINK, pslot), fence); in cancelBuffer()
535 return mSource[source]->cancelBuffer( in cancelBuffer()
637 mSource[SOURCE_SINK]->cancelBuffer( in refreshOutputBuffer()
DVirtualDisplaySurface.h114 virtual status_t cancelBuffer(int pslot, const sp<Fence>& fence);
/frameworks/native/services/surfaceflinger/
DMonitoredProducer.cpp92 status_t MonitoredProducer::cancelBuffer(int slot, const sp<Fence>& fence) { in cancelBuffer() function in android::MonitoredProducer
93 return mProducer->cancelBuffer(slot, fence); in cancelBuffer()
DMonitoredProducer.h49 virtual status_t cancelBuffer(int slot, const sp<Fence>& fence);
DSurfaceFlinger.cpp3745 window->cancelBuffer(window, buffer, syncFd); in captureScreenImplLocked()
DSurfaceFlinger_hwc1.cpp3632 window->cancelBuffer(window, buffer, syncFd); in captureScreenImplLocked()
/frameworks/native/libs/gui/
DSurface.cpp57 ANativeWindow::cancelBuffer = hook_cancelBuffer; in Surface()
185 return c->cancelBuffer(buffer, fenceFd); in hook_cancelBuffer()
208 c->cancelBuffer(buf, -1); in hook_dequeueBuffer_DEPRECATED()
218 return c->cancelBuffer(buffer, -1); in hook_cancelBuffer_DEPRECATED()
330 mGraphicBufferProducer->cancelBuffer(buf, fence); in dequeueBuffer()
360 int Surface::cancelBuffer(android_native_buffer_t* buffer, in cancelBuffer() function in android::Surface
379 mGraphicBufferProducer->cancelBuffer(i, fence); in cancelBuffer()
DIGraphicBufferProducer.cpp235 virtual status_t cancelBuffer(int buf, const sp<Fence>& fence) { in cancelBuffer() function in android::BpGraphicBufferProducer
601 result = cancelBuffer(buf, fence); in onTransact()
DBufferQueueProducer.cpp962 status_t BufferQueueProducer::cancelBuffer(int slot, const sp<Fence>& fence) { in cancelBuffer() function in android::BufferQueueProducer
/frameworks/native/vulkan/libvulkan/
Dswapchain.cpp181 window->cancelBuffer(window, image.buffer.get(), release_fence); in ReleaseSwapchainImage()
694 surface.window->cancelBuffer(surface.window.get(), img.buffer.get(), in CreateSwapchainKHR()
800 window->cancelBuffer(window, buffer, fence_fd); in AcquireNextImageKHR()
824 window->cancelBuffer(window, buffer, fence_fd); in AcquireNextImageKHR()
/frameworks/native/include/gui/
DBufferQueueProducer.h120 virtual status_t cancelBuffer(int slot, const sp<Fence>& fence);
DIGraphicBufferProducer.h410 virtual status_t cancelBuffer(int slot, const sp<Fence>& fence) = 0;
DSurface.h198 virtual int cancelBuffer(ANativeWindowBuffer* buffer, int fenceFd);
/frameworks/av/media/libstagefright/
DSurfaceUtils.cpp209 nativeWindow->cancelBuffer(nativeWindow, anb, -1); in pushBlankBuffersToNativeWindow()
DACodec.cpp752 err = nativeWindow->cancelBuffer( in handleSetSurface()
1336 int err = mNativeWindow->cancelBuffer( in cancelBufferToNativeWindow()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3OutputStream.cpp275 res = currentConsumer->cancelBuffer(currentConsumer.get(), in returnBufferCheckedLocked()
/frameworks/native/opengl/libagl/
Degl.cpp382 nativeWindow->cancelBuffer(nativeWindow, buffer, fenceFd); in connect()
426 nativeWindow->cancelBuffer(nativeWindow, buffer, -1); in disconnect()
532 nativeWindow->cancelBuffer(nativeWindow, buffer, fenceFd); in swapBuffers()
/frameworks/av/services/camera/libcameraservice/device1/
DCameraHardwareInterface.h653 return a->cancelBuffer(a, in __cancel_buffer()
/frameworks/base/media/jni/
Dandroid_media_ImageWriter.cpp413 anw->cancelBuffer(anw.get(), buffer, fenceFd); in ImageWriter_cancelImage()
/frameworks/rs/driver/
DrsdAllocation.cpp587 int32_t r = nw->cancelBuffer(nw, drv->wndBuffer, -1); in rsdAllocationDestroy()
759 old->cancelBuffer(old, drv->wndBuffer, -1); in rsdAllocationSetSurface()