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