Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/device3/
DCamera3OutputStream.cpp895 std::vector<sp<GraphicBuffer>> removedBuffers; in checkRemovedBuffersLocked() local
896 status_t res = mConsumer->getAndFlushRemovedBuffers(&removedBuffers); in checkRemovedBuffersLocked()
898 onBuffersRemovedLocked(removedBuffers); in checkRemovedBuffersLocked()
900 if (notifyBufferManager && mUseBufferManager && removedBuffers.size() > 0) { in checkRemovedBuffersLocked()
902 removedBuffers.size()); in checkRemovedBuffersLocked()
1134 const std::vector<sp<GraphicBuffer>>& removedBuffers) { in onBuffersRemovedLocked() argument
1137 for (const auto& gb : removedBuffers) { in onBuffersRemovedLocked()
/frameworks/native/libs/gui/tests/
DSurface_test.cpp517 std::vector<sp<GraphicBuffer>> removedBuffers; in TEST_F() local
518 ASSERT_EQ(OK, surface->getAndFlushRemovedBuffers(&removedBuffers)); in TEST_F()
519 ASSERT_EQ(1u, removedBuffers.size()); in TEST_F()
520 ASSERT_EQ(detachedBuffer->handle, removedBuffers.at(0)->handle); in TEST_F()
522 ASSERT_EQ(OK, surface->getAndFlushRemovedBuffers(&removedBuffers)); in TEST_F()
523 ASSERT_EQ(0u, removedBuffers.size()); in TEST_F()
529 ASSERT_EQ(OK, surface->getAndFlushRemovedBuffers(&removedBuffers)); in TEST_F()
530 ASSERT_EQ(0u, removedBuffers.size()); in TEST_F()
536 ASSERT_EQ(OK, surface->getAndFlushRemovedBuffers(&removedBuffers)); in TEST_F()
537 ASSERT_EQ(1u, removedBuffers.size()); in TEST_F()
[all …]