Home
last modified time | relevance | path

Searched defs:env (Results 1 – 2 of 2) sorted by relevance

/libnativehelper/include/nativehelper/
DJNIHelp.h115 inline int jniRegisterNativeMethods(JNIEnv* env, const char* className, const JNINativeMethod* gMet… in jniRegisterNativeMethods()
119 inline int jniThrowException(JNIEnv* env, const char* className, const char* msg) { in jniThrowException()
129 inline int jniThrowExceptionFmt(JNIEnv* env, const char* className, const char* fmt, ...) { in jniThrowExceptionFmt()
136 inline int jniThrowNullPointerException(JNIEnv* env, const char* msg) { in jniThrowNullPointerException()
140 inline int jniThrowRuntimeException(JNIEnv* env, const char* msg) { in jniThrowRuntimeException()
144 inline int jniThrowIOException(JNIEnv* env, int errnum) { in jniThrowIOException()
148 inline jobject jniCreateFileDescriptor(JNIEnv* env, int fd) { in jniCreateFileDescriptor()
152 inline int jniGetFDFromFileDescriptor(JNIEnv* env, jobject fileDescriptor) { in jniGetFDFromFileDescriptor()
156 inline void jniSetFileDescriptorOfFD(JNIEnv* env, jobject fileDescriptor, int value) { in jniSetFileDescriptorOfFD()
170 #define LOG_EX(env, priority, tag, ...) \ argument
[all …]
/libnativehelper/
DJNIHelp.cpp32 scoped_local_ref(C_JNIEnv* env, T localRef = NULL) in scoped_local_ref()
61 static jclass findClass(C_JNIEnv* env, const char* className) { in findClass()
66 extern "C" int jniRegisterNativeMethods(C_JNIEnv* env, const char* className, in jniRegisterNativeMethods()
92 static char* getExceptionSummary0(C_JNIEnv* env, jthrowable exception) { in getExceptionSummary0()
136 static char* getExceptionSummary(C_JNIEnv* env, jthrowable exception) { in getExceptionSummary()
149 static char* getStackTrace(C_JNIEnv* env, jthrowable exception) { in getStackTrace()
206 extern "C" int jniThrowException(C_JNIEnv* env, const char* className, const char* msg) { in jniThrowException()
237 int jniThrowExceptionFmt(C_JNIEnv* env, const char* className, const char* fmt, va_list args) { in jniThrowExceptionFmt()
243 int jniThrowNullPointerException(C_JNIEnv* env, const char* msg) { in jniThrowNullPointerException()
247 int jniThrowRuntimeException(C_JNIEnv* env, const char* msg) { in jniThrowRuntimeException()
[all …]