Home
last modified time | relevance | path

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

12

/frameworks/base/libs/hwui/renderthread/
DReliableSurface.cpp37 using Surface::cancelBuffer;
53 ANativeWindow::cancelBuffer = hook_cancelBuffer; in ReliableSurface()
141 callProtected(mSurface, cancelBuffer, buffer, releaseFd); in clearReservedBuffer()
145 int ReliableSurface::cancelBuffer(ANativeWindowBuffer* buffer, int fenceFd) { in cancelBuffer() function in android::uirenderer::renderthread::ReliableSurface
153 int result = callProtected(mSurface, cancelBuffer, buffer, fenceFd); in cancelBuffer()
246 return getSelf(window)->cancelBuffer(buffer, fenceFd); in hook_cancelBuffer()
266 window->cancelBuffer(window, buf, -1); in hook_dequeueBuffer_DEPRECATED()
275 return window->cancelBuffer(window, buffer, -1); in hook_cancelBuffer_DEPRECATED()
DVulkanSurface.cpp404 int err = mNativeWindow->cancelBuffer(mNativeWindow.get(), bufferInfo.buffer.get(), in releaseBuffers()
500 mNativeWindow->cancelBuffer(mNativeWindow.get(), buffer, fence_fd); in dequeueNativeBuffer()
512 mNativeWindow->cancelBuffer(mNativeWindow.get(), buffer, fence_fd); in dequeueNativeBuffer()
550 mNativeWindow->cancelBuffer(mNativeWindow.get(), currentBuffer.buffer.get(), in presentCurrentBuffer()
DReliableSurface.h65 int cancelBuffer(ANativeWindowBuffer* buffer, int fenceFd);
/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 …]
DMalicious.cpp57 status_t cancelBuffer(int slot, const sp<Fence>& fence) override { in cancelBuffer() function in android::test::ProxyBQP
58 return mProducer->cancelBuffer(slot, fence); in cancelBuffer()
DIGraphicBufferProducer_test.cpp527 mProducer->cancelBuffer(dequeuedSlot, dequeuedFence); in TEST_P()
576 ASSERT_OK(mProducer->cancelBuffer(dequeuedSlot, dequeuedFence)); in TEST_P()
765 ASSERT_EQ(NO_INIT, mProducer->cancelBuffer(slot, fence)); in TEST_P()
/frameworks/native/services/surfaceflinger/CompositionEngine/mock/
DNativeWindow.cpp32 return static_cast<NativeWindow*>(window)->cancelBuffer(buffer, fenceFd); in forwardCancelBuffer()
95 return static_cast<NativeWindow*>(window)->cancelBuffer(buffer, -1); in forwardCancelBufferDeprecated()
109 ANativeWindow::cancelBuffer = &forwardCancelBuffer; in NativeWindow()
/frameworks/native/services/surfaceflinger/tests/unittests/mock/system/window/
DMockNativeWindow.cpp68 return static_cast<NativeWindow*>(window)->cancelBuffer(buffer, fenceFd); in dispatch_cancelBuffer()
86 ANativeWindow::cancelBuffer = &dispatch_cancelBuffer; in NativeWindow()
DMockNativeWindow.h43 MOCK_METHOD2(cancelBuffer, int(struct ANativeWindowBuffer*, int));
/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.cpp278 mSource[SOURCE_SINK]->cancelBuffer(sslot, retireFence); in onFrameCommitted()
354 mSource[source]->cancelBuffer(*sslot, *fence); in dequeueBuffer()
514 status_t VirtualDisplaySurface::cancelBuffer(int pslot, in cancelBuffer() function in android::VirtualDisplaySurface
517 … return mSource[SOURCE_SINK]->cancelBuffer(mapProducer2SourceSlot(SOURCE_SINK, pslot), fence); in cancelBuffer()
525 return mSource[source]->cancelBuffer( in cancelBuffer()
632 mSource[SOURCE_SINK]->cancelBuffer( in refreshOutputBuffer()
/frameworks/native/services/surfaceflinger/
DMonitoredProducer.cpp85 status_t MonitoredProducer::cancelBuffer(int slot, const sp<Fence>& fence) { in cancelBuffer() function in android::MonitoredProducer
86 return mProducer->cancelBuffer(slot, fence); in cancelBuffer()
DMonitoredProducer.h52 virtual status_t cancelBuffer(int slot, const sp<Fence>& fence);
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/
DNativeWindow.h40 MOCK_METHOD2(cancelBuffer, int(struct ANativeWindowBuffer*, int));
/frameworks/av/media/codec2/vndk/platform/
DC2BqBuffer.cpp398 (void)mProducer->cancelBuffer(slot, hFenceWrapper.getHandle()).isOk(); in fetchFromIgbp_l()
403 (void)mProducer->cancelBuffer(slot, hFenceWrapper.getHandle()).isOk(); in fetchFromIgbp_l()
443 (void)mProducer->cancelBuffer(slot, hFenceWrapper.getHandle()).isOk(); in fetchFromIgbp_l()
479 (void)mProducer->cancelBuffer(slot, hFenceWrapper.getHandle()).isOk(); in fetchFromIgbp_l()
641 (void)mProducer->cancelBuffer(igbp_slot, hidl_handle{}).isOk(); in cancel()
696 igbp->cancelBuffer(bqSlot, hidl_handle{}).isOk(); in ~C2BufferQueueBlockPoolData()
/frameworks/native/services/surfaceflinger/tests/unittests/mock/gui/
DMockGraphicBufferProducer.h43 MOCK_METHOD2(cancelBuffer, status_t(int, const sp<Fence>&));
/frameworks/native/libs/gui/bufferqueue/2.0/
DB2HGraphicBufferProducer.cpp231 Return<HStatus> B2HGraphicBufferProducer::cancelBuffer( in cancelBuffer() function in android::hardware::graphics::bufferqueue::V2_0::utils::B2HGraphicBufferProducer
240 mBase->cancelBuffer(static_cast<int>(slot), bFence), in cancelBuffer()
DH2BGraphicBufferProducer.cpp282 status_t H2BGraphicBufferProducer::cancelBuffer(int slot, sp<BFence> const& fence) { in cancelBuffer() function in android::hardware::graphics::bufferqueue::V2_0::utils::H2BGraphicBufferProducer
289 Return<HStatus> transResult = mBase->cancelBuffer( in cancelBuffer()
/frameworks/native/libs/gui/include/gui/bufferqueue/2.0/
DB2HGraphicBufferProducer.h81 virtual Return<HStatus> cancelBuffer(
DH2BGraphicBufferProducer.h73 virtual status_t cancelBuffer(int slot, sp<Fence> const& fence) override;
/frameworks/av/services/camera/libcameraservice/api2/
DDepthCompositeStream.cpp301 outputANW->cancelBuffer(mOutputSurface.get(), anb, /*fence*/ -1); in processInputFrame()
308 outputANW->cancelBuffer(mOutputSurface.get(), anb, /*fence*/ -1); in processInputFrame()
362 outputANW->cancelBuffer(mOutputSurface.get(), anb, /*fence*/ -1); in processInputFrame()
369 outputANW->cancelBuffer(mOutputSurface.get(), anb, /*fence*/ -1); in processInputFrame()
/frameworks/native/libs/vr/libbufferhubqueue/tests/
Dbuffer_hub_queue_producer-test.cpp373 EXPECT_EQ(OK, mProducer->cancelBuffer(slot, fence)); in TEST_F()
414 ASSERT_EQ(OK, mProducer->cancelBuffer(slot, fence)); in TEST_F()
510 ASSERT_EQ(NO_INIT, mProducer->cancelBuffer(slot, Fence::NO_FENCE)); in TEST_F()
/frameworks/native/libs/gui/include/gui/
DBufferQueueProducer.h122 virtual status_t cancelBuffer(int slot, const sp<Fence>& fence);
DBufferHubProducer.h80 status_t cancelBuffer(int slot, const sp<Fence>& fence) override;
/frameworks/native/libs/gui/include/gui/bufferqueue/1.0/
DH2BGraphicBufferProducer.h77 status_t cancelBuffer(int slot, const sp<Fence>& fence) override;
DWGraphicBufferProducer.h221 Return<int32_t> cancelBuffer(int32_t slot, const hidl_handle& fence) override { in cancelBuffer() function
228 return static_cast<int32_t>(mBase->cancelBuffer(static_cast<int>(slot), lFence)); in cancelBuffer()

12