Lines Matching refs:removedBuffers
432 std::vector<sp<GraphicBuffer>> removedBuffers; in TEST_F() local
433 ASSERT_EQ(OK, surface->getAndFlushRemovedBuffers(&removedBuffers)); in TEST_F()
434 ASSERT_EQ(1u, removedBuffers.size()); in TEST_F()
435 ASSERT_EQ(detachedBuffer->handle, removedBuffers.at(0)->handle); in TEST_F()
437 ASSERT_EQ(OK, surface->getAndFlushRemovedBuffers(&removedBuffers)); in TEST_F()
438 ASSERT_EQ(0u, removedBuffers.size()); in TEST_F()
444 ASSERT_EQ(OK, surface->getAndFlushRemovedBuffers(&removedBuffers)); in TEST_F()
445 ASSERT_EQ(0u, removedBuffers.size()); in TEST_F()
451 ASSERT_EQ(OK, surface->getAndFlushRemovedBuffers(&removedBuffers)); in TEST_F()
452 ASSERT_EQ(1u, removedBuffers.size()); in TEST_F()
453 ASSERT_EQ(detachedBuffer->handle, removedBuffers.at(0)->handle); in TEST_F()
465 ASSERT_EQ(OK, surface->getAndFlushRemovedBuffers(&removedBuffers)); in TEST_F()
468 ASSERT_LE(removedBuffers.size(), 1u); in TEST_F()