Lines Matching defs:jni_cache
64 const std::shared_ptr<libtextclassifier3::JniCache>& jni_cache,
66 if (jni_cache == nullptr || model == nullptr) {
71 model->model()->resources(), jni_cache);
73 libtextclassifier3::RemoteActionTemplatesHandler::Create(jni_cache);
79 return new ActionsSuggestionsJniContext(jni_cache, std::move(model),
84 std::shared_ptr<libtextclassifier3::JniCache> jni_cache() const {
98 const std::shared_ptr<libtextclassifier3::JniCache>& jni_cache,
102 : jni_cache_(jni_cache),
177 ScopedLocalRef<jstring> reply = context->jni_cache()->ConvertToJavaString(
313 std::shared_ptr<libtextclassifier3::JniCache> jni_cache =
324 jni_cache,
326 fd, std::unique_ptr<UniLib>(new UniLib(jni_cache)), preconditions)));
329 jni_cache, ActionsSuggestions::FromFileDescriptor(fd, /*unilib=*/nullptr,
336 std::shared_ptr<libtextclassifier3::JniCache> jni_cache =
348 jni_cache, ActionsSuggestions::FromPath(
349 path_str, std::unique_ptr<UniLib>(new UniLib(jni_cache)),
353 jni_cache, ActionsSuggestions::FromPath(path_str, /*unilib=*/nullptr,