Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/tests/
DSurface_test.cpp541 sp<GraphicBuffer> detachedBuffer; in TEST_F() local
554 ASSERT_EQ(NO_ERROR, surface->detachNextBuffer(&detachedBuffer, &outFence)); in TEST_F()
558 ASSERT_EQ(detachedBuffer->handle, removedBuffers.at(0)->handle); in TEST_F()
565 ASSERT_EQ(NO_ERROR, surface->detachNextBuffer(&detachedBuffer, &outFence)); in TEST_F()
572 ASSERT_EQ(NO_ERROR, surface->detachNextBuffer(&detachedBuffer, &outFence)); in TEST_F()
573 ASSERT_EQ(NO_ERROR, surface->detachNextBuffer(&detachedBuffer, &outFence)); in TEST_F()
576 ASSERT_EQ(detachedBuffer->handle, removedBuffers.at(0)->handle); in TEST_F()
586 ASSERT_EQ(NO_ERROR, surface->detachNextBuffer(&detachedBuffer, &outFence)); in TEST_F()
587 ASSERT_EQ(NO_ERROR, surface->attachBuffer(detachedBuffer.get())); in TEST_F()