/frameworks/base/libs/hwui/renderthread/ |
D | ReliableSurface.cpp | 37 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()
|
D | VulkanSurface.cpp | 404 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()
|
D | ReliableSurface.h | 65 int cancelBuffer(ANativeWindowBuffer* buffer, int fenceFd);
|
/frameworks/native/libs/gui/tests/ |
D | SurfaceTextureClient_test.cpp | 225 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 …]
|
D | Malicious.cpp | 57 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()
|
D | IGraphicBufferProducer_test.cpp | 527 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/ |
D | NativeWindow.cpp | 32 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/ |
D | MockNativeWindow.cpp | 68 return static_cast<NativeWindow*>(window)->cancelBuffer(buffer, fenceFd); in dispatch_cancelBuffer() 86 ANativeWindow::cancelBuffer = &dispatch_cancelBuffer; in NativeWindow()
|
D | MockNativeWindow.h | 43 MOCK_METHOD2(cancelBuffer, int(struct ANativeWindowBuffer*, int));
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | VirtualDisplaySurface.cpp | 278 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/ |
D | MonitoredProducer.cpp | 85 status_t MonitoredProducer::cancelBuffer(int slot, const sp<Fence>& fence) { in cancelBuffer() function in android::MonitoredProducer 86 return mProducer->cancelBuffer(slot, fence); in cancelBuffer()
|
D | MonitoredProducer.h | 52 virtual status_t cancelBuffer(int slot, const sp<Fence>& fence);
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/ |
D | NativeWindow.h | 40 MOCK_METHOD2(cancelBuffer, int(struct ANativeWindowBuffer*, int));
|
/frameworks/av/media/codec2/vndk/platform/ |
D | C2BqBuffer.cpp | 398 (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/ |
D | MockGraphicBufferProducer.h | 43 MOCK_METHOD2(cancelBuffer, status_t(int, const sp<Fence>&));
|
/frameworks/native/libs/gui/bufferqueue/2.0/ |
D | B2HGraphicBufferProducer.cpp | 231 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()
|
D | H2BGraphicBufferProducer.cpp | 282 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/ |
D | B2HGraphicBufferProducer.h | 81 virtual Return<HStatus> cancelBuffer(
|
D | H2BGraphicBufferProducer.h | 73 virtual status_t cancelBuffer(int slot, sp<Fence> const& fence) override;
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | DepthCompositeStream.cpp | 301 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/ |
D | buffer_hub_queue_producer-test.cpp | 373 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/ |
D | BufferQueueProducer.h | 122 virtual status_t cancelBuffer(int slot, const sp<Fence>& fence);
|
D | BufferHubProducer.h | 80 status_t cancelBuffer(int slot, const sp<Fence>& fence) override;
|
/frameworks/native/libs/gui/include/gui/bufferqueue/1.0/ |
D | H2BGraphicBufferProducer.h | 77 status_t cancelBuffer(int slot, const sp<Fence>& fence) override;
|
D | WGraphicBufferProducer.h | 221 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()
|