/cts/tests/tests/renderscript/libcoremathtestcpp/ |
D | CoreMathTestJni.cpp | 44 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/ |
D | android_jni_cts_StaticNonce.c | 30 static void StaticNonce_nop(JNIEnv *env, jclass clazz) { in StaticNonce_nop() 35 static jboolean StaticNonce_returnBoolean(JNIEnv *env, jclass clazz) { in StaticNonce_returnBoolean() 40 static jbyte StaticNonce_returnByte(JNIEnv *env, jclass clazz) { in StaticNonce_returnByte() 45 static jshort StaticNonce_returnShort(JNIEnv *env, jclass clazz) { in StaticNonce_returnShort() 50 static jchar StaticNonce_returnChar(JNIEnv *env, jclass clazz) { in StaticNonce_returnChar() 55 static jint StaticNonce_returnInt(JNIEnv *env, jclass clazz) { in StaticNonce_returnInt() 60 static jlong StaticNonce_returnLong(JNIEnv *env, jclass clazz) { in StaticNonce_returnLong() 65 static jfloat StaticNonce_returnFloat(JNIEnv *env, jclass clazz) { in StaticNonce_returnFloat() 70 static jdouble StaticNonce_returnDouble(JNIEnv *env, jclass clazz) { in StaticNonce_returnDouble() 75 static jobject StaticNonce_returnNull(JNIEnv *env, jclass clazz) { in StaticNonce_returnNull() [all …]
|
/cts/hostsidetests/atrace/AtraceTestApp/jni/ |
D | CtsTrace.cpp | 20 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/tests/tests/view/jni/ |
D | android_view_cts_ASurfaceControlTest.cpp | 42 jclass clazz; 146 jlong SurfaceTransaction_create(JNIEnv* /*env*/, jclass) { in SurfaceTransaction_create() argument 150 void SurfaceTransaction_delete(JNIEnv* /*env*/, jclass, jlong surfaceTransaction) { in SurfaceTransaction_delete() argument 155 void SurfaceTransaction_apply(JNIEnv* /*env*/, jclass, jlong surfaceTransaction) { in SurfaceTransaction_apply() argument 160 long SurfaceControl_createFromWindow(JNIEnv* env, jclass, jobject jSurface) { in SurfaceControl_createFromWindow() argument 182 jlong SurfaceControl_create(JNIEnv* /*env*/, jclass, jlong parentSurfaceControlId) { in SurfaceControl_create() argument 193 void SurfaceControl_acquire(JNIEnv* /*env*/, jclass, jlong surfaceControl) { in SurfaceControl_acquire() argument 197 void SurfaceControl_release(JNIEnv* /*env*/, jclass, jlong surfaceControl) { in SurfaceControl_release() argument 201 jlong SurfaceTransaction_setSolidBuffer(JNIEnv* /*env*/, jclass, in SurfaceTransaction_setSolidBuffer() argument 224 void SurfaceTransaction_setBuffer(JNIEnv* /*env*/, jclass, jlong surfaceControl, in SurfaceTransaction_setBuffer() argument [all …]
|
D | android_view_cts_InputDeviceKeyLayoutMapTest.cpp | 74 static jobject android_view_cts_nativeLoadKeyLayout(JNIEnv* env, jclass, jstring genericKl) { in android_view_cts_nativeLoadKeyLayout() argument 81 ScopedLocalRef<jclass> hashMapClazz(env, env->FindClass("java/util/HashMap")); in android_view_cts_nativeLoadKeyLayout() 89 ScopedLocalRef<jclass> integerClazz(env, env->FindClass("java/lang/Integer")); in android_view_cts_nativeLoadKeyLayout() 110 jclass clazz = env->FindClass("android/view/cts/InputDeviceKeyLayoutMapTest"); in register_android_view_cts_InputDeviceKeyLayoutMapTest()
|
/cts/tests/signature/dex-checker/ |
D | dex-checker.cpp | 47 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/tests/tests/graphics/jni/ |
D | android_graphics_fonts_cts_SystemFonts.cpp | 138 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 …]
|
D | android_graphics_cts_ANativeWindowTest.cpp | 28 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 61 void tryAllocateBuffers(JNIEnv* env, jclass, jobject jSurface) { in tryAllocateBuffers() argument 87 jclass clazz = env->FindClass("android/graphics/cts/ANativeWindowTest"); in register_android_graphics_cts_ANativeWindowTest()
|
D | android_graphics_cts_VulkanFeaturesTest.cpp | 25 jclass /*clazz*/) in android_graphics_cts_VulkanFeaturesTest_nativeGetVkJSON() argument 39 jclass clazz = env->FindClass("android/graphics/cts/VulkanFeaturesTest"); in register_android_graphics_cts_VulkanFeaturesTest()
|
/cts/hostsidetests/jvmti/base/jni/ |
D | tracking.cpp | 32 static std::string GetClassName(JNIEnv* jni_env, jclass cls) { in GetClassName() 33 ScopedLocalRef<jclass> class_class(jni_env, jni_env->GetObjectClass(cls)); in GetClassName() 48 jclass object_klass, in ObjectAllocated() 51 ScopedLocalRef<jclass> object_klass2(jni_env, jni_env->GetObjectClass(object)); in ObjectAllocated() 62 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jboolean enable) { in Java_android_jvmti_cts_JvmtiTrackingTest_setupObjectAllocCallback() 72 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jthread thread, jboolean enable) { in Java_android_jvmti_cts_JvmtiTrackingTest_enableAllocationTracking() 82 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED) { in Java_android_jvmti_cts_JvmtiTrackingTest_getAndResetAllocationTrackingString() 120 ScopedLocalRef<jclass> klass(env, GetClass(jenv, env, in register_android_jvmti_cts_JvmtiTrackingTest()
|
D | redefine.cpp | 36 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()
|
D | tagging.cpp | 31 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/os/jni/ |
D | android_os_cts_SeccompTest.cpp | 39 JNIEnv*, jclass, jint policyFd) { in android_security_cts_SeccompBpfTest_nativeInstallTestFilter() argument 56 jstring android_security_cts_SeccompBpfTest_getPolicyAbiString(JNIEnv* env, jclass) { in android_security_cts_SeccompBpfTest_getPolicyAbiString() argument 72 jint android_security_cts_SeccompBpfTest_getClockBootTime(JNIEnv*, jclass) { in android_security_cts_SeccompBpfTest_getClockBootTime() argument 90 jclass clazz = env->FindClass("android/os/cts/SeccompTest"); in register_android_os_cts_SeccompTest()
|
/cts/tests/sensor/jni/ |
D | android_hardware_cts_SensorNativeTest.cpp | 26 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()
|
D | android_hardware_cts_SensorDirectReportTest.cpp | 25 jboolean readHardwareBuffer(JNIEnv* env, jclass, in readHardwareBuffer() argument 67 jclass clazz = env->FindClass("android/hardware/cts/SensorDirectReportTest"); in register_android_hardware_cts_SensorDirectReportTest() 73 jclass clazz = env->FindClass( in register_android_hardware_cts_helpers_SensorRatePermissionDirectReportTestHelper()
|
/cts/tests/tests/media/libaudiojni/ |
D | audio-metadata-native.cpp | 32 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_cts_AudioMetadataTest_nativeGetByteBuffer() argument
|
/cts/tests/tests/opengl/libopengltest/ |
D | gl2_jni_libone.cpp | 49 (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/ |
D | classdescriptors.cpp | 99 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/ |
D | gtest_wrapper.cpp | 37 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/media/libmediandkjni/ |
D | native-media-jni.cpp | 337 jclass /*clazz*/, int fd, jlong offset, jlong size) in Java_android_media_cts_NativeDecoderTest_getSampleSizesNative() argument 350 jclass /*clazz*/, jstring jpath, jobjectArray jkeys, jobjectArray jvalues, in Java_android_media_cts_NativeDecoderTest_getSampleSizesNativePath() argument 426 JNIEnv * /*env*/, jclass /*clazz*/, int fd, jlong offset, jlong size) in Java_android_media_cts_NativeDecoderTest_getExtractorFileDurationNative() argument 444 JNIEnv * env, jclass /*clazz*/, jstring jpath, jboolean testNativeSource) in Java_android_media_cts_NativeDecoderTest_getExtractorCachedDurationNative() argument 480 jclass /*clazz*/, int fd, jlong offset, jlong size, jboolean wrapFd, jboolean useCallback) { in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative() argument 679 jclass /*clazz*/, jobject surface, int fd, jlong offset, jlong size) { in Java_android_media_cts_NativeDecoderTest_testPlaybackNative() argument 766 jclass /*clazz*/, int infd, jlong inoffset, jlong insize, int outfd, jboolean webm) { in Java_android_media_cts_NativeDecoderTest_testMuxerNative() argument 829 jclass /*clazz*/) { in Java_android_media_cts_NativeDecoderTest_testFormatNative() argument 883 jclass /*clazz*/, int fd, jlong offset, jlong size) { in Java_android_media_cts_NativeDecoderTest_testPsshNative() argument 924 jclass /*clazz*/) { in Java_android_media_cts_NativeDecoderTest_testCryptoInfoNative() argument [all …]
|
/cts/tests/tests/hardware/jni/ |
D | android_hardware_cts_HardwareBufferTest.cpp | 26 static jobject android_hardware_HardwareBuffer_nativeCreateHardwareBuffer(JNIEnv* env, jclass, in android_hardware_HardwareBuffer_nativeCreateHardwareBuffer() argument 46 static void android_hardware_HardwareBuffer_nativeReleaseHardwareBuffer(JNIEnv* env, jclass, in android_hardware_HardwareBuffer_nativeReleaseHardwareBuffer() argument 61 jclass clazz = env->FindClass("android/hardware/cts/HardwareBufferTest"); in register_android_hardware_cts_HardwareBufferTest()
|
/cts/tests/tests/jni/libjninamespacea2/ |
D | namespacea2.cpp | 32 Java_android_jni_cts_ClassNamespaceA2_incrementGlobal(JNIEnv*, jclass) { in Java_android_jni_cts_ClassNamespaceA2_incrementGlobal() argument 37 Java_android_jni_cts_ClassNamespaceA2_getGlobal(JNIEnv*, jclass) { in Java_android_jni_cts_ClassNamespaceA2_getGlobal() argument
|
/cts/tests/tests/jni/libjninamespaceb/ |
D | namespaceb.cpp | 32 Java_android_jni_cts_ClassNamespaceB_incrementGlobal(JNIEnv*, jclass) { in Java_android_jni_cts_ClassNamespaceB_incrementGlobal() argument 37 Java_android_jni_cts_ClassNamespaceB_getGlobal(JNIEnv*, jclass) { in Java_android_jni_cts_ClassNamespaceB_getGlobal() argument
|
/cts/tests/tests/jni/libjninamespacea1/ |
D | namespacea1.cpp | 32 Java_android_jni_cts_ClassNamespaceA1_incrementGlobal(JNIEnv*, jclass) { in Java_android_jni_cts_ClassNamespaceA1_incrementGlobal() argument 37 Java_android_jni_cts_ClassNamespaceA1_getGlobal(JNIEnv*, jclass) { in Java_android_jni_cts_ClassNamespaceA1_getGlobal() argument
|
/cts/tools/cts-device-info/jni/ |
D | com_android_cts_deviceinfo_VulkanDeviceInfo.cpp | 24 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()
|