Lines Matching refs:className
64 static jclass findClass(C_JNIEnv* env, const char* className) { in findClass() argument
66 return (*env)->FindClass(e, className); in findClass()
69 extern "C" int jniRegisterNativeMethods(C_JNIEnv* env, const char* className, in jniRegisterNativeMethods() argument
74 ALOGV("Registering %s's %d native methods...", className, numMethods); in jniRegisterNativeMethods()
76 scoped_local_ref<jclass> c(env, findClass(env, className)); in jniRegisterNativeMethods()
79 asprintf(&msg, "Native registration unable to find class '%s'; aborting...", className); in jniRegisterNativeMethods()
85 asprintf(&msg, "RegisterNatives failed for '%s'; aborting...", className); in jniRegisterNativeMethods()
92 extern "C" int jniThrowException(C_JNIEnv* c_env, const char* className, const char* msg) { in jniThrowException() argument
94 jclass exceptionClass = env->FindClass(className); in jniThrowException()
97 ALOGD("Unable to find exception class %s", className); in jniThrowException()
103 ALOGD("Failed throwing '%s' '%s'", className, msg); in jniThrowException()
112 int jniThrowExceptionFmt(C_JNIEnv* env, const char* className, const char* fmt, va_list args) { in jniThrowExceptionFmt() argument
115 return jniThrowException(env, className, msgBuf); in jniThrowExceptionFmt()