Searched refs:getCurrentBuffer (Results 1 - 5 of 5) sorted by relevance

/frameworks/native/libs/gui/tests/
H A DSurfaceTextureClient_test.cpp345 EXPECT_EQ(mST->getCurrentBuffer().get(), buf[0]);
347 EXPECT_EQ(mST->getCurrentBuffer().get(), buf[1]);
349 EXPECT_EQ(mST->getCurrentBuffer().get(), buf[2]);
364 EXPECT_EQ(mST->getCurrentBuffer().get(), buf[0]);
367 EXPECT_EQ(mST->getCurrentBuffer().get(), buf[1]);
370 EXPECT_EQ(mST->getCurrentBuffer().get(), buf[2]);
381 EXPECT_EQ(mST->getCurrentBuffer().get(), buf[0]);
387 EXPECT_EQ(mST->getCurrentBuffer().get(), buf[1]);
393 EXPECT_EQ(mST->getCurrentBuffer().get(), buf[2]);
406 EXPECT_EQ(mST->getCurrentBuffer()
[all...]
H A DSurfaceTexture_test.cpp1446 sp<GraphicBuffer> buf = mST->getCurrentBuffer();
1464 buf = mST->getCurrentBuffer();
1569 buffers[i] = mST->getCurrentBuffer();
1615 buffers[i] = mST->getCurrentBuffer();
/frameworks/native/include/gui/
H A DSurfaceTexture.h140 // getCurrentBuffer returns the buffer associated with the current image.
141 sp<GraphicBuffer> getCurrentBuffer() const;
289 // must track it separately in order to support the getCurrentBuffer method.
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp654 mActiveBuffer = mSurfaceTexture->getCurrentBuffer();
/frameworks/native/libs/gui/
H A DSurfaceTexture.cpp696 sp<GraphicBuffer> SurfaceTexture::getCurrentBuffer() const { function in class:android::SurfaceTexture

Completed in 86 milliseconds