Searched refs:jclass (Results 1 – 5 of 5) sorted by relevance
/dalvik/libnativehelper/include/nativehelper/ |
D | jni.h | 76 typedef _jclass* jclass; typedef 98 typedef jobject jclass; typedef 171 jclass (*DefineClass)(JNIEnv*, const char*, jobject, const jbyte*, 173 jclass (*FindClass)(JNIEnv*, const char*); 178 jobject (*ToReflectedMethod)(JNIEnv*, jclass, jmethodID, jboolean); 180 jclass (*GetSuperclass)(JNIEnv*, jclass); 181 jboolean (*IsAssignableFrom)(JNIEnv*, jclass, jclass); 184 jobject (*ToReflectedField)(JNIEnv*, jclass, jfieldID, jboolean); 187 jint (*ThrowNew)(JNIEnv *, jclass, const char *); 204 jobject (*AllocObject)(JNIEnv*, jclass); [all …]
|
/dalvik/libnativehelper/ |
D | JNIHelp.cpp | 61 static jclass findClass(C_JNIEnv* env, const char* className) { in findClass() 73 scoped_local_ref<jclass> c(env, findClass(env, className)); in jniRegisterNativeMethods() 96 … scoped_local_ref<jclass> exceptionClass(env, (*env)->GetObjectClass(e, exception)); // can't fail in getExceptionSummary0() 97 scoped_local_ref<jclass> classClass(env, in getExceptionSummary0() 152 scoped_local_ref<jclass> stringWriterClass(env, findClass(env, "java/io/StringWriter")); in getStackTrace() 161 scoped_local_ref<jclass> printWriterClass(env, findClass(env, "java/io/PrintWriter")); in getStackTrace() 181 … scoped_local_ref<jclass> exceptionClass(env, (*env)->GetObjectClass(e, exception)); // can't fail in getStackTrace() 221 scoped_local_ref<jclass> exceptionClass(env, findClass(env, className)); in jniThrowException() 307 jclass fileDescriptorClass; 314 reinterpret_cast<jclass>(env->NewGlobalRef(env->FindClass("java/io/FileDescriptor"))); in registerJniHelp()
|
/dalvik/dalvikvm/ |
D | Main.cpp | 46 jclass stringClass = NULL; in createStringArray() 92 static int methodIsPublic(JNIEnv* env, jclass clazz, jmethodID methodId) in methodIsPublic() 96 jclass methodClass = NULL; in methodIsPublic() 239 jclass startClass; in main()
|
/dalvik/vm/ |
D | CheckJni.cpp | 414 void checkStaticFieldID(jclass jclazz, jfieldID fieldID) { in checkStaticFieldID() 437 void checkStaticMethod(jclass jclazz, jmethodID methodID) { in checkStaticMethod() 581 jclass jc = va_arg(ap, jclass); in check() 673 checkClass(va_arg(ap, jclass)); in check() 758 void checkClass(jclass c) { in checkClass() 1322 static jclass Check_DefineClass(JNIEnv* env, const char* name, jobject loader, in Check_DefineClass() 1330 static jclass Check_FindClass(JNIEnv* env, const char* name) { in Check_FindClass() 1336 static jclass Check_GetSuperclass(JNIEnv* env, jclass clazz) { in Check_GetSuperclass() 1341 static jboolean Check_IsAssignableFrom(JNIEnv* env, jclass clazz1, jclass clazz2) { in Check_IsAssignableFrom() 1358 static jobject Check_ToReflectedMethod(JNIEnv* env, jclass cls, in Check_ToReflectedMethod() [all …]
|
D | Jni.cpp | 1124 jclass staticMethodClass = NULL; in dvmCallJNIMethod() 1142 staticMethodClass = (jclass) addLocalReference(env, (Object*) method->clazz); in dvmCallJNIMethod() 1249 static jclass DefineClass(JNIEnv* env, const char *name, jobject loader, in DefineClass() 1276 static jclass FindClass(JNIEnv* env, const char* name) { in FindClass() 1307 jclass jclazz = (jclass) addLocalReference(env, (Object*) clazz); in FindClass() 1315 static jclass GetSuperclass(JNIEnv* env, jclass jclazz) { in GetSuperclass() 1318 return (jclass) addLocalReference(env, (Object*)clazz->super); in GetSuperclass() 1326 static jboolean IsAssignableFrom(JNIEnv* env, jclass jclazz1, jclass jclazz2) { in IsAssignableFrom() 1358 static jobject ToReflectedMethod(JNIEnv* env, jclass jcls, jmethodID methodID, jboolean isStatic) { in ToReflectedMethod() 1373 static jobject ToReflectedField(JNIEnv* env, jclass jcls, jfieldID fieldID, jboolean isStatic) { in ToReflectedField() [all …]
|