/external/libtextclassifier/native/utils/utf8/ |
D | unilib-javaicu.cc | 38 UniLibBase::UniLibBase(const std::shared_ptr<JniCache>& jni_cache) in UniLibBase() argument 39 : jni_cache_(jni_cache) {} in UniLibBase() 144 UniLibBase::RegexPattern::RegexPattern(const JniCache* jni_cache, in RegexPattern() argument 146 : jni_cache_(jni_cache), in RegexPattern() 147 pattern_(nullptr, jni_cache ? jni_cache->jvm : nullptr), in RegexPattern() 222 UniLibBase::RegexMatcher::RegexMatcher(const JniCache* jni_cache, in RegexMatcher() argument 225 : jni_cache_(jni_cache), in RegexMatcher() 474 UniLibBase::BreakIterator::BreakIterator(const JniCache* jni_cache, in BreakIterator() argument 476 : jni_cache_(jni_cache), in BreakIterator() 477 text_(nullptr, jni_cache ? jni_cache->jvm : nullptr), in BreakIterator() [all …]
|
D | unilib-javaicu.h | 42 explicit UniLibBase(const std::shared_ptr<JniCache>& jni_cache); 125 RegexMatcher(const JniCache* jni_cache, ScopedGlobalRef<jobject> matcher, 143 RegexPattern(const JniCache* jni_cache, const UnicodeText& pattern, 168 BreakIterator(const JniCache* jni_cache, const UnicodeText& text);
|
/external/libtextclassifier/native/utils/calendar/ |
D | calendar-javaicu.cc | 28 bool CalendarAdd(JniCache* jni_cache, JNIEnv* jenv, jobject calendar, in CalendarAdd() argument 30 return JniHelper::CallVoidMethod(jenv, calendar, jni_cache->calendar_add, in CalendarAdd() 36 bool CalendarGet(JniCache* jni_cache, JNIEnv* jenv, jobject calendar, in CalendarGet() argument 40 JniHelper::CallIntMethod(jenv, calendar, jni_cache->calendar_get, field)); in CalendarGet() 45 bool CalendarSet(JniCache* jni_cache, JNIEnv* jenv, jobject calendar, in CalendarSet() argument 47 return JniHelper::CallVoidMethod(jenv, calendar, jni_cache->calendar_set, in CalendarSet() 64 Calendar::Calendar(JniCache* jni_cache) in Calendar() argument 65 : jni_cache_(jni_cache), in Calendar() 66 jenv_(jni_cache_ ? jni_cache->GetEnv() : nullptr), in Calendar() 176 CalendarLib::CalendarLib(const std::shared_ptr<JniCache>& jni_cache) in CalendarLib() argument [all …]
|
D | calendar-javaicu.h | 35 explicit Calendar(JniCache* jni_cache); 68 explicit CalendarLib(const std::shared_ptr<JniCache>& jni_cache);
|
/external/libtextclassifier/native/actions/ |
D | actions_jni.cc | 69 const std::shared_ptr<libtextclassifier3::JniCache>& jni_cache, in Create() argument 71 if (jni_cache == nullptr || model == nullptr) { in Create() 76 model->model()->resources(), jni_cache); in Create() 78 libtextclassifier3::RemoteActionTemplatesHandler::Create(jni_cache); in Create() 84 return new ActionsSuggestionsJniContext(jni_cache, std::move(model), in Create() 89 std::shared_ptr<libtextclassifier3::JniCache> jni_cache() const { in jni_cache() function in libtextclassifier3::__anon16d418470111::ActionsSuggestionsJniContext 103 const std::shared_ptr<libtextclassifier3::JniCache>& jni_cache, in ActionsSuggestionsJniContext() argument 107 : jni_cache_(jni_cache), in ActionsSuggestionsJniContext() 192 context->jni_cache()->ConvertToJavaString( in ActionSuggestionsToJObjectArray() 359 std::shared_ptr<libtextclassifier3::JniCache> jni_cache = in TC3_JNI_METHOD() local [all …]
|
/external/libtextclassifier/native/utils/intents/ |
D | jni.h | 55 const std::shared_ptr<JniCache>& jni_cache); 81 const std::shared_ptr<JniCache>& jni_cache) in RemoteActionTemplatesHandler() argument 82 : jni_cache_(jni_cache), in RemoteActionTemplatesHandler() 83 integer_class_(nullptr, jni_cache->jvm), in RemoteActionTemplatesHandler() 84 remote_action_template_class_(nullptr, jni_cache->jvm), in RemoteActionTemplatesHandler() 85 named_variant_class_(nullptr, jni_cache->jvm) {} in RemoteActionTemplatesHandler()
|
D | intent-generator.cc | 61 JniLuaEnvironment(const Resources& resources, const JniCache* jni_cache, 125 const JniCache* jni_cache, in JniLuaEnvironment() argument 129 jenv_(jni_cache ? jni_cache->GetEnv() : nullptr), in JniLuaEnvironment() 130 jni_cache_(jni_cache), in JniLuaEnvironment() 134 /*jvm=*/(jni_cache ? jni_cache->jvm : nullptr)), in JniLuaEnvironment() 137 /*jvm=*/(jni_cache ? jni_cache->jvm : nullptr)), in JniLuaEnvironment() 140 /*jvm=*/(jni_cache ? jni_cache->jvm : nullptr)), in JniLuaEnvironment() 142 /*jvm=*/(jni_cache ? jni_cache->jvm : nullptr)) {} in JniLuaEnvironment() 744 AnnotatorJniEnvironment(const Resources& resources, const JniCache* jni_cache, in AnnotatorJniEnvironment() argument 751 : JniLuaEnvironment(resources, jni_cache, context, device_locales), in AnnotatorJniEnvironment() [all …]
|
D | intent-generator.h | 29 const std::shared_ptr<JniCache>& jni_cache); 56 const std::shared_ptr<JniCache>& jni_cache) in IntentGenerator() argument 59 jni_cache_(jni_cache) {} in IntentGenerator()
|
D | jni.cc | 35 env, jni_cache->jvm); \ 44 const std::shared_ptr<JniCache>& jni_cache) { in Create() argument 45 JNIEnv* env = jni_cache->GetEnv(); in Create() 51 new RemoteActionTemplatesHandler(jni_cache)); in Create()
|
/external/libtextclassifier/native/annotator/ |
D | annotator_jni.cc | 75 const std::shared_ptr<libtextclassifier3::JniCache>& jni_cache, in Create() argument 77 if (jni_cache == nullptr || model == nullptr) { in Create() 83 model->model()->resources(), jni_cache); in Create() 85 libtextclassifier3::RemoteActionTemplatesHandler::Create(jni_cache); in Create() 90 return new AnnotatorJniContext(jni_cache, std::move(model), in Create() 95 std::shared_ptr<libtextclassifier3::JniCache> jni_cache() const { in jni_cache() function in libtextclassifier3::__anonc355efd10111::AnnotatorJniContext 111 const std::shared_ptr<libtextclassifier3::JniCache>& jni_cache, in AnnotatorJniContext() argument 115 : jni_cache_(jni_cache), in AnnotatorJniContext() 463 std::shared_ptr<libtextclassifier3::JniCache> jni_cache( in TC3_JNI_METHOD() local 467 jni_cache, in TC3_JNI_METHOD() [all …]
|