Home
last modified time | relevance | path

Searched defs:JniCache (Results 1 – 4 of 4) sorted by relevance

/external/libtextclassifier/native/utils/java/
Djni-cache.h32 struct JniCache { struct
38 JavaVM* jvm = nullptr;
41 ScopedGlobalRef<jclass> string_class;
42 jmethodID string_init_bytes_charset = nullptr;
43 jmethodID string_code_point_count = nullptr;
44 jmethodID string_length = nullptr;
45 ScopedGlobalRef<jstring> string_utf8;
48 ScopedGlobalRef<jclass> pattern_class;
49 jmethodID pattern_compile = nullptr;
50 jmethodID pattern_matcher = nullptr;
[all …]
Djni-cache.cc26 JniCache::JniCache(JavaVM* jvm) in JniCache() function in libtextclassifier3::JniCache
/external/icing/icing/jni/
Djni-cache.h39 struct JniCache { struct
52 JavaVM* jvm = nullptr;
55 libtextclassifier3::ScopedGlobalRef<jclass> string_class;
56 jmethodID string_constructor = nullptr;
57 jmethodID string_code_point_count = nullptr;
58 jmethodID string_length = nullptr;
82 explicit JniCache(JavaVM* jvm); argument
Djni-cache.cc28 JniCache::JniCache(JavaVM* jvm) in JniCache() function in icing::lib::JniCache