Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_ANativeWindowTest.cpp28 void pushBufferWithTransform(JNIEnv* env, jclass, jobject jSurface, jint transform) { in pushBufferWithTransform() argument
29 auto window = ANativeWindow_fromSurface(env, jSurface); in pushBufferWithTransform()
37 jint setBuffersDataSpace(JNIEnv* env, jclass, jobject jSurface, jint dataSpace) { in setBuffersDataSpace() argument
39 if (jSurface) { in setBuffersDataSpace()
40 window = ANativeWindow_fromSurface(env, jSurface); in setBuffersDataSpace()
53 jint getBuffersDataSpace(JNIEnv* env, jclass, jobject jSurface) { in getBuffersDataSpace() argument
55 if (jSurface) { in getBuffersDataSpace()
56 window = ANativeWindow_fromSurface(env, jSurface); in getBuffersDataSpace()
61 void tryAllocateBuffers(JNIEnv* env, jclass, jobject jSurface) { in tryAllocateBuffers() argument
63 if (jSurface) { in tryAllocateBuffers()
[all …]
Dandroid_graphics_cts_VulkanPreTransformCtsActivity.cpp44 void createNativeTest(JNIEnv* env, jclass /*clazz*/, jobject jAssetManager, jobject jSurface, in createNativeTest() argument
48 ASSERT(jSurface, "jSurface is NULL"); in createNativeTest()
52 VkTestResult ret = deviceInfo.init(env, jSurface); in createNativeTest()
Dandroid_graphics_cts_FrameRateCtsActivity.cpp170 jint nativeWindowSetFrameRate(JNIEnv* env, jclass, jobject jSurface, jfloat frameRate, in nativeWindowSetFrameRate() argument
173 if (jSurface) { in nativeWindowSetFrameRate()
174 window.mNw = ANativeWindow_fromSurface(env, jSurface); in nativeWindowSetFrameRate()
DVulkanPreTransformTestHelpers.h37 VkTestResult init(JNIEnv* env, jobject jSurface);
DVulkanPreTransformTestHelpers.cpp135 VkTestResult DeviceInfo::init(JNIEnv* env, jobject jSurface) { in init() argument
136 ASSERT(jSurface); in init()
138 mWindow = ANativeWindow_fromSurface(env, jSurface); in init()
/cts/tests/tests/view/jni/
Dandroid_view_cts_ASurfaceControlTest.cpp160 long SurfaceControl_createFromWindow(JNIEnv* env, jclass, jobject jSurface) { in SurfaceControl_createFromWindow() argument
161 if (!jSurface) { in SurfaceControl_createFromWindow()
165 ANativeWindow* window = ANativeWindow_fromSurface(env, jSurface); in SurfaceControl_createFromWindow()
/cts/tests/camera/libctscamera2jni/
Dnative-camera-jni.cpp1209 ANativeWindow* initPreviewAnw(JNIEnv* env, jobject jSurface) { in initPreviewAnw() argument
1214 mPreviewAnw = ANativeWindow_fromSurface(env, jSurface); in initPreviewAnw()