Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/tests/
DSurfaceTextureClient_test.cpp52 mANW = mSTC; in SetUp()
91 mANW.clear(); in TearDown()
115 sp<ANativeWindow> mANW; member in android::SurfaceTextureClientTest
130 int err = mANW->query(mANW.get(), NATIVE_WINDOW_QUEUES_TO_WINDOW_COMPOSER, in TEST_F()
138 int err = mANW->query(mANW.get(), NATIVE_WINDOW_CONCRETE_TYPE, &result); in TEST_F()
169 EGLSurface eglSurface = eglCreateWindowSurface(dpy, myConfig, mANW.get(), in TEST_F()
183 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, mEglConfig, mANW.get(), NULL); in TEST_F()
210 EXPECT_GT(OK, native_window_set_buffers_geometry(mANW.get(), -1, 0, 0)); in TEST_F()
211 EXPECT_GT(OK, native_window_set_buffers_geometry(mANW.get(), 0, -1, 0)); in TEST_F()
212 EXPECT_GT(OK, native_window_set_buffers_geometry(mANW.get(), 0, 0, -1)); in TEST_F()
[all …]
DSurfaceTextureGL_test.cpp31 ASSERT_EQ(NO_ERROR, native_window_set_buffers_geometry(mANW.get(), in TEST_F()
33 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(), in TEST_F()
37 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), in TEST_F()
48 ASSERT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(), buf->getNativeBuffer(), in TEST_F()
77 ASSERT_EQ(NO_ERROR, native_window_set_buffers_geometry(mANW.get(), in TEST_F()
79 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(), in TEST_F()
83 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), in TEST_F()
94 ASSERT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(), buf->getNativeBuffer(), in TEST_F()
123 ASSERT_EQ(NO_ERROR, native_window_set_buffers_geometry(mANW.get(), in TEST_F()
125 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(), in TEST_F()
[all …]
DSurfaceTextureMultiContextGL_test.cpp29 ASSERT_NO_FATAL_FAILURE(produceOneRGBA8Frame(mANW)); in TEST_F()
43 ASSERT_NO_FATAL_FAILURE(produceOneRGBA8Frame(mANW)); in TEST_F()
58 ASSERT_NO_FATAL_FAILURE(produceOneRGBA8Frame(mANW)); in TEST_F()
65 native_window_api_disconnect(mANW.get(), NATIVE_WINDOW_API_CPU); in TEST_F()
73 ASSERT_NO_FATAL_FAILURE(produceOneRGBA8Frame(mANW)); in TEST_F()
85 ASSERT_NO_FATAL_FAILURE(produceOneRGBA8Frame(mANW)); in TEST_F()
99 ASSERT_NO_FATAL_FAILURE(produceOneRGBA8Frame(mANW)); in TEST_F()
115 ASSERT_NO_FATAL_FAILURE(produceOneRGBA8Frame(mANW)); in TEST_F()
131 ASSERT_NO_FATAL_FAILURE(produceOneRGBA8Frame(mANW)); in TEST_F()
142 ASSERT_NO_FATAL_FAILURE(produceOneRGBA8Frame(mANW)); in TEST_F()
[all …]
DSurfaceTextureFBO_test.cpp30 ASSERT_EQ(NO_ERROR, native_window_set_buffers_geometry(mANW.get(), in TEST_F()
32 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(), in TEST_F()
36 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), in TEST_F()
48 ASSERT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(), buf->getNativeBuffer(), in TEST_F()
60 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), in TEST_F()
72 ASSERT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(), in TEST_F()
DSurfaceTextureGL.h45 mANW = mSTC; in SetUp()
54 mANW.clear(); in TearDown()
67 sp<ANativeWindow> mANW; variable
DMultiTextureConsumer_test.cpp43 mANW = mSurface.get(); in SetUp()
65 ANativeWindow* mANW; member in android::MultiTextureConsumerTest
71 ASSERT_EQ(native_window_set_usage(mANW, GRALLOC_USAGE_SW_WRITE_OFTEN), NO_ERROR); in TEST_F()
72 ASSERT_EQ(native_window_set_buffers_format(mANW, HAL_PIXEL_FORMAT_RGBA_8888), NO_ERROR); in TEST_F()
DCpuConsumer_test.cpp74 mANW = mSTC; in SetUp()
78 mANW.clear(); in TearDown()
159 sp<ANativeWindow> mANW; member in android::CpuConsumerTest
548 ASSERT_NO_FATAL_FAILURE(configureANW(mANW, params, 1)); in TEST_P()
554 ASSERT_NO_FATAL_FAILURE(produceOneFrame(mANW, params, time, in TEST_P()
583 ASSERT_NO_FATAL_FAILURE(configureANW(mANW, params, numInQueue)); in TEST_P()
592 ASSERT_NO_FATAL_FAILURE(produceOneFrame(mANW, params, time[i], in TEST_P()
625 ASSERT_NO_FATAL_FAILURE(configureANW(mANW, params, params.maxLockedBuffers + 1)); in TEST_P()
634 ASSERT_NO_FATAL_FAILURE(produceOneFrame(mANW, params, time, in TEST_P()
DSurfaceTextureGLToGL_test.cpp265 mANW.clear(); in TEST_F()
302 mANW.clear(); in TEST_F()
331 native_window_set_buffers_user_dimensions(mANW.get(), texWidth, texHeight); in TEST_F()
391 native_window_set_buffers_user_dimensions(mANW.get(), texWidth, texHeight); in TEST_F()
DSurfaceTextureGLToGL.h39 mANW.get(), NULL); in SetUp()
/frameworks/av/media/libstagefright/tests/
DSurfaceMediaSource_test.cpp364 mANW = mSTC; in SetUp()
370 mANW.clear(); in TearDown()
378 sp<ANativeWindow> mANW; member in android::SurfaceMediaSourceTest
399 mANW = mSTC; in SetUp()
408 mANW.clear(); in TearDown()
419 sp<ANativeWindow> mANW; member in android::SurfaceMediaSourceGLTest
486 mANW = mSTC; in setUpEGLSurfaceFromMediaRecorder()
493 mANW.get(), NULL); in setUpEGLSurfaceFromMediaRecorder()
511 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), &anb)); in oneBufferPass()
522 ASSERT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(), buf->getNativeBuffer(), in oneBufferPass()
[all …]
/frameworks/native/opengl/tests/EGLTest/
DEGL_test.cpp115 sp<ANativeWindow> mANW = mSTC; in TEST_F() local
118 mANW.get(), NULL); in TEST_F()