Home
last modified time | relevance | path

Searched refs:removedBuffers (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/services/camera/libcameraservice/device3/
DCamera3OutputStream.cpp752 std::vector<sp<GraphicBuffer>> removedBuffers; in checkRemovedBuffersLocked() local
753 status_t res = mConsumer->getAndFlushRemovedBuffers(&removedBuffers); in checkRemovedBuffersLocked()
755 onBuffersRemovedLocked(removedBuffers); in checkRemovedBuffersLocked()
757 if (notifyBufferManager && mUseBufferManager && removedBuffers.size() > 0) { in checkRemovedBuffersLocked()
759 removedBuffers.size()); in checkRemovedBuffersLocked()
972 const std::vector<sp<GraphicBuffer>>& removedBuffers) { in onBuffersRemovedLocked() argument
975 for (const auto& gb : removedBuffers) { in onBuffersRemovedLocked()
/frameworks/native/libs/gui/tests/
DSurface_test.cpp568 std::vector<sp<GraphicBuffer>> removedBuffers; in TEST_F() local
569 ASSERT_EQ(OK, surface->getAndFlushRemovedBuffers(&removedBuffers)); in TEST_F()
570 ASSERT_EQ(1u, removedBuffers.size()); in TEST_F()
571 ASSERT_EQ(detachedBuffer->handle, removedBuffers.at(0)->handle); in TEST_F()
573 ASSERT_EQ(OK, surface->getAndFlushRemovedBuffers(&removedBuffers)); in TEST_F()
574 ASSERT_EQ(0u, removedBuffers.size()); in TEST_F()
580 ASSERT_EQ(OK, surface->getAndFlushRemovedBuffers(&removedBuffers)); in TEST_F()
581 ASSERT_EQ(0u, removedBuffers.size()); in TEST_F()
587 ASSERT_EQ(OK, surface->getAndFlushRemovedBuffers(&removedBuffers)); in TEST_F()
588 ASSERT_EQ(1u, removedBuffers.size()); in TEST_F()
[all …]