Lines Matching refs:clazz
59 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()
148 (*env)->DeleteLocalRef(env, clazz); in NewPrintWriter()
325 jclass clazz = (*env)->FindClass(env, className); in jniRegisterNativeMethods() local
326 ALOG_ALWAYS_FATAL_IF(clazz == NULL, in jniRegisterNativeMethods()
329 int result = (*env)->RegisterNatives(env, clazz, methods, numMethods); in jniRegisterNativeMethods()
330 (*env)->DeleteLocalRef(env, clazz); in jniRegisterNativeMethods()