Searched refs:removedBuffers (Results 1 – 2 of 2) sorted by relevance
895 std::vector<sp<GraphicBuffer>> removedBuffers; in checkRemovedBuffersLocked() local896 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() argument1137 for (const auto& gb : removedBuffers) { in onBuffersRemovedLocked()
517 std::vector<sp<GraphicBuffer>> removedBuffers; in TEST_F() local518 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 …]