Searched defs:env (Results 1 – 10 of 10) sorted by relevance
/libnativehelper/include/nativehelper/ |
D | JNIHelp.h | 122 inline int jniRegisterNativeMethods(JNIEnv* env, const char* className, const JNINativeMethod* gMet… in jniRegisterNativeMethods() 126 inline int jniThrowException(JNIEnv* env, const char* className, const char* msg) { in jniThrowException() 136 inline int jniThrowExceptionFmt(JNIEnv* env, const char* className, const char* fmt, ...) { in jniThrowExceptionFmt() 143 inline int jniThrowNullPointerException(JNIEnv* env, const char* msg) { in jniThrowNullPointerException() 147 inline int jniThrowRuntimeException(JNIEnv* env, const char* msg) { in jniThrowRuntimeException() 151 inline int jniThrowIOException(JNIEnv* env, int errnum) { in jniThrowIOException() 155 inline jobject jniCreateFileDescriptor(JNIEnv* env, int fd) { in jniCreateFileDescriptor() 159 inline int jniGetFDFromFileDescriptor(JNIEnv* env, jobject fileDescriptor) { in jniGetFDFromFileDescriptor() 163 inline void jniSetFileDescriptorOfFD(JNIEnv* env, jobject fileDescriptor, int value) { in jniSetFileDescriptorOfFD() 167 inline jobject jniGetReferent(JNIEnv* env, jobject ref) { in jniGetReferent()
|
D | ScopedBytes.h | 31 ScopedBytes(JNIEnv* env, jobject object) in ScopedBytes() 64 ScopedBytesRO(JNIEnv* env, jobject object) : ScopedBytes<true>(env, object) {} in ScopedBytesRO() 72 ScopedBytesRW(JNIEnv* env, jobject object) : ScopedBytes<false>(env, object) {} in ScopedBytesRW()
|
D | ScopedLocalFrame.h | 24 explicit ScopedLocalFrame(JNIEnv* env) : mEnv(env) { in ScopedLocalFrame()
|
D | toStringArray.h | 29 jobjectArray toStringArray(JNIEnv* env, Counter* counter, Getter* getter) { in toStringArray() 63 inline jobjectArray toStringArray(JNIEnv* env, const std::vector<std::string>& strings) { in toStringArray()
|
D | ScopedLocalRef.h | 29 ScopedLocalRef(JNIEnv* env, T localRef) : mEnv(env), mLocalRef(localRef) { in ScopedLocalRef()
|
D | ScopedStringChars.h | 33 ScopedStringChars(JNIEnv* env, jstring s) : env_(env), string_(s), size_(0) { in ScopedStringChars()
|
D | ScopedUtfChars.h | 34 ScopedUtfChars(JNIEnv* env, jstring s) : env_(env), string_(s) { in ScopedUtfChars()
|
/libnativehelper/ |
D | JNIHelp.cpp | 43 explicit scoped_local_ref(C_JNIEnv* env, T localRef = NULL) in scoped_local_ref() 70 static jclass findClass(C_JNIEnv* env, const char* className) { in findClass() 75 extern "C" int jniRegisterNativeMethods(C_JNIEnv* env, const char* className, in jniRegisterNativeMethods() 117 static bool getExceptionSummary(C_JNIEnv* env, jthrowable exception, std::string& result) { in getExceptionSummary() 168 static bool getStackTrace(C_JNIEnv* env, jthrowable exception, std::string& result) { in getStackTrace() 226 extern "C" int jniThrowException(C_JNIEnv* env, const char* className, const char* msg) { in jniThrowException() 257 int jniThrowExceptionFmt(C_JNIEnv* env, const char* className, const char* fmt, va_list args) { in jniThrowExceptionFmt() 263 int jniThrowNullPointerException(C_JNIEnv* env, const char* msg) { in jniThrowNullPointerException() 267 int jniThrowRuntimeException(C_JNIEnv* env, const char* msg) { in jniThrowRuntimeException() 271 int jniThrowIOException(C_JNIEnv* env, int errnum) { in jniThrowIOException() [all …]
|
D | toStringArray.cpp | 20 jobjectArray newStringArray(JNIEnv* env, size_t count) { in newStringArray() 44 jobjectArray toStringArray(JNIEnv* env, const char* const* strings) { in toStringArray()
|
D | JniConstants.cpp | 72 static jclass findClass(JNIEnv* env, const char* name) { in findClass() 82 void JniConstants::init(JNIEnv* env) { in init()
|