Searched refs:removedBuffers (Results 1 – 2 of 2) sorted by relevance
752 std::vector<sp<GraphicBuffer>> removedBuffers; in checkRemovedBuffersLocked() local753 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() argument975 for (const auto& gb : removedBuffers) { in onBuffersRemovedLocked()
568 std::vector<sp<GraphicBuffer>> removedBuffers; in TEST_F() local569 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 …]