Home
last modified time | relevance | path

Searched refs:jmethodID (Results 1 – 6 of 6) sorted by relevance

/libnativehelper/
DJniConstants.h41 jmethodID JniConstants_FileDescriptor_init(JNIEnv* env);
42 jmethodID JniConstants_NIOAccess_getBaseArray(JNIEnv* env);
43 jmethodID JniConstants_NIOAccess_getBaseArrayOffset(JNIEnv* env);
44 jmethodID JniConstants_NioBuffer_array(JNIEnv* env);
45 jmethodID JniConstants_NioBuffer_arrayOffset(JNIEnv* env);
DJNIHelp.c53 static jmethodID FindMethod(JNIEnv* env, in FindMethod()
60 jmethodID methodId = (*env)->GetMethodID(env, clazz, methodName, descriptor); in FindMethod()
83 jmethodID getName = FindMethod(env, "java/lang/Class", "getName", "()Ljava/lang/String;"); in GetExceptionSummary()
103 jmethodID getMessage = in GetExceptionSummary()
130 jmethodID init = (*env)->GetMethodID(env, clazz, "<init>", "()V"); in NewStringWriter()
137 jmethodID toString = in StringWriterToString()
144 jmethodID init = (*env)->GetMethodID(env, clazz, "<init>", "(Ljava/io/Writer;)V"); in NewPrintWriter()
168 jmethodID printStackTrace = in GetStackTrace()
257 jmethodID init = (*env)->GetMethodID(env, exceptionClass, "<init>", ctorSig); in ThrowException()
DJniConstants.c67 static jmethodID METHOD_NAME(cls, method) = NULL;
89 static jmethodID FindMethod(JNIEnv* env, jclass cls, in FindMethod()
91 jmethodID method; in FindMethod()
184 jmethodID JniConstants_ ## cls ## _ ## method(JNIEnv* env) { \
DJNIPlatformHelp.c37 jmethodID getBaseArrayMethod = JniConstants_NIOAccess_getBaseArray(env); in jniGetNioBufferBaseArray()
45 jmethodID getBaseArrayOffsetMethod = JniConstants_NIOAccess_getBaseArrayOffset(env); in jniGetNioBufferBaseArrayOffset()
/libnativehelper/include_jni/
Djni.h105 typedef struct _jmethodID* jmethodID; /* method IDs */ typedef
161 jmethodID (*FromReflectedMethod)(JNIEnv*, jobject);
164 jobject (*ToReflectedMethod)(JNIEnv*, jclass, jmethodID, jboolean);
191 jobject (*NewObject)(JNIEnv*, jclass, jmethodID, ...);
192 jobject (*NewObjectV)(JNIEnv*, jclass, jmethodID, va_list);
193 jobject (*NewObjectA)(JNIEnv*, jclass, jmethodID, const jvalue*);
197 jmethodID (*GetMethodID)(JNIEnv*, jclass, const char*, const char*);
199 jobject (*CallObjectMethod)(JNIEnv*, jobject, jmethodID, ...);
200 jobject (*CallObjectMethodV)(JNIEnv*, jobject, jmethodID, va_list);
201 jobject (*CallObjectMethodA)(JNIEnv*, jobject, jmethodID, const jvalue*);
[all …]
/libnativehelper/include/nativehelper/
DJNIHelp.h102 [[maybe_unused]] static jmethodID FindMethod(JNIEnv* env, const char* className, in FindMethod()
107 jmethodID methodId = env->GetMethodID(clazz, methodName, descriptor); in FindMethod()
132 jmethodID getName = FindMethod(env, "java/lang/Class", "getName", "()Ljava/lang/String;"); in GetExceptionSummary()
152 jmethodID getMessage = in GetExceptionSummary()
179 jmethodID init = env->GetMethodID(clazz, "<init>", "()V"); in NewStringWriter()
186 jmethodID toString = in StringWriterToString()
193 jmethodID init = env->GetMethodID(clazz, "<init>", "(Ljava/io/Writer;)V"); in NewPrintWriter()
218 jmethodID printStackTrace = in GetStackTrace()
311 jmethodID init = env->GetMethodID(exceptionClass, "<init>", ctorSig); in ThrowException()