Home
last modified time | relevance | path

Searched refs:jclass (Results 1 – 25 of 146) sorted by relevance

123456

/cts/tests/tests/renderscript/libcoremathtestcpp/
DCoreMathTestJni.cpp44 jclass mClass;
119 Java_android_renderscript_cts_CoreMathVerifier_acos(JNIEnv*, jclass, jfloat x) { in Java_android_renderscript_cts_CoreMathVerifier_acos() argument
124 Java_android_renderscript_cts_CoreMathVerifier_acosh(JNIEnv*, jclass, jfloat x) { in Java_android_renderscript_cts_CoreMathVerifier_acosh() argument
129 Java_android_renderscript_cts_CoreMathVerifier_asin(JNIEnv*, jclass, jfloat x) { in Java_android_renderscript_cts_CoreMathVerifier_asin() argument
134 Java_android_renderscript_cts_CoreMathVerifier_asinh(JNIEnv*, jclass, jfloat x) { in Java_android_renderscript_cts_CoreMathVerifier_asinh() argument
139 Java_android_renderscript_cts_CoreMathVerifier_atan(JNIEnv*, jclass, jfloat x) { in Java_android_renderscript_cts_CoreMathVerifier_atan() argument
144 Java_android_renderscript_cts_CoreMathVerifier_atan2(JNIEnv*, jclass, jfloat x, jfloat y) { in Java_android_renderscript_cts_CoreMathVerifier_atan2() argument
149 Java_android_renderscript_cts_CoreMathVerifier_atanh(JNIEnv*, jclass, jfloat x) { in Java_android_renderscript_cts_CoreMathVerifier_atanh() argument
154 Java_android_renderscript_cts_CoreMathVerifier_cbrt(JNIEnv*, jclass, jfloat x) { in Java_android_renderscript_cts_CoreMathVerifier_cbrt() argument
159 Java_android_renderscript_cts_CoreMathVerifier_ceil(JNIEnv*, jclass, jfloat x) { in Java_android_renderscript_cts_CoreMathVerifier_ceil() argument
[all …]
/cts/tests/tests/jni/libjnitest/
Dandroid_jni_cts_StaticNonce.c30 static void StaticNonce_nop(JNIEnv *env, jclass clazz) { in StaticNonce_nop()
36 jclass clazz) { in Java_android_jni_cts_StaticNonce_nopDlsym()
42 static void StaticNonce_nopFast(JNIEnv *env, jclass clazz) { in StaticNonce_nopFast()
49 jclass clazz) { in Java_android_jni_cts_StaticNonce_nopFastDlsym()
66 static jboolean StaticNonce_returnBoolean(JNIEnv *env, jclass clazz) { in StaticNonce_returnBoolean()
72 static jboolean StaticNonce_returnBooleanFast(JNIEnv *env, jclass clazz) { in StaticNonce_returnBooleanFast()
83 static jbyte StaticNonce_returnByte(JNIEnv *env, jclass clazz) { in StaticNonce_returnByte()
89 static jbyte StaticNonce_returnByteFast(JNIEnv *env, jclass clazz) { in StaticNonce_returnByteFast()
100 static jshort StaticNonce_returnShort(JNIEnv *env, jclass clazz) { in StaticNonce_returnShort()
106 static jshort StaticNonce_returnShortFast(JNIEnv *env, jclass clazz) { in StaticNonce_returnShortFast()
[all …]
/cts/tests/tests/media/common/jni/
DNdkInputSurface-jni.cpp29 extern "C" jlong Java_android_media_cts_NdkInputSurface_eglGetDisplay(JNIEnv * /*env*/, jclass /*cl… in Java_android_media_cts_NdkInputSurface_eglGetDisplay() argument
46 JNIEnv * /*env*/, jclass /*clazz*/, jlong eglDisplay) { in Java_android_media_cts_NdkInputSurface_eglChooseConfig() argument
69 JNIEnv * /*env*/, jclass /*clazz*/, jlong eglDisplay, jlong eglConfig) { in Java_android_media_cts_NdkInputSurface_eglCreateContext() argument
92 JNIEnv * /*env*/, jclass /*clazz*/, jlong eglDisplay, jlong eglConfig, jlong nativeWindow) { in Java_android_media_cts_NdkInputSurface_createEGLSurface() argument
110 JNIEnv * /*env*/, jclass /*clazz*/, jlong eglDisplay, jlong eglSurface, jlong eglContext) { in Java_android_media_cts_NdkInputSurface_eglMakeCurrent() argument
121 JNIEnv * /*env*/, jclass /*clazz*/, jlong eglDisplay, jlong eglSurface) { in Java_android_media_cts_NdkInputSurface_eglSwapBuffers() argument
130 JNIEnv * /*env*/, jclass /*clazz*/, jlong eglDisplay, jlong eglSurface, jlong nsecs) { in Java_android_media_cts_NdkInputSurface_eglPresentationTimeANDROID() argument
140 JNIEnv * /*env*/, jclass /*clazz*/, jlong eglDisplay, jlong eglSurface) { in Java_android_media_cts_NdkInputSurface_eglGetWidth() argument
154 JNIEnv * /*env*/, jclass /*clazz*/, jlong eglDisplay, jlong eglSurface) { in Java_android_media_cts_NdkInputSurface_eglGetHeight() argument
168 JNIEnv * /*env*/, jclass /*clazz*/, jlong eglDisplay, jlong eglSurface) { in Java_android_media_cts_NdkInputSurface_eglDestroySurface() argument
[all …]
DNdkMediaCodec-jni.cpp38 JNIEnv *env, jclass /*clazz*/, jstring name) { in Java_android_media_cts_NdkMediaCodec_AMediaCodecCreateCodecByName() argument
61 JNIEnv * /*env*/, jclass /*clazz*/, jlong codec) { in Java_android_media_cts_NdkMediaCodec_AMediaCodecDelete() argument
67 JNIEnv * /*env*/, jclass /*clazz*/, jlong codec) { in Java_android_media_cts_NdkMediaCodec_AMediaCodecStart() argument
73 JNIEnv * /*env*/, jclass /*clazz*/, jlong codec) { in Java_android_media_cts_NdkMediaCodec_AMediaCodecStop() argument
80 jclass /*clazz*/, in Java_android_media_cts_NdkMediaCodec_AMediaCodecConfigure() argument
160 JNIEnv* env, jclass /*clazz*/, jlong codec, jobject surface) { in Java_android_media_cts_NdkMediaCodec_AMediaCodecSetInputSurface() argument
171 JNIEnv* /*env*/, jclass /*clazz*/, jlong codec, jlong nativeWindow) { in Java_android_media_cts_NdkMediaCodec_AMediaCodecSetNativeInputSurface() argument
182 JNIEnv* /*env*/, jclass /*clazz*/, jlong codec) { in Java_android_media_cts_NdkMediaCodec_AMediaCodecCreateInputSurface() argument
198 JNIEnv* /*env*/, jclass /*clazz*/) { in Java_android_media_cts_NdkMediaCodec_AMediaCodecCreatePersistentInputSurface() argument
212 JNIEnv* env, jclass /*clazz*/, jlong codec) { in Java_android_media_cts_NdkMediaCodec_AMediaCodecGetOutputFormatString() argument
[all …]
/cts/tests/surfacecontrol/jni/
Dandroid_view_cts_ASurfaceControlTest.cpp48 jclass clazz;
180 jlong SurfaceTransaction_create(JNIEnv* /*env*/, jclass) { in SurfaceTransaction_create() argument
184 void SurfaceTransaction_delete(JNIEnv* /*env*/, jclass, jlong surfaceTransaction) { in SurfaceTransaction_delete() argument
189 jlong SurfaceTransaction_fromJava(JNIEnv* env, jclass, jobject transactionObj) { in SurfaceTransaction_fromJava() argument
193 void SurfaceTransaction_apply(JNIEnv* /*env*/, jclass, jlong surfaceTransaction) { in SurfaceTransaction_apply() argument
198 long SurfaceControl_createFromWindow(JNIEnv* env, jclass, jobject jSurface) { in SurfaceControl_createFromWindow() argument
220 jlong SurfaceControl_create(JNIEnv* /*env*/, jclass, jlong parentSurfaceControlId) { in SurfaceControl_create() argument
231 void SurfaceControl_acquire(JNIEnv* /*env*/, jclass, jlong surfaceControl) { in SurfaceControl_acquire() argument
235 jlong SurfaceControl_fromJava(JNIEnv* env, jclass, jobject surfaceControlObj) { in SurfaceControl_fromJava() argument
239 void SurfaceControl_release(JNIEnv* /*env*/, jclass, jlong surfaceControl) { in SurfaceControl_release() argument
[all …]
/cts/hostsidetests/atrace/AtraceTestApp/jni/
DCtsTrace.cpp20 static jboolean isEnabled(JNIEnv*, jclass) { in isEnabled() argument
24 static void beginEndSection(JNIEnv*, jclass) { in beginEndSection() argument
29 static void asyncBeginEndSection(JNIEnv*, jclass) { in asyncBeginEndSection() argument
35 static void counter(JNIEnv*, jclass) { in counter() argument
54 jclass clazz = env->FindClass("com/android/cts/atracetestapp/AtraceNdkMethods"); in JNI_OnLoad()
/cts/apps/CtsVerifier/jni/megaaudio/common/
DGlobals.cpp31 JNIEnv *env, jclass clazz, jboolean enabled) { in Java_org_hyphonate_megaaudio_common_Globals_setOboeWorkaroundsEnabled()
36 Java_org_hyphonate_megaaudio_common_Globals_isMMapSupported(JNIEnv *env, jclass clazz) { in Java_org_hyphonate_megaaudio_common_Globals_isMMapSupported()
41 Java_org_hyphonate_megaaudio_common_Globals_isMMapExclusiveSupported(JNIEnv *env, jclass clazz) { in Java_org_hyphonate_megaaudio_common_Globals_isMMapExclusiveSupported()
47 JNIEnv *env, jclass clazz, jboolean enabled) { in Java_org_hyphonate_megaaudio_common_Globals_setMMapEnabled()
53 JNIEnv *env, jclass clazz) { in Java_org_hyphonate_megaaudio_common_Globals_isMMapEnabled()
/cts/tests/tests/graphics/jni/
Dandroid_graphics_fonts_cts_SystemFonts.cpp138 jlong nOpenIterator(JNIEnv*, jclass) { in nOpenIterator() argument
142 void nCloseIterator(JNIEnv*, jclass, jlong ptr) { in nCloseIterator() argument
146 jlong nGetNext(JNIEnv*, jclass, jlong ptr) { in nGetNext() argument
151 void nCloseFont(JNIEnv*, jclass, jlong ptr) { in nCloseFont() argument
155 jstring nGetFilePath(JNIEnv* env, jclass, jlong ptr) { in nGetFilePath() argument
159 jint nGetWeight(JNIEnv*, jclass, jlong ptr) { in nGetWeight() argument
163 jboolean nIsItalic(JNIEnv*, jclass, jlong ptr) { in nIsItalic() argument
167 jstring nGetLocale(JNIEnv* env, jclass, jlong ptr) { in nGetLocale() argument
171 jint nGetCollectionIndex(JNIEnv*, jclass, jlong ptr) { in nGetCollectionIndex() argument
175 jint nGetAxisCount(JNIEnv*, jclass, jlong ptr) { in nGetAxisCount() argument
[all …]
Dandroid_graphics_cts_ANativeWindowTest.cpp34 void pushBufferWithTransform(JNIEnv* env, jclass, jobject jSurface, jint transform) { in pushBufferWithTransform() argument
43 jint setBuffersDataSpace(JNIEnv* env, jclass, jobject jSurface, jint dataSpace) { in setBuffersDataSpace() argument
59 jint getBuffersDataSpace(JNIEnv* env, jclass, jobject jSurface) { in getBuffersDataSpace() argument
67 jint getBuffersDefaultDataspace(JNIEnv* env, jclass, jobject jSurface) { in getBuffersDefaultDataspace() argument
75 void tryAllocateBuffers(JNIEnv* env, jclass, jobject jSurface) { in tryAllocateBuffers() argument
88 jobject readFromParcel(JNIEnv* env, jclass, jobject jParcel) { in readFromParcel() argument
100 void writeToParcel(JNIEnv* env, jclass, jobject jSurface, jobject jParcel) { in writeToParcel() argument
125 jclass clazz = env->FindClass("android/graphics/cts/ANativeWindowTest"); in register_android_graphics_cts_ANativeWindowTest()
/cts/tests/signature/dex-checker/
Ddex-checker.cpp47 JNIEnv* env, jclass, jclass klass, jstring name, jstring type) { in Java_android_signature_cts_DexMemberChecker_getField_1JNI() argument
61 JNIEnv* env, jclass, jclass klass, jstring name, jstring type) { in Java_android_signature_cts_DexMemberChecker_getStaticField_1JNI() argument
75 JNIEnv* env, jclass, jclass klass, jstring name, jstring signature) { in Java_android_signature_cts_DexMemberChecker_getMethod_1JNI() argument
89 JNIEnv* env, jclass, jclass klass, jstring name, jstring signature) { in Java_android_signature_cts_DexMemberChecker_getStaticMethod_1JNI() argument
/cts/hostsidetests/jvmti/base/jni/
Dtracking.cpp32 static std::string GetClassName(JNIEnv* jni_env, jclass cls) { in GetClassName()
33 ScopedLocalRef<jclass> class_class(jni_env, jni_env->GetObjectClass(cls)); in GetClassName()
45 static void RecordAllocationEvent(JNIEnv* jni_env, jobject object, jclass object_klass, in RecordAllocationEvent()
48 ScopedLocalRef<jclass> object_klass2(jni_env, jni_env->GetObjectClass(object)); in RecordAllocationEvent()
59 jthread thread, jobject object, jclass object_klass, in ObjectAllocatedGlobal()
72 jthread thread, jobject object, jclass object_klass, in ObjectAllocatedThread()
79 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jboolean enable, jboolean global) { in Java_android_jvmti_cts_JvmtiTrackingTest_setupObjectAllocCallback()
93 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jthread thread, jboolean enable) { in Java_android_jvmti_cts_JvmtiTrackingTest_enableAllocationTracking()
117 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED) { in Java_android_jvmti_cts_JvmtiTrackingTest_getAndResetAllocationTrackingString()
155 ScopedLocalRef<jclass> klass(env, GetClass(jenv, env, in register_android_jvmti_cts_JvmtiTrackingTest()
Dredefine.cpp36 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jclass target, jbyteArray dex_bytes) { in Java_android_jvmti_cts_JvmtiRedefineClassesTest_redefineClass()
54 JNIEnv* env ATTRIBUTE_UNUSED, jclass klass ATTRIBUTE_UNUSED, jclass target) { in Java_android_jvmti_cts_JvmtiRedefineClassesTest_retransformClass()
109 jclass class_being_redefined ATTRIBUTE_UNUSED, in CommonClassFileLoadHookRetransformable()
134 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jboolean enable) { in Java_android_jvmti_cts_JvmtiRedefineClassesTest_setTransformationEvent()
152 JNIEnv* env ATTRIBUTE_UNUSED, jclass klass ATTRIBUTE_UNUSED) { in Java_android_jvmti_cts_JvmtiRedefineClassesTest_clearTransformations()
158 JNIEnv* env ATTRIBUTE_UNUSED, jclass klass ATTRIBUTE_UNUSED, jboolean enable) { in Java_android_jvmti_cts_JvmtiRedefineClassesTest_setPopTransformations()
164 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jstring class_name, jbyteArray dex_bytes) { in Java_android_jvmti_cts_JvmtiRedefineClassesTest_pushTransformationResult()
197 ScopedLocalRef<jclass> klass(env, GetClass(jenv, env, in register_android_jvmti_cts_JvmtiRedefineClassesTest()
Dtagging.cpp31 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jobject obj, jlong tag) { in Java_android_jvmti_cts_JniBindings_setTag()
37 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jobject obj) { in Java_android_jvmti_cts_JniBindings_getTag()
48 jclass klass ATTRIBUTE_UNUSED, in Java_android_jvmti_cts_JvmtiTaggingTest_getTaggedObjects()
107 ScopedLocalRef<jclass> integer_class(env, env->FindClass("java/lang/Integer")); in Java_android_jvmti_cts_JvmtiTaggingTest_getTaggedObjects()
144 ScopedLocalRef<jclass> klass(env, GetClass(jenv, env, "art/Main", nullptr)); in register_art_Main()
164 ScopedLocalRef<jclass> klass(env, GetClass(jenv, env, in register_android_jvmti_cts_JvmtiTaggingTest()
/cts/tests/tests/media/misc/jni/
Dnative-media-jni.cpp35 jclass /*clazz*/) { in Java_android_media_misc_cts_NativeDecoderTest_testFormatNative() argument
89 jclass /*clazz*/, int fd, jlong offset, jlong size) { in Java_android_media_misc_cts_NativeDecoderTest_testPsshNative() argument
130 jclass /*clazz*/) { in Java_android_media_misc_cts_NativeDecoderTest_testCryptoInfoNative() argument
175 jclass /*clazz*/) { in Java_android_media_misc_cts_NativeDecoderTest_createAMediaExtractor() argument
181 jclass /*clazz*/, jstring jurl) { in Java_android_media_misc_cts_NativeDecoderTest_createAMediaDataSource() argument
194 jclass /*clazz*/, jlong jex, jlong jds) { in Java_android_media_misc_cts_NativeDecoderTest_setAMediaExtractorDataSource() argument
201 JNIEnv * /*env*/, jclass /*clazz*/, jlong ds) { in Java_android_media_misc_cts_NativeDecoderTest_closeAMediaDataSource() argument
206 JNIEnv * /*env*/, jclass /*clazz*/, jlong ex) { in Java_android_media_misc_cts_NativeDecoderTest_deleteAMediaExtractor() argument
211 JNIEnv * /*env*/, jclass /*clazz*/, jlong ds) { in Java_android_media_misc_cts_NativeDecoderTest_deleteAMediaDataSource() argument
216 JNIEnv * /*env*/, jclass /*clazz*/) { in Java_android_media_misc_cts_NativeDecoderTest_testMediaFormatNative() argument
/cts/tests/tests/os/jni/
Dandroid_os_cts_SeccompTest.cpp39 JNIEnv*, jclass, jint policyFd) { in android_security_cts_SeccompBpfTest_nativeInstallTestFilter() argument
55 jstring android_security_cts_SeccompBpfTest_getPolicyAbiString(JNIEnv* env, jclass) { in android_security_cts_SeccompBpfTest_getPolicyAbiString() argument
71 jint android_security_cts_SeccompBpfTest_getClockBootTime(JNIEnv*, jclass) { in android_security_cts_SeccompBpfTest_getClockBootTime() argument
89 jclass clazz = env->FindClass("android/os/cts/SeccompTest"); in register_android_os_cts_SeccompTest()
/cts/tests/tests/opengl/libopengltest/
Dgl2_jni_libone.cpp49 (JNIEnv *, jclass pClass, jint pCategory, jint pSubCategory, jint width, jint height) { in Java_android_opengl_cts_GL2JniLibOne_init()
113 extern "C" JNIEXPORT void JNICALL Java_android_opengl_cts_GL2JniLibOne_step(JNIEnv * env, jclass ob… in Java_android_opengl_cts_GL2JniLibOne_step()
118 …T jint JNICALL Java_android_opengl_cts_GL2JniLibOne_getAttachShaderError(JNIEnv * env, jclass obj){ in Java_android_opengl_cts_GL2JniLibOne_getAttachShaderError()
122 …ORT jint JNICALL Java_android_opengl_cts_GL2JniLibOne_getLoadShaderError(JNIEnv * env, jclass obj){ in Java_android_opengl_cts_GL2JniLibOne_getLoadShaderError()
126 …EXPORT jint JNICALL Java_android_opengl_cts_GL2JniLibOne_getProgramError(JNIEnv * env, jclass obj){ in Java_android_opengl_cts_GL2JniLibOne_getProgramError()
130 …jint JNICALL Java_android_opengl_cts_GL2JniLibOne_getAttachedShaderCount(JNIEnv * env, jclass obj){ in Java_android_opengl_cts_GL2JniLibOne_getAttachedShaderCount()
135 jclass obj, jint pCategory, jint pSubCategory, jfloatArray color) in Java_android_opengl_cts_GL2JniLibOne_draw()
/cts/tests/tests/media/audio/jni/
Daudio-metadata-native.cpp32 static jclass gByteBufferClass;
43 ScopedLocalRef<jclass> byteBufferClass(env, env->FindClass("java/nio/ByteBuffer")); in initializeGlobalFields()
44 gByteBufferClass = (jclass) env->NewGlobalRef(byteBufferClass.get()); in initializeGlobalFields()
51 JNIEnv *env, jclass /*clazz*/, jobject javaByteBuffer, jint sizeInBytes) in Java_android_media_audio_cts_AudioMetadataTest_nativeGetByteBuffer() argument
/cts/tests/sensor/jni/
Dandroid_hardware_cts_SensorNativeTest.cpp26 jlong setUp(JNIEnv*, jclass) { in setUp() argument
34 void tearDown(JNIEnv*, jclass, jlong instance) { in tearDown() argument
38 void test(JNIEnv* env, jclass, jlong instance) { in test() argument
81 jclass clazz = env->FindClass("android/hardware/cts/SensorNativeTest"); in register_android_hardware_cts_SensorNativeTest()
/cts/tests/signature/api-check/src/jni/
Dclassdescriptors.cpp99 JNIEnv* env, jclass, jobject loader) { in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassloaderDescriptors() argument
101 jclass rt_exception = env->FindClass("java/lang/RuntimeException"); in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassloaderDescriptors()
109 jclass rt_exception = env->FindClass("java/lang/RuntimeException"); in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassloaderDescriptors()
131 …ICALL Java_android_signature_cts_api_BootClassPathClassesProvider_initialize(JNIEnv* env, jclass) { in Java_android_signature_cts_api_BootClassPathClassesProvider_initialize() argument
137 jclass rt_exception = env->FindClass("java/lang/RuntimeException"); in Java_android_signature_cts_api_BootClassPathClassesProvider_initialize()
153 jclass rt_exception = env->FindClass("java/lang/RuntimeException"); in Java_android_signature_cts_api_BootClassPathClassesProvider_initialize()
161 JNIEnv* env, jclass, jclass klass, jboolean getFields) { in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassMemberNamesAndTypes() argument
177 jclass rt_exception = env->FindClass("java/lang/RuntimeException"); in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassMemberNamesAndTypes()
201 jclass rt_exception = env->FindClass("java/lang/RuntimeException"); in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassMemberNamesAndTypes()
/cts/common/device-side/nativetesthelper/jni/
Dgtest_wrapper.cpp37 jclass clazz;
47 jclass clazz;
57 jclass clazz;
62 jclass clazz;
170 Java_com_android_gtestrunner_GtestRunner_nInitialize(JNIEnv *env, jclass, jstring className, jobjec… in Java_com_android_gtestrunner_GtestRunner_nInitialize() argument
181 gDescription.clazz = (jclass) env->NewGlobalRef(env->FindClass("org/junit/runner/Description")); in Java_com_android_gtestrunner_GtestRunner_nInitialize()
187 jclass annotations = env->FindClass("java/lang/annotation/Annotation"); in Java_com_android_gtestrunner_GtestRunner_nInitialize()
191 … gAssertionFailure.clazz = (jclass) env->NewGlobalRef(env->FindClass("java/lang/AssertionError")); in Java_com_android_gtestrunner_GtestRunner_nInitialize()
194 …gFailure.clazz = (jclass) env->NewGlobalRef(env->FindClass("org/junit/runner/notification/Failure"… in Java_com_android_gtestrunner_GtestRunner_nInitialize()
198 gRunNotifier.clazz = (jclass) env->NewGlobalRef( in Java_com_android_gtestrunner_GtestRunner_nInitialize()
[all …]
/cts/tests/tests/view/jni/
Dandroid_view_cts_AInputNativeTest.cpp53 void nativeMotionEventTest(JNIEnv *env, jclass /* clazz */, jobject obj) { in nativeMotionEventTest() argument
104 void obtainNativeMotionEventCopyFromJava(JNIEnv *env, jclass /* clazz */, jobject obj) { in obtainNativeMotionEventCopyFromJava() argument
109 jobject obtainMotionEventCopyFromNative(JNIEnv *env, jclass /* clazz */, jobject obj) { in obtainMotionEventCopyFromNative() argument
116 jobject obtainKeyEventCopyFromNative(JNIEnv *env, jclass /* clazz */, jobject obj) { in obtainKeyEventCopyFromNative() argument
123 void nativeKeyEventTest(JNIEnv *env, jclass /* clazz */, jobject obj) { in nativeKeyEventTest() argument
150 void obtainNativeKeyEventCopyFromJava(JNIEnv *env, jclass /* clazz */, jobject obj) { in obtainNativeKeyEventCopyFromJava() argument
175 jclass clazz = env->FindClass("android/view/MotionEvent"); in register_android_view_cts_AMotionEventNativeTest()
185 jclass clazzTest = env->FindClass("android/view/cts/MotionEventTest"); in register_android_view_cts_AMotionEventNativeTest()
190 jclass clazz = env->FindClass("android/view/KeyEvent"); in register_android_view_cts_AKeyEventNativeTest()
195 jclass clazzTest = env->FindClass("android/view/cts/KeyEventTest"); in register_android_view_cts_AKeyEventNativeTest()
Dandroid_view_cts_InputQueueTest.cpp27 bool waitForEvent(JNIEnv *env, jclass /* clazz */, jobject inputQueue) { in waitForEvent() argument
42 void inputQueueTest(JNIEnv *env, jclass /* clazz */, jobject inputQueue) { in inputQueueTest() argument
58 jclass clazzTest = env->FindClass("android/view/cts/InputQueueTest"); in register_android_view_cts_InputQueueTest()
Dandroid_view_cts_InputDeviceKeyLayoutMapTest.cpp73 static jobject android_view_cts_nativeLoadKeyLayout(JNIEnv* env, jclass, jstring genericKl) { in android_view_cts_nativeLoadKeyLayout() argument
80 ScopedLocalRef<jclass> hashMapClazz(env, env->FindClass("java/util/HashMap")); in android_view_cts_nativeLoadKeyLayout()
88 ScopedLocalRef<jclass> integerClazz(env, env->FindClass("java/lang/Integer")); in android_view_cts_nativeLoadKeyLayout()
112 jclass clazz = env->FindClass("android/view/cts/input/InputDeviceKeyLayoutMapTest"); in register_android_view_cts_InputDeviceKeyLayoutMapTest()
/cts/tests/tests/virtualdevice/camera/src/android/virtualdevice/cts/camera/util/jni/
Dandroid_virtualdevice_cts_camera_util_NativeCameraManager.cc43 static jclass gNativeCameraManagerClass = nullptr;
44 static jclass gAvailabilityCallbackClass = nullptr;
220 jlong createCameraManager(JNIEnv*, jclass) { in createCameraManager() argument
224 void releaseCameraManager(JNIEnv*, jclass, jlong cameraManagerPtr) { in releaseCameraManager() argument
231 jobjectArray getCameraIds(JNIEnv* env, jclass, jlong cameraManagerPtr) { in getCameraIds() argument
239 jint getDeviceId(JNIEnv* env, jclass, jlong cameraManagerPtr, jstring cameraId) { in getDeviceId() argument
247 void registerAvailabilityCallback(JNIEnv* env, jclass, jlong cameraManagerPtr, in registerAvailabilityCallback() argument
271 jclass clazz = env->FindClass("android/virtualdevice/cts/camera/util/NativeCameraManager"); in register_android_virtualdevice_cts_camera_util_NativeCameraTestActivity()
272 gNativeCameraManagerClass = reinterpret_cast<jclass>(env->NewGlobalRef(clazz)); in register_android_virtualdevice_cts_camera_util_NativeCameraTestActivity()
274 gAvailabilityCallbackClass = reinterpret_cast<jclass>(env->NewGlobalRef(env->FindClass( in register_android_virtualdevice_cts_camera_util_NativeCameraTestActivity()
/cts/tests/tests/hardware/jni/
Dandroid_hardware_cts_HardwareBufferTest.cpp30 static jobject android_hardware_HardwareBuffer_nativeCreateHardwareBuffer(JNIEnv* env, jclass, in android_hardware_HardwareBuffer_nativeCreateHardwareBuffer() argument
52 static jobject android_hardware_HardwareBuffer_nativeReadHardwareBuffer(JNIEnv* env, jclass, in android_hardware_HardwareBuffer_nativeReadHardwareBuffer() argument
74 static void android_hardware_HardwareBuffer_nativeWriteHardwareBuffer(JNIEnv* env, jclass, in android_hardware_HardwareBuffer_nativeWriteHardwareBuffer() argument
97 jclass clazz = env->FindClass("android/hardware/cts/HardwareBufferTest"); in register_android_hardware_cts_HardwareBufferTest()

123456