Searched refs:MakeGlobalRef (Results 1 – 5 of 5) sorted by relevance
/external/libtextclassifier/utils/java/ |
D | jni-cache.cc | 53 result->FIELD##_class = MakeGlobalRef(env->FindClass(NAME), env, jvm); \ 60 result->FIELD##_class = MakeGlobalRef(clazz, env, jvm); \ 97 MakeGlobalRef(env->GetStaticObjectField(result->CLASS##_class.get(), \ 129 result->string_utf8 = MakeGlobalRef(env->NewStringUTF("UTF-8"), env, jvm); in Create()
|
D | scoped_global_ref.h | 70 ScopedGlobalRef<T> MakeGlobalRef(T object, JNIEnv* env, JavaVM* jvm) { in MakeGlobalRef() function
|
/external/libtextclassifier/utils/utf8/ |
D | unilib-javaicu.cc | 374 pattern_ = MakeGlobalRef(jenv->CallStaticObjectMethod( in LockedInitializeIfNotAlready() 413 jni_cache_, MakeGlobalRef(matcher, env, jni_cache_->jvm), in Matcher() 414 MakeGlobalRef(context_java, env, jni_cache_->jvm))); in Matcher() 681 text_ = MakeGlobalRef(jni_cache_->ConvertToJavaString(text).release(), jenv, in BreakIterator() 687 iterator_ = MakeGlobalRef( in BreakIterator()
|
/external/libtextclassifier/utils/intents/ |
D | intent-generator.cc | 148 MakeGlobalRef(jenv_->NewStringUTF("string"), jenv_, jni_cache_->jvm); in Initialize() 150 MakeGlobalRef(jenv_->NewStringUTF("android"), jenv_, jni_cache_->jvm); in Initialize() 516 MakeGlobalRef(system_resources_ref, jenv_, jni_cache_->jvm); in RetrieveSystemResources() 535 usermanager_ = MakeGlobalRef(usermanager_ref, jenv_, jni_cache_->jvm); in RetrieveUserManager()
|
D | jni.cc | 28 handler->FIELD = MakeGlobalRef(env->FindClass(NAME), env, jni_cache->jvm); \
|