Home
last modified time | relevance | path

Searched refs:MakeGlobalRef (Results 1 – 5 of 5) sorted by relevance

/external/libtextclassifier/utils/java/
Djni-cache.cc53 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()
Dscoped_global_ref.h70 ScopedGlobalRef<T> MakeGlobalRef(T object, JNIEnv* env, JavaVM* jvm) { in MakeGlobalRef() function
/external/libtextclassifier/utils/utf8/
Dunilib-javaicu.cc374 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/
Dintent-generator.cc148 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()
Djni.cc28 handler->FIELD = MakeGlobalRef(env->FindClass(NAME), env, jni_cache->jvm); \