Home
last modified time | relevance | path

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

/libnativehelper/include/nativehelper/
DJNIHelp.h41 MODULE_API int jniRegisterNativeMethods(C_JNIEnv* env,
60 MODULE_API int jniThrowException(C_JNIEnv* env, const char* className, const char* msg);
76 MODULE_API int jniThrowExceptionFmt(C_JNIEnv* env, const char* className, const char* fmt, va_list …
81 MODULE_API int jniThrowNullPointerException(C_JNIEnv* env, const char* msg);
86 MODULE_API int jniThrowRuntimeException(C_JNIEnv* env, const char* msg);
91 MODULE_API int jniThrowIOException(C_JNIEnv* env, int errnum);
104 MODULE_API jobject jniCreateFileDescriptor(C_JNIEnv* env, int fd);
109 MODULE_API int jniGetFDFromFileDescriptor(C_JNIEnv* env, jobject fileDescriptor);
115 MODULE_API void jniSetFileDescriptorOfFD(C_JNIEnv* env,
122 MODULE_API jlong jniGetOwnerIdFromFileDescriptor(C_JNIEnv* env, jobject fileDescriptor);
[all …]
/libnativehelper/
DJNIHelp.cpp34 explicit scoped_local_ref(C_JNIEnv* env, T localRef = NULL) in scoped_local_ref()
55 C_JNIEnv* const mEnv;
61 static jclass findClass(C_JNIEnv* env, const char* className) { in findClass()
66 MODULE_API int jniRegisterNativeMethods(C_JNIEnv* env, const char* className, in jniRegisterNativeMethods()
90 static bool getExceptionSummary(C_JNIEnv* env, jthrowable exception, std::string& result) { in getExceptionSummary()
141 static bool getStackTrace(C_JNIEnv* env, jthrowable exception, std::string& result) { in getStackTrace()
199 MODULE_API int jniThrowException(C_JNIEnv* env, const char* className, const char* msg) { in jniThrowException()
230 MODULE_API int jniThrowExceptionFmt(C_JNIEnv* env, const char* className, const char* fmt, va_list … in jniThrowExceptionFmt()
236 MODULE_API int jniThrowNullPointerException(C_JNIEnv* env, const char* msg) { in jniThrowNullPointerException()
240 MODULE_API int jniThrowRuntimeException(C_JNIEnv* env, const char* msg) { in jniThrowRuntimeException()
[all …]
/libnativehelper/include_jni/
Djni.h137 typedef const struct JNINativeInterface* C_JNIEnv; typedef