/external/libtextclassifier/utils/calendar/ |
calendar-javaicu.cc | 59 : jni_cache_(jni_cache), 60 jenv_(jni_cache_ ? jni_cache->GetEnv() : nullptr) {} 64 if (!jni_cache_ || !jenv_) { 70 if (jni_cache_->calendar_sunday != 72 jni_cache_->calendar_monday != 74 jni_cache_->calendar_tuesday != 76 jni_cache_->calendar_wednesday != 78 jni_cache_->calendar_thursday != 80 jni_cache_->calendar_friday != 82 jni_cache_->calendar_saturday ! [all...] |
calendar-javaicu.h | 59 JniCache* jni_cache_; member in class:libtextclassifier3::Calendar 76 Calendar calendar(jni_cache_.get()); 90 std::shared_ptr<JniCache> jni_cache_; member in class:libtextclassifier3::CalendarLib
|
/external/libtextclassifier/utils/utf8/ |
unilib-javaicu.cc | 249 : jni_cache_(jni_cache) {} 324 if (jni_cache_) { 325 JNIEnv* env = jni_cache_->GetEnv(); 327 jni_cache_->ConvertToJavaString(text); 328 jint res = env->CallStaticIntMethod(jni_cache_->integer_class.get(), 329 jni_cache_->integer_parse_int, 331 if (jni_cache_->ExceptionCheckAndClear()) { 343 new UniLib::RegexPattern(jni_cache_.get(), regex, /*lazy=*/false)); 349 new UniLib::RegexPattern(jni_cache_.get(), regex, /*lazy=*/true)); 354 : jni_cache_(jni_cache) [all...] |
unilib-javaicu.h | 112 GetScopedStringChars(jni_cache_->GetEnv(), text_.get()); 122 const JniCache* jni_cache_; member in class:libtextclassifier3::UniLib::RegexMatcher 140 const JniCache* jni_cache_; member in class:libtextclassifier3::UniLib::RegexPattern 163 const JniCache* jni_cache_; member in class:libtextclassifier3::UniLib::BreakIterator 178 std::shared_ptr<JniCache> jni_cache_; member in class:libtextclassifier3::UniLib
|
/external/libtextclassifier/utils/intents/ |
jni.cc | 81 return jni_cache_->ConvertToJavaString(optional.value()).release(); 87 ? jni_cache_->GetEnv()->NewObject(integer_class_.get(), 97 jobjectArray result = jni_cache_->GetEnv()->NewObjectArray( 98 values.size(), jni_cache_->string_class.get(), nullptr); 104 jni_cache_->ConvertToJavaString(values[k]); 105 jni_cache_->GetEnv()->SetObjectArrayElement(result, k, value_str.get()); 112 ScopedLocalRef<jstring> name = jni_cache_->ConvertToJavaString(name_str); 118 return jni_cache_->GetEnv()->NewObject(named_variant_class_.get(), 122 return jni_cache_->GetEnv()->NewObject(named_variant_class_.get(), 126 return jni_cache_->GetEnv()->NewObject(named_variant_class_.get() [all...] |
intent-generator.cc | 109 const JniCache* jni_cache_; member in class:libtextclassifier3::__anon29429::JniLuaEnvironment 132 jni_cache_(jni_cache), 148 MakeGlobalRef(jenv_->NewStringUTF("string"), jenv_, jni_cache_->jvm); 150 MakeGlobalRef(jenv_->NewStringUTF("android"), jenv_, jni_cache_->jvm); 232 context_, jni_cache_->context_get_package_name))); 233 if (jni_cache_->ExceptionCheckAndClear()) { 257 if (jni_cache_->usermanager_class == nullptr || 258 jni_cache_->usermanager_get_user_restrictions == nullptr) { 274 usermanager_.get(), jni_cache_->usermanager_get_user_restrictions)); 275 if (jni_cache_->ExceptionCheckAndClear() || bundle == nullptr) [all...] |
intent-generator.h | 101 jni_cache_(jni_cache) {} 107 std::shared_ptr<JniCache> jni_cache_; member in class:libtextclassifier3::IntentGenerator
|
jni.h | 72 : jni_cache_(jni_cache), 77 std::shared_ptr<JniCache> jni_cache_; member in class:libtextclassifier3::RemoteActionTemplatesHandler
|
/external/libtextclassifier/actions/ |
actions_jni.cc | 85 return jni_cache_; 102 : jni_cache_(jni_cache), 107 std::shared_ptr<libtextclassifier3::JniCache> jni_cache_; member in class:libtextclassifier3::__anon29366::ActionsSuggestionsJniContext
|
/external/libtextclassifier/annotator/ |
annotator_jni.cc | 88 return jni_cache_; 105 : jni_cache_(jni_cache), 110 std::shared_ptr<libtextclassifier3::JniCache> jni_cache_; member in class:libtextclassifier3::__anon29387::AnnotatorJniContext
|