Lines Matching refs:jni_cache
69 const std::shared_ptr<libtextclassifier3::JniCache>& jni_cache, in Create() argument
71 if (jni_cache == nullptr || model == nullptr) { in Create()
76 model->model()->resources(), jni_cache); in Create()
78 libtextclassifier3::RemoteActionTemplatesHandler::Create(jni_cache); in Create()
82 return new AnnotatorJniContext(jni_cache, std::move(model), in Create()
87 std::shared_ptr<libtextclassifier3::JniCache> jni_cache() const { in jni_cache() function in libtextclassifier3::__anond793edf90111::AnnotatorJniContext
101 const std::shared_ptr<libtextclassifier3::JniCache>& jni_cache, in AnnotatorJniContext() argument
105 : jni_cache_(jni_cache), in AnnotatorJniContext()
407 std::shared_ptr<libtextclassifier3::JniCache> jni_cache( in TC3_JNI_METHOD() local
411 jni_cache, in TC3_JNI_METHOD()
413 fd, std::unique_ptr<UniLib>(new UniLib(jni_cache)), in TC3_JNI_METHOD()
414 std::unique_ptr<CalendarLib>(new CalendarLib(jni_cache))))); in TC3_JNI_METHOD()
417 jni_cache, Annotator::FromFileDescriptor(fd))); in TC3_JNI_METHOD()
424 std::shared_ptr<libtextclassifier3::JniCache> jni_cache( in TC3_JNI_METHOD() local
428 jni_cache, in TC3_JNI_METHOD()
430 path_str, std::unique_ptr<UniLib>(new UniLib(jni_cache)), in TC3_JNI_METHOD()
431 std::unique_ptr<CalendarLib>(new CalendarLib(jni_cache))))); in TC3_JNI_METHOD()
434 AnnotatorJniContext::Create(jni_cache, Annotator::FromPath(path_str))); in TC3_JNI_METHOD()
441 std::shared_ptr<libtextclassifier3::JniCache> jni_cache( in TC3_JNI_METHOD() local
446 jni_cache, in TC3_JNI_METHOD()
448 fd, offset, size, std::unique_ptr<UniLib>(new UniLib(jni_cache)), in TC3_JNI_METHOD()
449 std::unique_ptr<CalendarLib>(new CalendarLib(jni_cache))))); in TC3_JNI_METHOD()
452 jni_cache, Annotator::FromFileDescriptor(fd, offset, size))); in TC3_JNI_METHOD()