Home
last modified time | relevance | path

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

1234

/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.c29 static void StaticNonce_nop(JNIEnv *env, jclass clazz) { in StaticNonce_nop()
34 static jboolean StaticNonce_returnBoolean(JNIEnv *env, jclass clazz) { in StaticNonce_returnBoolean()
39 static jbyte StaticNonce_returnByte(JNIEnv *env, jclass clazz) { in StaticNonce_returnByte()
44 static jshort StaticNonce_returnShort(JNIEnv *env, jclass clazz) { in StaticNonce_returnShort()
49 static jchar StaticNonce_returnChar(JNIEnv *env, jclass clazz) { in StaticNonce_returnChar()
54 static jint StaticNonce_returnInt(JNIEnv *env, jclass clazz) { in StaticNonce_returnInt()
59 static jlong StaticNonce_returnLong(JNIEnv *env, jclass clazz) { in StaticNonce_returnLong()
64 static jfloat StaticNonce_returnFloat(JNIEnv *env, jclass clazz) { in StaticNonce_returnFloat()
69 static jdouble StaticNonce_returnDouble(JNIEnv *env, jclass clazz) { in StaticNonce_returnDouble()
74 static jobject StaticNonce_returnNull(JNIEnv *env, jclass clazz) { in StaticNonce_returnNull()
[all …]
Dandroid_jni_cts_JniStaticTest.cpp28 jclass appLoaderClass) { in Java_android_jni_cts_ClassLoaderHelper_nativeGetHashCode()
33 jmethodID midHashCode = env->GetMethodID((jclass)coreClass, "hashCode", "()I"); in Java_android_jni_cts_ClassLoaderHelper_nativeGetHashCode()
/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
60 JNIEnv* env, jclass, jclass klass, jstring name, jstring type) { in Java_android_signature_cts_DexMemberChecker_getStaticField_1JNI() argument
73 JNIEnv* env, jclass, jclass klass, jstring name, jstring signature) { in Java_android_signature_cts_DexMemberChecker_getMethod_1JNI() argument
86 JNIEnv* env, jclass, jclass klass, jstring name, jstring signature) { in Java_android_signature_cts_DexMemberChecker_getStaticMethod_1JNI() argument
/cts/hostsidetests/jvmti/base/jni/
Dtracking.cpp31 static std::string GetClassName(JNIEnv* jni_env, jclass cls) { in GetClassName()
32 ScopedLocalRef<jclass> class_class(jni_env, jni_env->GetObjectClass(cls)); in GetClassName()
47 jclass object_klass, in ObjectAllocated()
50 ScopedLocalRef<jclass> object_klass2(jni_env, jni_env->GetObjectClass(object)); in ObjectAllocated()
61 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jboolean enable) { in Java_android_jvmti_cts_JvmtiTrackingTest_setupObjectAllocCallback()
71 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jthread thread, jboolean enable) { in Java_android_jvmti_cts_JvmtiTrackingTest_enableAllocationTracking()
81 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED) { in Java_android_jvmti_cts_JvmtiTrackingTest_getAndResetAllocationTrackingString()
Dredefine.cpp35 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jclass target, jbyteArray dex_bytes) { in Java_android_jvmti_cts_JvmtiRedefineClassesTest_redefineClass()
53 JNIEnv* env ATTRIBUTE_UNUSED, jclass klass ATTRIBUTE_UNUSED, jclass target) { in Java_android_jvmti_cts_JvmtiRedefineClassesTest_retransformClass()
108 jclass class_being_redefined ATTRIBUTE_UNUSED, in CommonClassFileLoadHookRetransformable()
133 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jboolean enable) { in Java_android_jvmti_cts_JvmtiRedefineClassesTest_setTransformationEvent()
151 JNIEnv* env ATTRIBUTE_UNUSED, jclass klass ATTRIBUTE_UNUSED) { in Java_android_jvmti_cts_JvmtiRedefineClassesTest_clearTransformations()
157 JNIEnv* env ATTRIBUTE_UNUSED, jclass klass ATTRIBUTE_UNUSED, jboolean enable) { in Java_android_jvmti_cts_JvmtiRedefineClassesTest_setPopTransformations()
163 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jstring class_name, jbyteArray dex_bytes) { in Java_android_jvmti_cts_JvmtiRedefineClassesTest_pushTransformationResult()
/cts/common/device-side/nativetesthelper/jni/
Dgtest_wrapper.cpp22 jclass clazz;
32 jclass clazz;
42 jclass clazz;
47 jclass clazz;
128 Java_com_android_gtestrunner_GtestRunner_nInitialize(JNIEnv *env, jclass, jobject suite) { in Java_com_android_gtestrunner_GtestRunner_nInitialize() argument
137 gDescription.clazz = (jclass) env->NewGlobalRef(env->FindClass("org/junit/runner/Description")); in Java_com_android_gtestrunner_GtestRunner_nInitialize()
143 jclass annotations = env->FindClass("java/lang/annotation/Annotation"); in Java_com_android_gtestrunner_GtestRunner_nInitialize()
146 … gAssertionFailure.clazz = (jclass) env->NewGlobalRef(env->FindClass("java/lang/AssertionError")); in Java_com_android_gtestrunner_GtestRunner_nInitialize()
149 …gFailure.clazz = (jclass) env->NewGlobalRef(env->FindClass("org/junit/runner/notification/Failure"… in Java_com_android_gtestrunner_GtestRunner_nInitialize()
153 gRunNotifier.clazz = (jclass) env->NewGlobalRef( in Java_com_android_gtestrunner_GtestRunner_nInitialize()
[all …]
/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/tests/graphics/jni/
Dandroid_graphics_cts_ANativeWindowTest.cpp28 void pushBufferWithTransform(JNIEnv* env, jclass, jobject jSurface, jint transform) { in pushBufferWithTransform() argument
37 jint setBuffersDataSpace(JNIEnv* env, jclass, jobject jSurface, jint dataSpace) { in setBuffersDataSpace() argument
53 jint getBuffersDataSpace(JNIEnv* env, jclass, jobject jSurface) { in getBuffersDataSpace() argument
70 jclass clazz = env->FindClass("android/graphics/cts/ANativeWindowTest"); in register_android_graphics_cts_ANativeWindowTest()
Dandroid_graphics_cts_BitmapTest.cpp25 static void validateBitmapInfo(JNIEnv* env, jclass, jobject jbitmap, jint width, jint height, in validateBitmapInfo() argument
38 static void validateNdkAccessAfterRecycle(JNIEnv* env, jclass, jobject jbitmap) { in validateNdkAccessAfterRecycle() argument
52 jclass clazz = env->FindClass("android/graphics/cts/BitmapTest"); in register_android_graphics_cts_BitmapTest()
Dandroid_graphics_cts_VulkanFeaturesTest.cpp25 jclass /*clazz*/) in android_graphics_cts_VulkanFeaturesTest_nativeGetVkJSON() argument
39 jclass clazz = env->FindClass("android/graphics/cts/VulkanFeaturesTest"); in register_android_graphics_cts_VulkanFeaturesTest()
Dandroid_graphics_cts_VulkanPreTransformCtsActivity.cpp38 jclass clazz = env->FindClass("android/graphics/cts/VulkanPreTransformTest"); in validatePixelValues()
47 void createNativeTest(JNIEnv* env, jclass /*clazz*/, jobject jAssetManager, jobject jSurface, in createNativeTest() argument
82 jclass clazz = env->FindClass("android/graphics/cts/VulkanPreTransformCtsActivity"); in register_android_graphics_cts_VulkanPreTransformCtsActivity()
Dandroid_graphics_cts_SyncTest.cpp39 jboolean syncPoll(JNIEnv* env, jclass /*clazz*/, jintArray fds_array, jintArray status_array) { in syncPoll() argument
75 jint syncMerge(JNIEnv* env, jclass /*clazz*/, jstring nameStr, jint fd1, jint fd2) { in syncMerge() argument
82 jobject syncFileInfo(JNIEnv* /*env*/, jclass /*clazz*/, jint fd) { in syncFileInfo() argument
104 jclass clazz = env->FindClass("android/graphics/cts/SyncTest"); in register_android_graphics_cts_SyncTest()
/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/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/tests/tests/os/jni/
Dandroid_os_cts_SeccompTest.cpp49 JNIEnv*, jclass, jint policyFd) { in android_security_cts_SeccompBpfTest_nativeInstallTestFilter() argument
66 jstring android_security_cts_SeccompBpfTest_getPolicyAbiString(JNIEnv* env, jclass) { in android_security_cts_SeccompBpfTest_getPolicyAbiString() argument
82 jint android_security_cts_SeccompBpfTest_getClockBootTime(JNIEnv*, jclass) { in android_security_cts_SeccompBpfTest_getClockBootTime() argument
100 jclass clazz = env->FindClass("android/os/cts/SeccompTest"); in register_android_os_cts_SeccompTest()
/cts/tests/tests/hardware/jni/
Dandroid_hardware_cts_HardwareBufferTest.cpp27 static jobject android_hardware_HardwareBuffer_nativeCreateHardwareBuffer(JNIEnv* env, jclass, in android_hardware_HardwareBuffer_nativeCreateHardwareBuffer() argument
45 static void android_hardware_HardwareBuffer_nativeReleaseHardwareBuffer(JNIEnv* env, jclass, in android_hardware_HardwareBuffer_nativeReleaseHardwareBuffer() argument
60 jclass clazz = env->FindClass("android/hardware/cts/HardwareBufferTest"); in register_android_hardware_cts_HardwareBufferTest()
/cts/tests/tests/media/libmediandkjni/
Dnative-media-jni.cpp318 jclass /*clazz*/, int fd, jlong offset, jlong size) in Java_android_media_cts_NativeDecoderTest_getSampleSizesNative() argument
331 jclass /*clazz*/, jstring jpath) in Java_android_media_cts_NativeDecoderTest_getSampleSizesNativePath() argument
388 JNIEnv * /*env*/, jclass /*clazz*/, int fd, jlong offset, jlong size) in Java_android_media_cts_NativeDecoderTest_getExtractorFileDurationNative() argument
406 JNIEnv * env, jclass /*clazz*/, jstring jpath) in Java_android_media_cts_NativeDecoderTest_getExtractorCachedDurationNative() argument
433 jclass /*clazz*/, int fd, jlong offset, jlong size, jboolean wrapFd, jboolean useCallback) { in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative() argument
632 jclass /*clazz*/, jobject surface, int fd, jlong offset, jlong size) { in Java_android_media_cts_NativeDecoderTest_testPlaybackNative() argument
719 jclass /*clazz*/, int infd, jlong inoffset, jlong insize, int outfd, jboolean webm) { in Java_android_media_cts_NativeDecoderTest_testMuxerNative() argument
782 jclass /*clazz*/) { in Java_android_media_cts_NativeDecoderTest_testFormatNative() argument
836 jclass /*clazz*/, int fd, jlong offset, jlong size) { in Java_android_media_cts_NativeDecoderTest_testPsshNative() argument
877 jclass /*clazz*/) { in Java_android_media_cts_NativeDecoderTest_testCryptoInfoNative() argument
[all …]
/cts/tests/tests/jni/libjninamespaceb/
Dnamespaceb.cpp33 Java_android_jni_cts_ClassNamespaceB_incrementGlobal(JNIEnv*, jclass) { in Java_android_jni_cts_ClassNamespaceB_incrementGlobal() argument
38 Java_android_jni_cts_ClassNamespaceB_getGlobal(JNIEnv*, jclass) { in Java_android_jni_cts_ClassNamespaceB_getGlobal() argument
/cts/tests/tests/jni/libjninamespacea1/
Dnamespacea1.cpp33 Java_android_jni_cts_ClassNamespaceA1_incrementGlobal(JNIEnv*, jclass) { in Java_android_jni_cts_ClassNamespaceA1_incrementGlobal() argument
38 Java_android_jni_cts_ClassNamespaceA1_getGlobal(JNIEnv*, jclass) { in Java_android_jni_cts_ClassNamespaceA1_getGlobal() argument
/cts/tests/tests/jni/libjninamespacea2/
Dnamespacea2.cpp33 Java_android_jni_cts_ClassNamespaceA2_incrementGlobal(JNIEnv*, jclass) { in Java_android_jni_cts_ClassNamespaceA2_incrementGlobal() argument
38 Java_android_jni_cts_ClassNamespaceA2_getGlobal(JNIEnv*, jclass) { in Java_android_jni_cts_ClassNamespaceA2_getGlobal() argument
/cts/tools/cts-device-info/jni/
Dcom_android_cts_deviceinfo_VulkanDeviceInfo.cpp24 jstring GetVkJSON(JNIEnv* env, jclass /*clazz*/) in GetVkJSON() argument
38 jclass clazz = env->FindClass("com/android/cts/deviceinfo/VulkanDeviceInfo"); in register_com_android_cts_deviceinfo_VulkanDeviceInfo()
/cts/tests/tests/view/jni/
Dandroid_view_cts_ChoreographerNativeTest.cpp69 jclass exClass; in fail()
76 static jlong android_view_cts_ChoreographerNativeTest_getChoreographer(JNIEnv*, jclass) { in android_view_cts_ChoreographerNativeTest_getChoreographer() argument
81 static jboolean android_view_cts_ChoreographerNativeTest_prepareChoreographerTests(JNIEnv*, jclass, in android_view_cts_ChoreographerNativeTest_prepareChoreographerTests() argument
89 JNIEnv* env, jclass, jlong choreographerPtr) { in android_view_cts_ChoreographerNativeTest_testPostCallbackWithoutDelayEventuallyRunsCallback() argument
124 JNIEnv* env, jclass, jlong choreographerPtr) { in android_view_cts_ChoreographerNativeTest_testPostCallbackWithDelayEventuallyRunsCallback() argument
159 jclass clazz = env->FindClass("android/view/cts/ChoreographerNativeTest"); in register_android_view_cts_ChoreographerNativeTest()
/cts/tests/tests/media/libaudiojni/
Daudio-track-native.cpp378 JNIEnv * /* env */, jclass /* clazz */, in Java_android_media_cts_AudioTrackNative_nativeTest() argument
415 JNIEnv * /* env */, jclass /* clazz */) in Java_android_media_cts_AudioTrackNative_nativeCreateTrack() argument
421 JNIEnv * /* env */, jclass /* clazz */, jlong jtrack) in Java_android_media_cts_AudioTrackNative_nativeDestroyTrack() argument
427 JNIEnv * /* env */, jclass /* clazz */, jlong jtrack, in Java_android_media_cts_AudioTrackNative_nativeOpen() argument
443 JNIEnv * /* env */, jclass /* clazz */, jlong jtrack) in Java_android_media_cts_AudioTrackNative_nativeClose() argument
452 JNIEnv * /* env */, jclass /* clazz */, jlong jtrack) in Java_android_media_cts_AudioTrackNative_nativeStart() argument
462 JNIEnv * /* env */, jclass /* clazz */, jlong jtrack) in Java_android_media_cts_AudioTrackNative_nativeStop() argument
472 JNIEnv * /* env */, jclass /* clazz */, jlong jtrack) in Java_android_media_cts_AudioTrackNative_nativePause() argument
482 JNIEnv * /* env */, jclass /* clazz */, jlong jtrack) in Java_android_media_cts_AudioTrackNative_nativeFlush() argument
492 JNIEnv *env, jclass /* clazz */, jlong jtrack, jlongArray jPosition) in Java_android_media_cts_AudioTrackNative_nativeGetPositionInMsec() argument
[all …]
/cts/tests/openglperf2/jni/primitive/
DGLPrimitive.cpp43 JNIEnv* env, jclass /*clazz*/, jint workload, jint numFrames, jdoubleArray frameTimes) { in Java_android_opengl2_cts_primitive_GLPrimitiveActivity_startBenchmark() argument
79 JNIEnv* env, jclass /*clazz*/, jobject surface, jint benchmark, in Java_android_opengl2_cts_primitive_GLPrimitiveActivity_setupBenchmark() argument
115 JNIEnv* /*env*/, jclass /*clazz*/) { in Java_android_opengl2_cts_primitive_GLPrimitiveActivity_tearDownBenchmark() argument

1234