Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/tests/
DSurface_test.cpp540 sp<GraphicBuffer> detachedBuffer; in TEST_F() local
553 ASSERT_EQ(NO_ERROR, surface->detachNextBuffer(&detachedBuffer, &outFence)); in TEST_F()
557 ASSERT_EQ(detachedBuffer->handle, removedBuffers.at(0)->handle); in TEST_F()
564 ASSERT_EQ(NO_ERROR, surface->detachNextBuffer(&detachedBuffer, &outFence)); in TEST_F()
571 ASSERT_EQ(NO_ERROR, surface->detachNextBuffer(&detachedBuffer, &outFence)); in TEST_F()
572 ASSERT_EQ(NO_ERROR, surface->detachNextBuffer(&detachedBuffer, &outFence)); in TEST_F()
575 ASSERT_EQ(detachedBuffer->handle, removedBuffers.at(0)->handle); in TEST_F()
585 ASSERT_EQ(NO_ERROR, surface->detachNextBuffer(&detachedBuffer, &outFence)); in TEST_F()
586 ASSERT_EQ(NO_ERROR, surface->attachBuffer(detachedBuffer.get())); in TEST_F()