Home
last modified time | relevance | path

Searched refs:NATIVE_WINDOW_API_CPU (Results 1 – 25 of 29) 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()
200 NATIVE_WINDOW_API_CPU)); in TEST_F()
344 NATIVE_WINDOW_API_CPU)); in TEST_F()
390 NATIVE_WINDOW_API_CPU)); in TEST_F()
449 if (native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU) != in TEST_F()
469 if (native_window_api_disconnect(mANW.get(), NATIVE_WINDOW_API_CPU) in TEST_F()
506 NATIVE_WINDOW_API_CPU)); in TEST_F()
520 NATIVE_WINDOW_API_CPU)); in TEST_F()
[all …]
DSurfaceTextureClient_test.cpp217 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F()
227 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F()
239 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F()
251 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F()
263 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F()
282 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F()
300 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F()
313 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F()
334 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F()
361 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F()
[all …]
DBufferQueue_test.cpp141 mProducer->connect(nullptr, NATIVE_WINDOW_API_CPU, false, &output)); in TEST_F()
180 mProducer->connect(new StubProducerListener, NATIVE_WINDOW_API_CPU, false, &output); in TEST_F()
189 mProducer->connect(new StubProducerListener, NATIVE_WINDOW_API_CPU, false, &qbo); in TEST_F()
228 mProducer->connect(new StubProducerListener, NATIVE_WINDOW_API_CPU, false, &qbo); in TEST_F()
268 mProducer->connect(new StubProducerListener, NATIVE_WINDOW_API_CPU, false, &qbo); in TEST_F()
336 mProducer->connect(new StubProducerListener, NATIVE_WINDOW_API_CPU, false, &output)); in TEST_F()
390 mProducer->connect(new StubProducerListener, NATIVE_WINDOW_API_CPU, false, &output)); in TEST_F()
449 mProducer->connect(new StubProducerListener, NATIVE_WINDOW_API_CPU, false, &output)); in TEST_F()
492 mProducer->connect(new StubProducerListener, NATIVE_WINDOW_API_CPU, true, &output)); in TEST_F()
530 mProducer->connect(new StubProducerListener, NATIVE_WINDOW_API_CPU, true, &output)); in TEST_F()
[all …]
DMalicious.cpp154 ASSERT_EQ(NO_ERROR, surface->connect(NATIVE_WINDOW_API_CPU, nullptr, false)); in TEST()
168 ASSERT_EQ(NO_ERROR, surface->connect(NATIVE_WINDOW_API_CPU, nullptr, false)); in TEST()
182 ASSERT_EQ(NO_ERROR, surface->connect(NATIVE_WINDOW_API_CPU, nullptr, false)); in TEST()
196 ASSERT_EQ(NO_ERROR, surface->connect(NATIVE_WINDOW_API_CPU, nullptr, false)); in TEST()
DSurface_test.cpp145 NATIVE_WINDOW_API_CPU, in testSurfaceListener()
205 ASSERT_EQ(NO_ERROR, surface->disconnect(NATIVE_WINDOW_API_CPU)); in testSurfaceListener()
276 NATIVE_WINDOW_API_CPU)); in TEST_F()
375 NATIVE_WINDOW_API_CPU)); in TEST_F()
409 native_window_api_connect(window.get(), NATIVE_WINDOW_API_CPU); in TEST_F()
425 native_window_api_connect(window.get(), NATIVE_WINDOW_API_CPU); in TEST_F()
456 native_window_api_connect(window.get(), NATIVE_WINDOW_API_CPU); in TEST_F()
480 native_window_api_connect(window.get(), NATIVE_WINDOW_API_CPU); in TEST_F()
527 NATIVE_WINDOW_API_CPU)); in TEST_F()
553 NATIVE_WINDOW_API_CPU, in TEST_F()
[all …]
DStreamSplitter_test.cpp79 inputProducer->connect(new StubProducerListener, NATIVE_WINDOW_API_CPU, false, in TEST_F()
151 inputProducer->connect(new StubProducerListener, NATIVE_WINDOW_API_CPU, false, in TEST_F()
216 inputProducer->connect(new StubProducerListener, NATIVE_WINDOW_API_CPU, false, in TEST_F()
DSurfaceTextureFBO_test.cpp31 NATIVE_WINDOW_API_CPU)); in TEST_F()
DBufferItemConsumer_test.cpp57 mProducer->connect(producerListener, NATIVE_WINDOW_API_CPU, in SetUp()
DBLASTBufferQueue_test.cpp229 igbProducer->connect(mProducerListener, NATIVE_WINDOW_API_CPU, false, &qbOutput)); in setUpProducer()
1193 igbProducer->disconnect(NATIVE_WINDOW_API_CPU); in TEST_F()
1257 igbProducer->connect(new TestProducerListener(igbProducer), NATIVE_WINDOW_API_CPU, in TEST_F()
1345 surface->connect(NATIVE_WINDOW_API_CPU, new TestProducerListener(igbProducer))); in TEST_F()
/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/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()
/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.cpp121 Surface::disconnect(NATIVE_WINDOW_API_CPU); in ~Surface()
1919 if (!err && api == NATIVE_WINDOW_API_CPU) { in connect()
1954 if (api == NATIVE_WINDOW_API_CPU) { in disconnect()
2424 int err = Surface::connect(NATIVE_WINDOW_API_CPU); in lock()
2566 NATIVE_WINDOW_API_CPU); in attachAndQueueBufferWithDataspace()
2587 err = surface->disconnect(NATIVE_WINDOW_API_CPU); in attachAndQueueBufferWithDataspace()
DBufferHubProducer.cpp621 case NATIVE_WINDOW_API_CPU: in connect()
DBufferQueueProducer.cpp1245 case NATIVE_WINDOW_API_CPU: in connect()
1335 case NATIVE_WINDOW_API_CPU: in disconnect()
/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/av/media/codec2/vndk/
Dtypes.cpp177 case NATIVE_WINDOW_API_CPU: in b2h()
195 *to = NATIVE_WINDOW_API_CPU; break; in h2b()
/frameworks/av/media/libstagefright/
DSurfaceUtils.cpp209 err = native_window_api_connect(nativeWindow, NATIVE_WINDOW_API_CPU); in pushBlankBuffersToNativeWindow()
292 status_t err2 = native_window_api_disconnect(nativeWindow, NATIVE_WINDOW_API_CPU); in pushBlankBuffersToNativeWindow()
/frameworks/av/media/ndk/tests/
DAImageReaderWindowHandleTest.cpp150 ASSERT_EQ(OK, igbp->connect(nullptr, NATIVE_WINDOW_API_CPU, false, &output)); in TEST_F()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DZslProcessor.cpp328 mInputProducer->disconnect(NATIVE_WINDOW_API_CPU); in deleteStream()
464 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.h272 NATIVE_WINDOW_API_CPU = 2, enumerator
/frameworks/av/media/codec2/components/cmds/
Dcodec2.cpp167 mSurface->connect(NATIVE_WINDOW_API_CPU, mProducerListener); in SimplePlayer()
/frameworks/native/libs/vr/libbufferhubqueue/tests/
Dbuffer_hub_queue_producer-test.cpp27 constexpr int kTestApi = NATIVE_WINDOW_API_CPU;

12