Searched refs:className (Results 1 – 3 of 3) sorted by relevance
/libnativehelper/include/nativehelper/ |
D | JNIHelp.h | 45 int jniRegisterNativeMethods(C_JNIEnv* env, const char* className, const JNINativeMethod* gMethods,… 61 int jniThrowException(C_JNIEnv* env, const char* className, const char* msg); 122 inline int jniRegisterNativeMethods(JNIEnv* env, const char* className, const JNINativeMethod* gMet… in jniRegisterNativeMethods() argument 123 return jniRegisterNativeMethods(&env->functions, className, gMethods, numMethods); in jniRegisterNativeMethods() 126 inline int jniThrowException(JNIEnv* env, const char* className, const char* msg) { in jniThrowException() argument 127 return jniThrowException(&env->functions, className, msg); in jniThrowException() 130 extern "C" int jniThrowExceptionFmt(C_JNIEnv* env, const char* className, const char* fmt, va_list … 136 inline int jniThrowExceptionFmt(JNIEnv* env, const char* className, const char* fmt, ...) { in jniThrowExceptionFmt() argument 139 return jniThrowExceptionFmt(&env->functions, className, fmt, args); in jniThrowExceptionFmt()
|
D | JniConstants.h | 99 #define NATIVE_METHOD(className, functionName, signature) \ argument 100 { #functionName, signature, reinterpret_cast<void*>(className ## _ ## functionName) }
|
/libnativehelper/ |
D | JNIHelp.cpp | 68 static jclass findClass(C_JNIEnv* env, const char* className) { in findClass() argument 70 return (*env)->FindClass(e, className); in findClass() 73 extern "C" int jniRegisterNativeMethods(C_JNIEnv* env, const char* className, in jniRegisterNativeMethods() argument 78 ALOGV("Registering %s's %d native methods...", className, numMethods); in jniRegisterNativeMethods() 80 scoped_local_ref<jclass> c(env, findClass(env, className)); in jniRegisterNativeMethods() 83 asprintf(&msg, "Native registration unable to find class '%s'; aborting...", className); in jniRegisterNativeMethods() 89 asprintf(&msg, "RegisterNatives failed for '%s'; aborting...", className); in jniRegisterNativeMethods() 210 extern "C" int jniThrowException(C_JNIEnv* env, const char* className, const char* msg) { in jniThrowException() argument 221 ALOGW("Discarding pending exception (%s) to throw %s", text.c_str(), className); in jniThrowException() 225 scoped_local_ref<jclass> exceptionClass(env, findClass(env, className)); in jniThrowException() [all …]
|