Home
last modified time | relevance | path

Searched refs:JniCache (Results 1 – 14 of 14) sorted by relevance

/external/libtextclassifier/utils/utf8/
Dunilib-javaicu.h41 explicit UniLib(const std::shared_ptr<JniCache>& jni_cache);
118 RegexMatcher(const JniCache* jni_cache, ScopedGlobalRef<jobject> matcher,
122 const JniCache* jni_cache_;
136 RegexPattern(const JniCache* jni_cache, const UnicodeText& pattern,
140 const JniCache* jni_cache_;
161 BreakIterator(const JniCache* jni_cache, const UnicodeText& text);
163 const JniCache* jni_cache_;
178 std::shared_ptr<JniCache> jni_cache_;
Dunilib-javaicu.cc248 UniLib::UniLib(const std::shared_ptr<JniCache>& jni_cache) in UniLib()
352 UniLib::RegexPattern::RegexPattern(const JniCache* jni_cache, in RegexPattern()
423 UniLib::RegexMatcher::RegexMatcher(const JniCache* jni_cache, in RegexMatcher()
672 UniLib::BreakIterator::BreakIterator(const JniCache* jni_cache, in BreakIterator()
Dunilib_test-include.h27 #define TC3_TESTING_CREATE_UNILIB_INSTANCE(VAR) VAR(JniCache::Create(g_jenv))
/external/libtextclassifier/utils/java/
Djni-cache.cc23 JniCache::JniCache(JavaVM* jvm) in JniCache() function in libtextclassifier3::JniCache
113 std::unique_ptr<JniCache> JniCache::Create(JNIEnv* env) { in Create()
121 std::unique_ptr<JniCache> result(new JniCache(jvm)); in Create()
252 JNIEnv* JniCache::GetEnv() const { in GetEnv()
262 bool JniCache::ExceptionCheckAndClear() const { in ExceptionCheckAndClear()
273 ScopedLocalRef<jstring> JniCache::ConvertToJavaString( in ConvertToJavaString()
294 ScopedLocalRef<jstring> JniCache::ConvertToJavaString( in ConvertToJavaString()
299 ScopedLocalRef<jstring> JniCache::ConvertToJavaString( in ConvertToJavaString()
Djni-cache.h31 struct JniCache { struct
32 static std::unique_ptr<JniCache> Create(JNIEnv* env);
145 explicit JniCache(JavaVM* jvm); argument
/external/libtextclassifier/utils/calendar/
Dcalendar-javaicu.h34 explicit Calendar(JniCache* jni_cache);
59 JniCache* jni_cache_;
67 explicit CalendarLib(const std::shared_ptr<JniCache>& jni_cache);
90 std::shared_ptr<JniCache> jni_cache_;
Dcalendar-javaicu.cc26 bool CalendarAdd(JniCache* jni_cache, JNIEnv* jenv, jobject calendar, in CalendarAdd()
33 bool CalendarGet(JniCache* jni_cache, JNIEnv* jenv, jobject calendar, in CalendarGet()
40 bool CalendarSet(JniCache* jni_cache, JNIEnv* jenv, jobject calendar, in CalendarSet()
58 Calendar::Calendar(JniCache* jni_cache) in Calendar()
158 CalendarLib::CalendarLib(const std::shared_ptr<JniCache>& jni_cache) in CalendarLib()
Dcalendar_test-include.h30 VAR(JniCache::Create(g_jenv))
/external/libtextclassifier/utils/intents/
Djni.h53 const std::shared_ptr<JniCache>& jni_cache);
71 const std::shared_ptr<JniCache>& jni_cache) in RemoteActionTemplatesHandler()
77 std::shared_ptr<JniCache> jni_cache_;
Dintent-generator.h71 const std::shared_ptr<JniCache>& jni_cache);
98 const std::shared_ptr<JniCache>& jni_cache) in IntentGenerator()
107 std::shared_ptr<JniCache> jni_cache_;
Dintent-generator.cc60 JniLuaEnvironment(const Resources& resources, const JniCache* jni_cache,
109 const JniCache* jni_cache_;
127 const JniCache* jni_cache, in JniLuaEnvironment()
704 AnnotatorJniEnvironment(const Resources& resources, const JniCache* jni_cache, in AnnotatorJniEnvironment()
739 const Resources& resources, const JniCache* jni_cache, in ActionsJniLuaEnvironment()
773 const std::shared_ptr<JniCache>& jni_cache) { in Create()
Djni.cc36 const std::shared_ptr<JniCache>& jni_cache) { in Create()
/external/libtextclassifier/actions/
Dactions_jni.cc64 const std::shared_ptr<libtextclassifier3::JniCache>& jni_cache, in Create()
84 std::shared_ptr<libtextclassifier3::JniCache> jni_cache() const { in jni_cache()
98 const std::shared_ptr<libtextclassifier3::JniCache>& jni_cache, in ActionsSuggestionsJniContext()
107 std::shared_ptr<libtextclassifier3::JniCache> jni_cache_;
313 std::shared_ptr<libtextclassifier3::JniCache> jni_cache = in TC3_JNI_METHOD()
314 libtextclassifier3::JniCache::Create(env); in TC3_JNI_METHOD()
336 std::shared_ptr<libtextclassifier3::JniCache> jni_cache = in TC3_JNI_METHOD()
337 libtextclassifier3::JniCache::Create(env); in TC3_JNI_METHOD()
/external/libtextclassifier/annotator/
Dannotator_jni.cc69 const std::shared_ptr<libtextclassifier3::JniCache>& jni_cache, in Create()
87 std::shared_ptr<libtextclassifier3::JniCache> jni_cache() const { in jni_cache()
101 const std::shared_ptr<libtextclassifier3::JniCache>& jni_cache, in AnnotatorJniContext()
110 std::shared_ptr<libtextclassifier3::JniCache> jni_cache_;
407 std::shared_ptr<libtextclassifier3::JniCache> jni_cache( in TC3_JNI_METHOD()
408 libtextclassifier3::JniCache::Create(env)); in TC3_JNI_METHOD()
424 std::shared_ptr<libtextclassifier3::JniCache> jni_cache( in TC3_JNI_METHOD()
425 libtextclassifier3::JniCache::Create(env)); in TC3_JNI_METHOD()
441 std::shared_ptr<libtextclassifier3::JniCache> jni_cache( in TC3_JNI_METHOD()
442 libtextclassifier3::JniCache::Create(env)); in TC3_JNI_METHOD()