Home
last modified time | relevance | path

Searched refs:jenv_ (Results 1 – 3 of 3) sorted by relevance

/external/libtextclassifier/utils/calendar/
Dcalendar-javaicu.cc60 jenv_(jni_cache_ ? jni_cache->GetEnv() : nullptr) {} in Calendar()
64 if (!jni_cache_ || !jenv_) { in Initialize()
90 jenv_->NewStringUTF(time_zone.c_str())); in Initialize()
91 ScopedLocalRef<jobject> java_time_zone(jenv_->CallStaticObjectMethod( in Initialize()
104 jenv_->NewStringUTF(locale.c_str())); in Initialize()
105 java_locale.reset(jenv_->CallStaticObjectMethod( in Initialize()
111 jenv_->NewStringUTF(GetFirstBcp47Tag(locale).c_str())); in Initialize()
112 java_locale.reset(jenv_->NewObject(jni_cache_->locale_class.get(), in Initialize()
122 calendar_.reset(jenv_->CallStaticObjectMethod( in Initialize()
131 jenv_->CallVoidMethod(calendar_.get(), in Initialize()
[all …]
Dcalendar-javaicu.h60 JNIEnv* jenv_; variable
/external/libtextclassifier/utils/intents/
Dintent-generator.cc108 JNIEnv* jenv_; member in libtextclassifier3::__anone605cdd80111::JniLuaEnvironment
131 jenv_(jni_cache ? jni_cache->GetEnv() : nullptr), in JniLuaEnvironment()
148 MakeGlobalRef(jenv_->NewStringUTF("string"), jenv_, jni_cache_->jvm); in Initialize()
150 MakeGlobalRef(jenv_->NewStringUTF("android"), jenv_, jni_cache_->jvm); in Initialize()
231 static_cast<jstring>(jenv_->CallObjectMethod( in HandleAndroidCallback()
238 PushString(ToStlString(jenv_, package_name_str.get())); in HandleAndroidCallback()
273 ScopedLocalRef<jobject> bundle(jenv_->CallObjectMethod( in HandleUserRestrictionsCallback()
294 const bool permission = jenv_->CallBooleanMethod( in HandleUserRestrictionsCallback()
321 static_cast<jstring>(jenv_->CallStaticObjectMethod( in HandleUrlEncode()
329 PushString(ToStlString(jenv_, encoded_str.get())); in HandleUrlEncode()
[all …]