Home
last modified time | relevance | path

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

/libnativehelper/include_platform_header_only/nativehelper/
Djni_macros.h206 #define NATIVE_METHOD(className, functionName, signature) \ argument
207 MAKE_JNI_NATIVE_METHOD(#functionName, signature, className ## _ ## functionName)
209 #define OVERLOADED_NATIVE_METHOD(className, functionName, signature, identifier) \ argument
210 MAKE_JNI_NATIVE_METHOD(#functionName, signature, className ## _ ## identifier)
212 #define NATIVE_METHOD_AUTOSIG(className, functionName) \ argument
213 MAKE_JNI_NATIVE_METHOD_AUTOSIG(#functionName, className ## _ ## functionName)
215 #define FAST_NATIVE_METHOD(className, functionName, signature) \ argument
216 MAKE_JNI_FAST_NATIVE_METHOD(#functionName, signature, className ## _ ## functionName)
218 #define OVERLOADED_FAST_NATIVE_METHOD(className, functionName, signature, identifier) \ argument
219 MAKE_JNI_FAST_NATIVE_METHOD(#functionName, signature, className ## _ ## identifier)
[all …]
/libnativehelper/
DJNIHelp.c54 const char* className, in FindMethod() argument
59 jclass clazz = (*env)->FindClass(env, className); in FindMethod()
84 jstring className = (jstring) (*env)->CallObjectMethod(env, exceptionClass, getName); in GetExceptionSummary() local
85 if (className == NULL) { in GetExceptionSummary()
94 if (!AppendJString(env, className, dst)) { in GetExceptionSummary()
97 (*env)->DeleteLocalRef(env, className); in GetExceptionSummary()
100 (*env)->DeleteLocalRef(env, className); in GetExceptionSummary()
101 className = NULL; in GetExceptionSummary()
223 static void DiscardPendingException(JNIEnv* env, const char* className) { in DiscardPendingException() argument
234 ALOGW("Discarding pending exception (%s) to throw %s", details, className); in DiscardPendingException()
[all …]
/libnativehelper/include/nativehelper/
DJNIHelp.h107 [[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()
[all …]
/libnativehelper/tests_mts/jni/
Djni_helper_jni.cpp33 static void throwException(JNIEnv* env, jclass /*clazz*/, jstring className, jstring message) { in throwException() argument
34 ScopedUtfChars c(env, className); in throwException()
41 jstring className, in throwExceptionWithIntFormat() argument
44 ScopedUtfChars c(env, className); in throwExceptionWithIntFormat()
/libnativehelper/tests_mts/src/com/android/art/libnativehelper/
DJniHelpTest.java37 private static native void throwException(String className, String message); in throwException() argument
38 private static native void throwExceptionWithIntFormat(String className, in throwExceptionWithIntFormat() argument