Searched defs:env (Results 1 – 10 of 10) sorted by relevance
/libnativehelper/include/nativehelper/ |
D | JNIHelp.h | 127 inline int jniRegisterNativeMethods(JNIEnv* env, const char* className, const JNINativeMethod* gMet… in jniRegisterNativeMethods() 131 inline int jniThrowException(JNIEnv* env, const char* className, const char* msg) { in jniThrowException() 141 inline int jniThrowExceptionFmt(JNIEnv* env, const char* className, const char* fmt, ...) { in jniThrowExceptionFmt() 148 inline int jniThrowNullPointerException(JNIEnv* env, const char* msg) { in jniThrowNullPointerException() 152 inline int jniThrowRuntimeException(JNIEnv* env, const char* msg) { in jniThrowRuntimeException() 156 inline int jniThrowIOException(JNIEnv* env, int errnum) { in jniThrowIOException() 160 inline jobject jniCreateFileDescriptor(JNIEnv* env, int fd) { in jniCreateFileDescriptor() 164 inline int jniGetFDFromFileDescriptor(JNIEnv* env, jobject fileDescriptor) { in jniGetFDFromFileDescriptor() 168 inline void jniSetFileDescriptorOfFD(JNIEnv* env, jobject fileDescriptor, int value) { in jniSetFileDescriptorOfFD() 172 inline jobject jniGetReferent(JNIEnv* env, jobject ref) { in jniGetReferent()
|
D | ScopedBytes.h | 31 ScopedBytes(JNIEnv* env, jobject object) in ScopedBytes() 66 ScopedBytesRO(JNIEnv* env, jobject object) : ScopedBytes<true>(env, object) {} in ScopedBytesRO() 74 ScopedBytesRW(JNIEnv* env, jobject object) : ScopedBytes<false>(env, object) {} in ScopedBytesRW()
|
D | toStringArray.h | 29 jobjectArray toStringArray(JNIEnv* env, Counter* counter, Getter* getter) { in toStringArray() 49 jobjectArray toStringArray16(JNIEnv* env, Counter* counter, Getter* getter) { in toStringArray16()
|
D | ScopedLocalFrame.h | 24 ScopedLocalFrame(JNIEnv* env) : mEnv(env) { in ScopedLocalFrame()
|
D | ScopedLocalRef.h | 28 ScopedLocalRef(JNIEnv* env, T localRef) : mEnv(env), mLocalRef(localRef) { in ScopedLocalRef()
|
D | ScopedUtfChars.h | 34 ScopedUtfChars(JNIEnv* env, jstring s) : env_(env), string_(s) { in ScopedUtfChars()
|
D | ScopedStringChars.h | 33 ScopedStringChars(JNIEnv* env, jstring s) : env_(env), string_(s), size_(0) { in ScopedStringChars()
|
/libnativehelper/ |
D | JNIHelp.cpp | 38 scoped_local_ref(C_JNIEnv* env, T localRef = NULL) in scoped_local_ref() 67 static jclass findClass(C_JNIEnv* env, const char* className) { in findClass() 72 extern "C" int jniRegisterNativeMethods(C_JNIEnv* env, const char* className, in jniRegisterNativeMethods() 100 static bool getExceptionSummary(C_JNIEnv* env, jthrowable exception, std::string& result) { in getExceptionSummary() 151 static bool getStackTrace(C_JNIEnv* env, jthrowable exception, std::string& result) { in getStackTrace() 209 extern "C" int jniThrowException(C_JNIEnv* env, const char* className, const char* msg) { in jniThrowException() 240 int jniThrowExceptionFmt(C_JNIEnv* env, const char* className, const char* fmt, va_list args) { in jniThrowExceptionFmt() 246 int jniThrowNullPointerException(C_JNIEnv* env, const char* msg) { in jniThrowNullPointerException() 250 int jniThrowRuntimeException(C_JNIEnv* env, const char* msg) { in jniThrowRuntimeException() 254 int jniThrowIOException(C_JNIEnv* env, int errnum) { in jniThrowIOException() [all …]
|
D | toStringArray.cpp | 23 jobjectArray newStringArray(JNIEnv* env, size_t count) { in newStringArray() 42 jobjectArray toStringArray(JNIEnv* env, const std::vector<std::string>& strings) { in toStringArray() 68 jobjectArray toStringArray(JNIEnv* env, const char* const* strings) { in toStringArray()
|
D | JniConstants.cpp | 77 static jclass findClass(JNIEnv* env, const char* name) { in findClass() 87 void JniConstants::init(JNIEnv* env) { in init()
|