Home
last modified time | relevance | path

Searched refs:get (Results 1 – 9 of 9) sorted by relevance

/libnativehelper/
DJNIHelp.cpp57 T get() const { in get() function in scoped_local_ref
81 if (c.get() == NULL) { in jniRegisterNativeMethods()
87 if ((*env)->RegisterNatives(e, c.get(), gMethods, numMethods) < 0) { in jniRegisterNativeMethods()
107 (*env)->GetObjectClass(e, exceptionClass.get())); // java.lang.Class, can't fail in getExceptionSummary()
109 (*env)->GetMethodID(e, classClass.get(), "getName", "()Ljava/lang/String;"); in getExceptionSummary()
111 (jstring) (*env)->CallObjectMethod(e, exceptionClass.get(), classGetNameMethod)); in getExceptionSummary()
112 if (classNameStr.get() == NULL) { in getExceptionSummary()
117 const char* classNameChars = (*env)->GetStringUTFChars(e, classNameStr.get(), NULL); in getExceptionSummary()
124 (*env)->ReleaseStringUTFChars(e, classNameStr.get(), classNameChars); in getExceptionSummary()
128 (*env)->GetMethodID(e, exceptionClass.get(), "getMessage", "()Ljava/lang/String;"); in getExceptionSummary()
[all …]
DJniConstants.cpp83 jclass result = reinterpret_cast<jclass>(env->NewGlobalRef(localClass.get())); in findClass()
/libnativehelper/include/nativehelper/
DScopedBytes.h65 const jbyte* get() const { in get() function
73 jbyte* get() { in get() function
DScopedPrimitiveArray.h48 const PRIMITIVE_TYPE* get() const { return mRawArray; } \
96 const PRIMITIVE_TYPE* get() const { return mRawArray; } \
99 PRIMITIVE_TYPE* get() { return mRawArray; } \
DScopedFd.h35 int get() const { in get() function
DScopedLocalRef.h51 T get() const { in get() function
DScopedStringChars.h51 const jchar* get() const { in get() function
DUniquePtr.h64 T* get() const { return mPtr; }
110 T* get() const { return mPtr; }
DtoStringArray.h40 env->SetObjectArrayElement(result, i, s.get()); in toStringArray()