Searched refs:jenv_ (Results 1 – 4 of 4) sorted by relevance
/external/libtextclassifier/native/utils/calendar/ |
D | calendar-javaicu.cc | 66 jenv_(jni_cache_ ? jni_cache->GetEnv() : nullptr), in Calendar() 67 calendar_(nullptr, jenv_) {} in Calendar() 71 if (!jni_cache_ || !jenv_) { in Initialize() 90 JniHelper::NewStringUTF(jenv_, time_zone.c_str())); in Initialize() 93 JniHelper::CallStaticObjectMethod(jenv_, jni_cache_->timezone_class.get(), in Initialize() 102 ScopedLocalRef<jobject> java_locale(nullptr, jenv_); in Initialize() 106 JniHelper::NewStringUTF(jenv_, locale.c_str())); in Initialize() 110 JniHelper::CallStaticObjectMethod(jenv_, jni_cache_->locale_class.get(), in Initialize() 117 JniHelper::NewStringUTF(jenv_, GetFirstBcp47Tag(locale).c_str())); in Initialize() 120 java_locale, JniHelper::NewObject(jenv_, jni_cache_->locale_class.get(), in Initialize() [all …]
|
D | calendar-javaicu.h | 61 JNIEnv* jenv_; variable
|
/external/libtextclassifier/native/utils/intents/ |
D | jni-lua.cc | 51 jenv_(jni_cache ? jni_cache->GetEnv() : nullptr), in JniLuaEnvironment() 68 JniHelper::NewStringUTF(jenv_, "string")); in PreallocateConstantJniStrings() 69 string_ = MakeGlobalRef(string_value.get(), jenv_, jni_cache_->jvm); in PreallocateConstantJniStrings() 71 JniHelper::NewStringUTF(jenv_, "android")); in PreallocateConstantJniStrings() 72 android_ = MakeGlobalRef(android_value.get(), jenv_, jni_cache_->jvm); in PreallocateConstantJniStrings() 157 jenv_, context_, jni_cache_->context_get_package_name); in HandleAndroidCallback() 165 jenv_, status_or_package_name_str.ValueOrDie().get()); in HandleAndroidCallback() 207 jenv_, usermanager_.get(), in HandleUserRestrictionsCallback() 229 jenv_, status_or_bundle.ValueOrDie().get(), in HandleUserRestrictionsCallback() 257 jenv_, jni_cache_->uri_class.get(), jni_cache_->uri_encode, in HandleUrlEncode() [all …]
|
D | jni-lua.h | 84 JNIEnv* jenv_; variable
|