Searched refs:get (Results 1 – 7 of 7) sorted by relevance
/libnativehelper/ |
D | JNIHelp.cpp | 50 T get() const { in get() function in scoped_local_ref 74 ALOG_ALWAYS_FATAL_IF(c.get() == NULL, in jniRegisterNativeMethods() 78 int result = e->RegisterNatives(c.get(), gMethods, numMethods); in jniRegisterNativeMethods() 96 (*env)->GetObjectClass(e, exceptionClass.get())); // java.lang.Class, can't fail in getExceptionSummary() 98 (*env)->GetMethodID(e, classClass.get(), "getName", "()Ljava/lang/String;"); in getExceptionSummary() 100 (jstring) (*env)->CallObjectMethod(e, exceptionClass.get(), classGetNameMethod)); in getExceptionSummary() 101 if (classNameStr.get() == NULL) { in getExceptionSummary() 106 const char* classNameChars = (*env)->GetStringUTFChars(e, classNameStr.get(), NULL); in getExceptionSummary() 113 (*env)->ReleaseStringUTFChars(e, classNameStr.get(), classNameChars); in getExceptionSummary() 117 (*env)->GetMethodID(e, exceptionClass.get(), "getMessage", "()Ljava/lang/String;"); in getExceptionSummary() [all …]
|
D | JniConstants.cpp | 87 ALOG_ALWAYS_FATAL_IF(klass.get() == nullptr, "failed to find class '%s'", name); in FindClass() 88 return reinterpret_cast<jclass>(env->NewGlobalRef(klass.get())); in FindClass()
|
/libnativehelper/header_only_include/nativehelper/ |
D | scoped_bytes.h | 70 const jbyte* get() const { in get() function 78 jbyte* get() { in get() function
|
D | scoped_primitive_array.h | 70 const PRIMITIVE_TYPE* get() const { return mRawArray; } \ 121 const PRIMITIVE_TYPE* get() const { return mRawArray; } \ 124 POINTER_TYPE(PRIMITIVE_TYPE) get() { return mRawArray; } \
|
D | scoped_string_chars.h | 52 const jchar* get() const { in get() function
|
D | scoped_local_ref.h | 57 T get() const { in get() function
|
/libnativehelper/include/nativehelper/ |
D | toStringArray.h | 47 env->SetObjectArrayElement(result, i, s.get()); in toStringArray()
|