/external/libtextclassifier/native/utils/utf8/ |
D | unilib-javaicu.h | 42 explicit UniLibBase(const std::shared_ptr<JniCache>& jni_cache); 131 RegexMatcher(const JniCache* jni_cache, ScopedGlobalRef<jobject> matcher, 135 const JniCache* jni_cache_; 149 RegexPattern(const JniCache* jni_cache, const UnicodeText& pattern, 153 const JniCache* jni_cache_; 174 BreakIterator(const JniCache* jni_cache, const UnicodeText& text); 176 const JniCache* jni_cache_; 194 std::shared_ptr<JniCache> jni_cache_;
|
D | unilib-javaicu.cc | 37 UniLibBase::UniLibBase(const std::shared_ptr<JniCache>& jni_cache) in UniLibBase() 151 UniLibBase::RegexPattern::RegexPattern(const JniCache* jni_cache, in RegexPattern() 229 UniLibBase::RegexMatcher::RegexMatcher(const JniCache* jni_cache, in RegexMatcher() 481 UniLibBase::BreakIterator::BreakIterator(const JniCache* jni_cache, in BreakIterator()
|
/external/icing/icing/jni/ |
D | jni-cache.cc | 28 JniCache::JniCache(JavaVM* jvm) in JniCache() function in icing::lib::JniCache 127 libtextclassifier3::StatusOr<std::unique_ptr<JniCache>> JniCache::Create( in Create() 136 std::unique_ptr<JniCache> result(new JniCache(jvm)); in Create() 182 JNIEnv* JniCache::GetEnv() const { in GetEnv() 192 bool JniCache::ExceptionCheckAndClear() const { in ExceptionCheckAndClear() 197 JniCache::ConvertToJavaString(const char* utf8_text, in ConvertToJavaString()
|
D | jni-cache.h | 22 class JniCache {}; // Declare an empty class definition for non-Android builds. 39 struct JniCache { struct 40 static libtextclassifier3::StatusOr<std::unique_ptr<JniCache>> Create( 82 explicit JniCache(JavaVM* jvm); argument
|
D | icing-search-engine-jni.cc | 100 std::unique_ptr<const icing::lib::JniCache> jni_cache; in Java_com_google_android_icing_IcingSearchEngine_nativeCreate() 102 ICING_ASSIGN_OR_RETURN(jni_cache, icing::lib::JniCache::Create(env), 0); in Java_com_google_android_icing_IcingSearchEngine_nativeCreate()
|
/external/libtextclassifier/native/utils/java/ |
D | jni-cache.cc | 26 JniCache::JniCache(JavaVM* jvm) in JniCache() function in libtextclassifier3::JniCache 131 std::unique_ptr<JniCache> JniCache::Create(JNIEnv* env) { in Create() 139 std::unique_ptr<JniCache> result(new JniCache(jvm)); in Create() 270 JNIEnv* JniCache::GetEnv() const { in GetEnv() 280 bool JniCache::ExceptionCheckAndClear() const { in ExceptionCheckAndClear() 284 StatusOr<ScopedLocalRef<jstring>> JniCache::ConvertToJavaString( in ConvertToJavaString() 304 StatusOr<ScopedLocalRef<jstring>> JniCache::ConvertToJavaString( in ConvertToJavaString() 309 StatusOr<ScopedLocalRef<jstring>> JniCache::ConvertToJavaString( in ConvertToJavaString()
|
D | jni-cache.h | 32 struct JniCache { struct 33 static std::unique_ptr<JniCache> Create(JNIEnv* env); 145 explicit JniCache(JavaVM* jvm); argument
|
/external/libtextclassifier/native/utils/calendar/ |
D | calendar-javaicu.h | 35 explicit Calendar(JniCache* jni_cache); 60 JniCache* jni_cache_; 68 explicit CalendarLib(const std::shared_ptr<JniCache>& jni_cache); 93 std::shared_ptr<JniCache> jni_cache_;
|
D | calendar-javaicu.cc | 28 bool CalendarAdd(JniCache* jni_cache, JNIEnv* jenv, jobject calendar, in CalendarAdd() 36 bool CalendarGet(JniCache* jni_cache, JNIEnv* jenv, jobject calendar, in CalendarGet() 45 bool CalendarSet(JniCache* jni_cache, JNIEnv* jenv, jobject calendar, in CalendarSet() 64 Calendar::Calendar(JniCache* jni_cache) in Calendar() 176 CalendarLib::CalendarLib(const std::shared_ptr<JniCache>& jni_cache) in CalendarLib()
|
/external/icing/icing/tokenization/reverse_jni/ |
D | reverse-jni-break-iterator.h | 56 Create(const JniCache* jni_cache, std::string_view text, 90 const JniCache* jni_cache, 102 const JniCache* jni_cache_;
|
D | reverse-jni-language-segmenter.h | 33 ReverseJniLanguageSegmenter(std::string locale, const JniCache* jni_cache) in ReverseJniLanguageSegmenter() 45 const JniCache* jni_cache_; // does not own!
|
D | reverse-jni-break-iterator.cc | 43 ReverseJniBreakIterator::Create(const JniCache* jni_cache, in Create() 98 const JniCache* jni_cache, in ReverseJniBreakIterator()
|
/external/libtextclassifier/native/utils/intents/ |
D | intent-generator.h | 46 const std::shared_ptr<JniCache>& jni_cache); 73 const std::shared_ptr<JniCache>& jni_cache) in IntentGenerator() 82 std::shared_ptr<JniCache> jni_cache_;
|
D | jni.h | 56 const std::shared_ptr<JniCache>& jni_cache); 82 const std::shared_ptr<JniCache>& jni_cache) in RemoteActionTemplatesHandler() 88 std::shared_ptr<JniCache> jni_cache_;
|
D | jni-lua.h | 38 JniLuaEnvironment(const Resources& resources, const JniCache* jni_cache, 85 const JniCache* jni_cache_;
|
D | intent-generator.cc | 44 AnnotatorJniEnvironment(const Resources& resources, const JniCache* jni_cache, in AnnotatorJniEnvironment() 79 const Resources& resources, const JniCache* jni_cache, in ActionsJniLuaEnvironment() 111 const std::shared_ptr<JniCache>& jni_cache) { in Create()
|
D | intent-generator-test-lib.cc | 120 : jni_cache_(JniCache::Create(GetJenv())), in IntentGeneratorTest() 125 const std::shared_ptr<JniCache> jni_cache_;
|
D | jni.cc | 45 const std::shared_ptr<JniCache>& jni_cache) { in Create()
|
/external/icing/icing/testing/ |
D | jni-test-helpers.h | 28 #define ICING_TEST_JNI_CACHE JniCache::Create(g_jenv).ValueOrDie() 39 std::unique_ptr<JniCache> GetTestJniCache() { return ICING_TEST_JNI_CACHE; } in GetTestJniCache()
|
/external/icing/icing/tokenization/ |
D | language-segmenter-factory.h | 33 const JniCache* jni_cache = nullptr) 39 const JniCache* jni_cache;
|
D | language-segmenter-iterator_test.cc | 48 std::unique_ptr<const JniCache> jni_cache_ = GetTestJniCache();
|
/external/libtextclassifier/native/utils/ |
D | jvm-test-utils.h | 34 return std::make_unique<UniLib>(JniCache::Create(g_jenv)); in CreateUniLibForTesting() 42 return std::make_unique<CalendarLib>(JniCache::Create(g_jenv)); in CreateCalendarLibForTesting()
|
/external/libtextclassifier/native/actions/ |
D | actions_jni.cc | 68 const std::shared_ptr<libtextclassifier3::JniCache>& jni_cache, in Create() 89 std::shared_ptr<libtextclassifier3::JniCache> jni_cache() const { in jni_cache() 103 const std::shared_ptr<libtextclassifier3::JniCache>& jni_cache, in ActionsSuggestionsJniContext() 112 std::shared_ptr<libtextclassifier3::JniCache> jni_cache_; 424 std::shared_ptr<libtextclassifier3::JniCache> jni_cache = in TC3_JNI_METHOD() 425 libtextclassifier3::JniCache::Create(env); in TC3_JNI_METHOD() 449 std::shared_ptr<libtextclassifier3::JniCache> jni_cache = in TC3_JNI_METHOD() 450 libtextclassifier3::JniCache::Create(env); in TC3_JNI_METHOD() 475 std::shared_ptr<libtextclassifier3::JniCache> jni_cache = in TC3_JNI_METHOD() 476 libtextclassifier3::JniCache::Create(env); in TC3_JNI_METHOD()
|
/external/icing/icing/ |
D | icing-search-engine.h | 61 std::unique_ptr<const JniCache> jni_cache = nullptr); 412 std::unique_ptr<const JniCache> jni_cache = nullptr); 453 const std::unique_ptr<const JniCache> jni_cache_;
|
/external/libtextclassifier/native/annotator/ |
D | annotator_jni.cc | 77 const std::shared_ptr<libtextclassifier3::JniCache>& jni_cache, in Create() 95 std::shared_ptr<libtextclassifier3::JniCache> jni_cache() const { in jni_cache() 111 const std::shared_ptr<libtextclassifier3::JniCache>& jni_cache, in AnnotatorJniContext() 120 std::shared_ptr<libtextclassifier3::JniCache> jni_cache_; 495 std::shared_ptr<libtextclassifier3::JniCache> jni_cache( in TC3_JNI_METHOD() 496 libtextclassifier3::JniCache::Create(env)); in TC3_JNI_METHOD() 513 std::shared_ptr<libtextclassifier3::JniCache> jni_cache( in TC3_JNI_METHOD() 514 libtextclassifier3::JniCache::Create(env)); in TC3_JNI_METHOD() 529 std::shared_ptr<libtextclassifier3::JniCache> jni_cache( in TC3_JNI_METHOD() 530 libtextclassifier3::JniCache::Create(env)); in TC3_JNI_METHOD()
|