Home
last modified time | relevance | path

Searched refs:clazz (Results 1 – 4 of 4) sorted by relevance

/libnativehelper/include_jni/
Djni.h514 jclass GetSuperclass(jclass clazz) in GetSuperclass()
515 { return functions->GetSuperclass(this, clazz); } in GetSuperclass()
526 jint ThrowNew(jclass clazz, const char* message) in ThrowNew()
527 { return functions->ThrowNew(this, clazz, message); } in ThrowNew()
565 jobject AllocObject(jclass clazz) in AllocObject()
566 { return functions->AllocObject(this, clazz); } in AllocObject()
568 jobject NewObject(jclass clazz, jmethodID methodID, ...) in NewObject()
572 jobject result = functions->NewObjectV(this, clazz, methodID, args); in NewObject()
577 jobject NewObjectV(jclass clazz, jmethodID methodID, va_list args) in NewObjectV()
578 { return functions->NewObjectV(this, clazz, methodID, args); } in NewObjectV()
[all …]
/libnativehelper/
DJNIHelp.c59 jclass clazz = (*env)->FindClass(env, className); in FindMethod() local
60 jmethodID methodId = (*env)->GetMethodID(env, clazz, methodName, descriptor); in FindMethod()
61 (*env)->DeleteLocalRef(env, clazz); in FindMethod()
131 jclass clazz = (*env)->FindClass(env, "java/io/StringWriter"); in NewStringWriter() local
132 jmethodID init = (*env)->GetMethodID(env, clazz, "<init>", "()V"); in NewStringWriter()
133 jobject instance = (*env)->NewObject(env, clazz, init); in NewStringWriter()
134 (*env)->DeleteLocalRef(env, clazz); in NewStringWriter()
145 jclass clazz = (*env)->FindClass(env, "java/io/PrintWriter"); in NewPrintWriter() local
146 jmethodID init = (*env)->GetMethodID(env, clazz, "<init>", "(Ljava/io/Writer;)V"); in NewPrintWriter()
147 jobject instance = (*env)->NewObject(env, clazz, init, writer); in NewPrintWriter()
[all …]
/libnativehelper/include/nativehelper/
DJNIHelp.h111 jclass clazz = env->FindClass(className); in FindMethod() local
112 jmethodID methodId = env->GetMethodID(clazz, methodName, descriptor); in FindMethod()
113 env->DeleteLocalRef(clazz); in FindMethod()
183 jclass clazz = env->FindClass("java/io/StringWriter"); in NewStringWriter() local
184 jmethodID init = env->GetMethodID(clazz, "<init>", "()V"); in NewStringWriter()
185 jobject instance = env->NewObject(clazz, init); in NewStringWriter()
186 env->DeleteLocalRef(clazz); in NewStringWriter()
197 jclass clazz = env->FindClass("java/io/PrintWriter"); in NewPrintWriter() local
198 jmethodID init = env->GetMethodID(clazz, "<init>", "(Ljava/io/Writer;)V"); in NewPrintWriter()
199 jobject instance = env->NewObject(clazz, init, writer); in NewPrintWriter()
[all …]
/libnativehelper/tests/
DJniSafeRegisterNativeMethods_test.cpp891 jclass clazz, in android_os_Parcel_writeLong() argument
895 jclass clazz, in android_os_Parcel_writeFloat() argument
899 jclass clazz, in android_os_Parcel_writeDouble() argument
903 jclass clazz, in android_os_Parcel_writeString() argument
907 jclass clazz, in android_os_Parcel_writeStrongBinder() argument
911 jclass clazz, in android_os_Parcel_writeFileDescriptor() argument
915 jclass clazz, in android_os_Parcel_createByteArray() argument
919 jclass clazz, in android_os_Parcel_readByteArray() argument
924 jclass clazz, in android_os_Parcel_readBlob() argument
935 jclass clazz, in android_os_Parcel_readString() argument
[all …]