• Home
  • Raw
  • Download

Lines Matching refs:env

43 int jniRegisterNativeMethods(C_JNIEnv* env, const char* className, const JNINativeMethod* gMethods,…
59 int jniThrowException(C_JNIEnv* env, const char* className, const char* msg);
64 int jniThrowNullPointerException(C_JNIEnv* env, const char* msg);
69 int jniThrowRuntimeException(C_JNIEnv* env, const char* msg);
74 int jniThrowIOException(C_JNIEnv* env, int errnum);
87 jobject jniCreateFileDescriptor(C_JNIEnv* env, int fd);
92 int jniGetFDFromFileDescriptor(C_JNIEnv* env, jobject fileDescriptor);
97 void jniSetFileDescriptorOfFD(C_JNIEnv* env, jobject fileDescriptor, int value);
103 void jniLogException(C_JNIEnv* env, int priority, const char* tag, jthrowable exception);
115 inline int jniRegisterNativeMethods(JNIEnv* env, const char* className, const JNINativeMethod* gMet… in jniRegisterNativeMethods() argument
116 return jniRegisterNativeMethods(&env->functions, className, gMethods, numMethods); in jniRegisterNativeMethods()
119 inline int jniThrowException(JNIEnv* env, const char* className, const char* msg) { in jniThrowException() argument
120 return jniThrowException(&env->functions, className, msg); in jniThrowException()
123 extern "C" int jniThrowExceptionFmt(C_JNIEnv* env, const char* className, const char* fmt, va_list …
129 inline int jniThrowExceptionFmt(JNIEnv* env, const char* className, const char* fmt, ...) { in jniThrowExceptionFmt() argument
132 return jniThrowExceptionFmt(&env->functions, className, fmt, args); in jniThrowExceptionFmt()
136 inline int jniThrowNullPointerException(JNIEnv* env, const char* msg) { in jniThrowNullPointerException() argument
137 return jniThrowNullPointerException(&env->functions, msg); in jniThrowNullPointerException()
140 inline int jniThrowRuntimeException(JNIEnv* env, const char* msg) { in jniThrowRuntimeException() argument
141 return jniThrowRuntimeException(&env->functions, msg); in jniThrowRuntimeException()
144 inline int jniThrowIOException(JNIEnv* env, int errnum) { in jniThrowIOException() argument
145 return jniThrowIOException(&env->functions, errnum); in jniThrowIOException()
148 inline jobject jniCreateFileDescriptor(JNIEnv* env, int fd) { in jniCreateFileDescriptor() argument
149 return jniCreateFileDescriptor(&env->functions, fd); in jniCreateFileDescriptor()
152 inline int jniGetFDFromFileDescriptor(JNIEnv* env, jobject fileDescriptor) { in jniGetFDFromFileDescriptor() argument
153 return jniGetFDFromFileDescriptor(&env->functions, fileDescriptor); in jniGetFDFromFileDescriptor()
156 inline void jniSetFileDescriptorOfFD(JNIEnv* env, jobject fileDescriptor, int value) { in jniSetFileDescriptorOfFD() argument
157 jniSetFileDescriptorOfFD(&env->functions, fileDescriptor, value); in jniSetFileDescriptorOfFD()
160 inline void jniLogException(JNIEnv* env, int priority, const char* tag, jthrowable exception = NULL…
161 jniLogException(&env->functions, priority, tag, exception);
170 #define LOG_EX(env, priority, tag, ...) \ argument
171 IF_ALOG(priority, tag) jniLogException(env, ANDROID_##priority, tag, ##__VA_ARGS__)
172 #define LOGV_EX(env, ...) LOG_EX(env, LOG_VERBOSE, LOG_TAG, ##__VA_ARGS__) argument
173 #define LOGD_EX(env, ...) LOG_EX(env, LOG_DEBUG, LOG_TAG, ##__VA_ARGS__) argument
174 #define LOGI_EX(env, ...) LOG_EX(env, LOG_INFO, LOG_TAG, ##__VA_ARGS__) argument
175 #define LOGW_EX(env, ...) LOG_EX(env, LOG_WARN, LOG_TAG, ##__VA_ARGS__) argument
176 #define LOGE_EX(env, ...) LOG_EX(env, LOG_ERROR, LOG_TAG, ##__VA_ARGS__) argument