Home
last modified time | relevance | path

Searched refs:className (Results 1 – 4 of 4) sorted by relevance

/libnativehelper/platform_include/nativehelper/
Djni_macros.h207 #define NATIVE_METHOD(className, functionName, signature) \ argument
208 MAKE_JNI_NATIVE_METHOD(#functionName, signature, className ## _ ## functionName)
210 #define OVERLOADED_NATIVE_METHOD(className, functionName, signature, identifier) \ argument
211 MAKE_JNI_NATIVE_METHOD(#functionName, signature, className ## _ ## identifier)
213 #define NATIVE_METHOD_AUTOSIG(className, functionName) \ argument
214 MAKE_JNI_NATIVE_METHOD_AUTOSIG(#functionName, className ## _ ## functionName)
216 #define FAST_NATIVE_METHOD(className, functionName, signature) \ argument
217 MAKE_JNI_FAST_NATIVE_METHOD(#functionName, signature, className ## _ ## functionName)
219 #define OVERLOADED_FAST_NATIVE_METHOD(className, functionName, signature, identifier) \ argument
220 MAKE_JNI_FAST_NATIVE_METHOD(#functionName, signature, className ## _ ## identifier)
[all …]
/libnativehelper/include/nativehelper/
DJNIHelp.h41 inline int jniRegisterNativeMethods(JNIEnv* env, const char* className, const JNINativeMethod* gMet… in jniRegisterNativeMethods() argument
42 return jniRegisterNativeMethods(&env->functions, className, gMethods, numMethods); in jniRegisterNativeMethods()
45 inline int jniThrowException(JNIEnv* env, const char* className, const char* msg) { in jniThrowException() argument
46 return jniThrowException(&env->functions, className, msg); in jniThrowException()
53 inline int jniThrowExceptionFmt(JNIEnv* env, const char* className, const char* fmt, ...) { in jniThrowExceptionFmt() argument
56 return jniThrowExceptionFmt(&env->functions, className, fmt, args); in jniThrowExceptionFmt()
Dlibnativehelper_api.h37 const char* className,
55 int jniThrowException(C_JNIEnv* env, const char* className, const char* msg);
71 int jniThrowExceptionFmt(C_JNIEnv* env, const char* className, const char* fmt, va_list args);
/libnativehelper/
DJNIHelp.cpp67 jclass findClass(C_JNIEnv* env, const char* className) { in findClass() argument
69 return (*env)->FindClass(e, className); in findClass()
241 int jniRegisterNativeMethods(C_JNIEnv* env, const char* className, in jniRegisterNativeMethods() argument
246 ALOGV("Registering %s's %d native methods...", className, numMethods); in jniRegisterNativeMethods()
248 scoped_local_ref<jclass> c(env, findClass(env, className)); in jniRegisterNativeMethods()
251 className); in jniRegisterNativeMethods()
255 className); in jniRegisterNativeMethods()
260 int jniThrowException(C_JNIEnv* env, const char* className, const char* msg) { in jniThrowException() argument
271 ALOGW("Discarding pending exception (%s) to throw %s", text.c_str(), className); in jniThrowException()
275 scoped_local_ref<jclass> exceptionClass(env, findClass(env, className)); in jniThrowException()
[all …]