Lines Matching refs:className
107 [[maybe_unused]] static jmethodID FindMethod(JNIEnv* env, const char* className, in FindMethod() argument
111 jclass clazz = env->FindClass(className); in FindMethod()
138 jstring className = (jstring)env->CallObjectMethod(exceptionClass, getName); in GetExceptionSummary() local
139 if (className == NULL) { in GetExceptionSummary()
148 if (!AppendJString(env, className, dst)) { in GetExceptionSummary()
151 env->DeleteLocalRef(className); in GetExceptionSummary()
154 env->DeleteLocalRef(className); in GetExceptionSummary()
155 className = NULL; in GetExceptionSummary()
277 [[maybe_unused]] static void DiscardPendingException(JNIEnv* env, const char* className) { in DiscardPendingException() argument
289 "Discarding pending exception (%s) to throw %s", details, className); in DiscardPendingException()
294 [[maybe_unused]] static int ThrowException(JNIEnv* env, const char* className, const char* ctorSig, in ThrowException() argument
302 DiscardPendingException(env, className); in ThrowException()
308 exceptionClass = env->FindClass(className); in ThrowException()
311 className); in ThrowException()
319 "Failed to find constructor for '%s' '%s'", className, ctorSig); in ThrowException()
326 className); in ThrowException()
331 __android_log_print(ANDROID_LOG_ERROR, "JNIHelp", "Failed to throw '%s'", className); in ThrowException()
363 [[maybe_unused]] static int jniRegisterNativeMethods(JNIEnv* env, const char* className, in jniRegisterNativeMethods() argument
367 jclass clazz = env->FindClass(className); in jniRegisterNativeMethods()
371 className); in jniRegisterNativeMethods()
392 "RegisterNatives failed for '%s'; aborting...", className); in jniRegisterNativeMethods()
410 [[maybe_unused]] static int jniThrowException(JNIEnv* env, const char* className, const char* msg) { in jniThrowException() argument
413 int _status = ThrowException(env, className, "(Ljava/lang/String;)V", _detailMessage); in jniThrowException()
449 [[maybe_unused]] static int jniThrowExceptionFmt(JNIEnv* env, const char* className, in jniThrowExceptionFmt() argument
456 return jniThrowException(env, className, msgBuf); in jniThrowExceptionFmt()
507 int jniRegisterNativeMethods(JNIEnv* env, const char* className, const JNINativeMethod* gMethods,
512 int jniThrowException(JNIEnv* env, const char* className, const char* msg);