Home
last modified time | relevance | path

Searched refs:msg (Results 1 – 3 of 3) sorted by relevance

/libnativehelper/include/nativehelper/
DJNIHelp.h61 int jniThrowException(C_JNIEnv* env, const char* className, const char* msg);
66 int jniThrowNullPointerException(C_JNIEnv* env, const char* msg);
71 int jniThrowRuntimeException(C_JNIEnv* env, const char* msg);
126 inline int jniThrowException(JNIEnv* env, const char* className, const char* msg) { in jniThrowException() argument
127 return jniThrowException(&env->functions, className, msg); in jniThrowException()
143 inline int jniThrowNullPointerException(JNIEnv* env, const char* msg) { in jniThrowNullPointerException() argument
144 return jniThrowNullPointerException(&env->functions, msg); in jniThrowNullPointerException()
147 inline int jniThrowRuntimeException(JNIEnv* env, const char* msg) { in jniThrowRuntimeException() argument
148 return jniThrowRuntimeException(&env->functions, msg); in jniThrowRuntimeException()
Djni.h540 void FatalError(const char* msg) in FatalError()
541 { functions->FatalError(this, msg); } in FatalError()
/libnativehelper/
DJNIHelp.cpp79 char* msg; in jniRegisterNativeMethods() local
80 asprintf(&msg, "Native registration unable to find class '%s'; aborting...", className); in jniRegisterNativeMethods()
81 e->FatalError(msg); in jniRegisterNativeMethods()
85 char* msg; in jniRegisterNativeMethods() local
86 asprintf(&msg, "RegisterNatives failed for '%s'; aborting...", className); in jniRegisterNativeMethods()
87 e->FatalError(msg); in jniRegisterNativeMethods()
207 extern "C" int jniThrowException(C_JNIEnv* env, const char* className, const char* msg) { in jniThrowException() argument
229 if ((*env)->ThrowNew(e, exceptionClass.get(), msg) != JNI_OK) { in jniThrowException()
230 ALOGE("Failed throwing '%s' '%s'", className, msg); in jniThrowException()
244 int jniThrowNullPointerException(C_JNIEnv* env, const char* msg) { in jniThrowNullPointerException() argument
[all …]