Home
last modified time | relevance | path

Searched refs:NATIVE_WINDOW_API_CPU (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/native/libs/gui/tests/
DSurfaceTextureMultiContextGL_test.cpp29 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F()
44 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F()
60 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F()
68 native_window_api_disconnect(mANW.get(), NATIVE_WINDOW_API_CPU); in TEST_F()
76 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F()
89 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F()
104 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F()
121 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F()
138 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F()
150 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F()
[all …]
DSurfaceTextureGL_test.cpp32 NATIVE_WINDOW_API_CPU)); in TEST_F()
82 NATIVE_WINDOW_API_CPU)); in TEST_F()
132 NATIVE_WINDOW_API_CPU)); in TEST_F()
201 NATIVE_WINDOW_API_CPU)); in TEST_F()
345 NATIVE_WINDOW_API_CPU)); in TEST_F()
391 NATIVE_WINDOW_API_CPU)); in TEST_F()
450 if (native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU) != in TEST_F()
470 if (native_window_api_disconnect(mANW.get(), NATIVE_WINDOW_API_CPU) in TEST_F()
507 NATIVE_WINDOW_API_CPU)); in TEST_F()
521 NATIVE_WINDOW_API_CPU)); in TEST_F()
[all …]
DSurfaceTextureClient_test.cpp207 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F()
217 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F()
229 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F()
241 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F()
253 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F()
272 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F()
290 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F()
303 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F()
324 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F()
351 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F()
[all …]
DBufferQueue_test.cpp140 mProducer->connect(nullptr, NATIVE_WINDOW_API_CPU, false, &output)); in TEST_F()
179 mProducer->connect(new StubProducerListener, NATIVE_WINDOW_API_CPU, false, &output); in TEST_F()
188 mProducer->connect(new StubProducerListener, NATIVE_WINDOW_API_CPU, false, &qbo); in TEST_F()
227 mProducer->connect(new StubProducerListener, NATIVE_WINDOW_API_CPU, false, &qbo); in TEST_F()
267 mProducer->connect(new StubProducerListener, NATIVE_WINDOW_API_CPU, false, &qbo); in TEST_F()
335 mProducer->connect(new StubProducerListener, NATIVE_WINDOW_API_CPU, false, &output)); in TEST_F()
389 mProducer->connect(new StubProducerListener, NATIVE_WINDOW_API_CPU, false, &output)); in TEST_F()
448 mProducer->connect(new StubProducerListener, NATIVE_WINDOW_API_CPU, false, &output)); in TEST_F()
491 mProducer->connect(new StubProducerListener, NATIVE_WINDOW_API_CPU, true, &output)); in TEST_F()
529 mProducer->connect(new StubProducerListener, NATIVE_WINDOW_API_CPU, true, &output)); in TEST_F()
[all …]
DStreamSplitter_test.cpp63 inputProducer->connect(new StubProducerListener, NATIVE_WINDOW_API_CPU, false, in TEST_F()
135 inputProducer->connect(new StubProducerListener, NATIVE_WINDOW_API_CPU, false, in TEST_F()
200 inputProducer->connect(new StubProducerListener, NATIVE_WINDOW_API_CPU, false, in TEST_F()
DSurface_test.cpp147 NATIVE_WINDOW_API_CPU, in testSurfaceListener()
208 ASSERT_EQ(NO_ERROR, surface->disconnect(NATIVE_WINDOW_API_CPU)); in testSurfaceListener()
317 NATIVE_WINDOW_API_CPU)); in TEST_F()
351 native_window_api_connect(window.get(), NATIVE_WINDOW_API_CPU); in TEST_F()
367 native_window_api_connect(window.get(), NATIVE_WINDOW_API_CPU); in TEST_F()
398 native_window_api_connect(window.get(), NATIVE_WINDOW_API_CPU); in TEST_F()
422 native_window_api_connect(window.get(), NATIVE_WINDOW_API_CPU); in TEST_F()
469 NATIVE_WINDOW_API_CPU)); in TEST_F()
496 NATIVE_WINDOW_API_CPU, in TEST_F()
573 ASSERT_EQ(NO_ERROR, native_window_api_connect(anw.get(), NATIVE_WINDOW_API_CPU)); in TEST_F()
[all …]
DSurfaceTextureFBO_test.cpp31 NATIVE_WINDOW_API_CPU)); in TEST_F()
DBufferItemConsumer_test.cpp57 mProducer->connect(producerListener, NATIVE_WINDOW_API_CPU, in SetUp()
DBLASTBufferQueue_test.cpp248 igbProducer->connect(mProducerListener, NATIVE_WINDOW_API_CPU, false, &qbOutput)); in setUpProducer()
1215 igbProducer->disconnect(NATIVE_WINDOW_API_CPU); in TEST_F()
1279 igbProducer->connect(new TestProducerListener(igbProducer), NATIVE_WINDOW_API_CPU, in TEST_F()
1330 surface->connect(NATIVE_WINDOW_API_CPU, new TestProducerListener(igbProducer))); in TEST_F()
DCpuConsumer_test.cpp448 err = native_window_api_connect(anw.get(), NATIVE_WINDOW_API_CPU); in configureANW()
DIGraphicBufferProducer_test.cpp41 #define TEST_API NATIVE_WINDOW_API_CPU
/frameworks/native/libs/nativewindow/tests/
DANativeWindowTest.cpp56 const int success = native_window_api_connect(mWindow.get(), NATIVE_WINDOW_API_CPU); in SetUp()
64 const int success = native_window_api_disconnect(mWindow.get(), NATIVE_WINDOW_API_CPU); in TearDown()
/frameworks/av/media/codec2/vndk/
Dtypes.cpp177 case NATIVE_WINDOW_API_CPU: in b2h()
195 *to = NATIVE_WINDOW_API_CPU; break; in h2b()
/frameworks/native/libs/gui/bufferqueue/2.0/
Dtypes.cpp170 case NATIVE_WINDOW_API_CPU: in b2h()
188 *to = NATIVE_WINDOW_API_CPU; break; in h2b()
/frameworks/native/services/surfaceflinger/tests/
DLayerTransaction_test.cpp85 ASSERT_EQ(OK, producer->connect(stubListener, NATIVE_WINDOW_API_CPU, true, &queueBufferOutput)); in TEST_F()
155 ASSERT_EQ(OK, producer->disconnect(NATIVE_WINDOW_API_CPU)); in TEST_F()
DScreenCapture_test.cpp759 ASSERT_EQ(NO_ERROR, native_window_api_connect(anw.get(), NATIVE_WINDOW_API_CPU)); in TEST_F()
/frameworks/native/libs/gui/
DStreamSplitter.cpp67 (*output)->disconnect(NATIVE_WINDOW_API_CPU); in ~StreamSplitter()
87 status_t status = outputQueue->connect(listener, NATIVE_WINDOW_API_CPU, in addOutput()
DSurface.cpp135 Surface::disconnect(NATIVE_WINDOW_API_CPU); in ~Surface()
1902 if (!err && api == NATIVE_WINDOW_API_CPU) { in connect()
1938 if (api == NATIVE_WINDOW_API_CPU) { in disconnect()
2411 int err = Surface::connect(NATIVE_WINDOW_API_CPU); in lock()
2553 NATIVE_WINDOW_API_CPU); in attachAndQueueBufferWithDataspace()
2574 err = surface->disconnect(NATIVE_WINDOW_API_CPU); in attachAndQueueBufferWithDataspace()
DBufferQueueProducer.cpp1333 case NATIVE_WINDOW_API_CPU: in connect()
1426 case NATIVE_WINDOW_API_CPU: in disconnect()
/frameworks/av/media/libstagefright/
DSurfaceUtils.cpp209 status_t err2 = native_window_api_disconnect(nativeWindow, NATIVE_WINDOW_API_CPU); in pushBlankBuffersToNativeWindow()
245 err = native_window_api_connect(nativeWindow, NATIVE_WINDOW_API_CPU); in pushBlankBuffersToNativeWindow()
/frameworks/av/media/ndk/tests/
DAImageReaderWindowTest.cpp134 ASSERT_EQ(OK, igbp->connect(nullptr, NATIVE_WINDOW_API_CPU, false, &output)); in validateIGBP()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DZslProcessor.cpp329 mInputProducer->disconnect(NATIVE_WINDOW_API_CPU); in deleteStream()
465 NATIVE_WINDOW_API_CPU, false, &output); in pushToReprocess()
/frameworks/base/tests/SurfaceViewBufferTests/cpp/
DSurfaceProxy.cpp43 surface->connect(NATIVE_WINDOW_API_CPU, nullptr, false); in Java_com_android_test_SurfaceProxy_setSurface()
/frameworks/native/libs/nativewindow/include/system/
Dwindow.h275 NATIVE_WINDOW_API_CPU = 2, enumerator
/frameworks/av/media/codec2/components/cmds/
Dcodec2.cpp167 mSurface->connect(NATIVE_WINDOW_API_CPU, mProducerListener); in SimplePlayer()

12