Home
last modified time | relevance | path

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

/cts/tests/tests/media/common/src/android/media/cts/
DNdkInputSurface.java36 static private native long createEGLSurface(long eglDisplay, long eglConfig, long nativeWindow); in createEGLSurface() argument
43 …te native void nativeRelease(long eglDisplay, long eglSurface, long eglContext, long nativeWindow); in nativeRelease() argument
45 public NdkInputSurface(long nativeWindow) { in NdkInputSurface() argument
47 mNativeWindow = nativeWindow; in NdkInputSurface()
/cts/tests/openglperf2/jni/reference/
DGLReference.cpp35 ANativeWindow* nativeWindow = ANativeWindow_fromSurface(env, surface); in Java_android_opengl2_cts_reference_GLGameActivity_startBenchmark() local
36 ReferenceRenderer* renderer = new ReferenceRenderer(nativeWindow); in Java_android_opengl2_cts_reference_GLGameActivity_startBenchmark()
62 ANativeWindow_release(nativeWindow); in Java_android_opengl2_cts_reference_GLGameActivity_startBenchmark()
/cts/tests/tests/media/common/jni/
DNdkMediaCodec-jni.cpp171 JNIEnv* /*env*/, jclass /*clazz*/, jlong codec, jlong nativeWindow) { in Java_android_media_cts_NdkMediaCodec_AMediaCodecSetNativeInputSurface() argument
175 reinterpret_cast<ANativeWindow *>(nativeWindow)); in Java_android_media_cts_NdkMediaCodec_AMediaCodecSetNativeInputSurface()
184 ANativeWindow *nativeWindow; in Java_android_media_cts_NdkMediaCodec_AMediaCodecCreateInputSurface() local
187 &nativeWindow); in Java_android_media_cts_NdkMediaCodec_AMediaCodecCreateInputSurface()
190 return reinterpret_cast<jlong>(nativeWindow); in Java_android_media_cts_NdkMediaCodec_AMediaCodecCreateInputSurface()
200 ANativeWindow *nativeWindow; in Java_android_media_cts_NdkMediaCodec_AMediaCodecCreatePersistentInputSurface() local
201 media_status_t err = AMediaCodec_createPersistentInputSurface(&nativeWindow); in Java_android_media_cts_NdkMediaCodec_AMediaCodecCreatePersistentInputSurface()
204 return reinterpret_cast<jlong>(nativeWindow); in Java_android_media_cts_NdkMediaCodec_AMediaCodecCreatePersistentInputSurface()
DNdkInputSurface-jni.cpp92 JNIEnv * /*env*/, jclass /*clazz*/, jlong eglDisplay, jlong eglConfig, jlong nativeWindow) { in Java_android_media_cts_NdkInputSurface_createEGLSurface() argument
98 reinterpret_cast<EGLNativeWindowType>(nativeWindow), in Java_android_media_cts_NdkInputSurface_createEGLSurface()
177 …nv*/, jclass /*clazz*/, jlong eglDisplay, jlong eglSurface, jlong eglContext, jlong nativeWindow) { in Java_android_media_cts_NdkInputSurface_nativeRelease() argument
192 ANativeWindow_release(reinterpret_cast<ANativeWindow *>(nativeWindow)); in Java_android_media_cts_NdkInputSurface_nativeRelease()
/cts/tests/tests/os/jni/
Dandroid_os_cts_PerformanceHintManagerTest.cpp536 auto nativeWindow = wrapNativeWindow(ANativeWindow_fromSurface(env, surfaceFromJava)); in nativeTestSetNativeSurfaces() local
541 .nativeWindows = {nativeWindow.get()}, in nativeTestSetNativeSurfaces()
557 .nativeWindows = {nativeWindow.get()}, in nativeTestSetNativeSurfaces()
573 ANativeWindow* windowArr[]{nativeWindow.get()}; in nativeTestSetNativeSurfaces()
/cts/tests/vr/src/android/vr/cts/
DOpenGLESActivity.java285 EGLConfig config, Object nativeWindow) { in createWindowSurface() argument
291 result = egl.eglCreateWindowSurface(display, config, nativeWindow, attrib_list); in createWindowSurface()
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DGLSurfaceViewCustom.java808 Object nativeWindow); in createWindowSurface() argument
815 EGLConfig config, Object nativeWindow) { in createWindowSurface() argument
818 result = egl.eglCreateWindowSurface(display, config, nativeWindow, null); in createWindowSurface()