Home
last modified time | relevance | path

Searched refs:template_handler (Results 1 – 2 of 2) sorted by relevance

/external/libtextclassifier/actions/
Dactions_jni.cc72 std::unique_ptr<RemoteActionTemplatesHandler> template_handler = in Create() local
75 if (intent_generator == nullptr || template_handler == nullptr) { in Create()
81 std::move(template_handler)); in Create()
92 RemoteActionTemplatesHandler* template_handler() const { in template_handler() function in libtextclassifier3::__anon45b9426f0111::ActionsSuggestionsJniContext
101 std::unique_ptr<RemoteActionTemplatesHandler> template_handler) in ActionsSuggestionsJniContext() argument
105 template_handler_(std::move(template_handler)) {} in ActionsSuggestionsJniContext()
149 extras = context->template_handler()->EntityDataAsNamedVariantArray( in ActionSuggestionsToJObjectArray()
172 context->template_handler()->RemoteActionTemplatesToJObjectArray( in ActionSuggestionsToJObjectArray()
/external/libtextclassifier/annotator/
Dannotator_jni.cc77 std::unique_ptr<RemoteActionTemplatesHandler> template_handler = in Create() local
79 if (template_handler == nullptr) { in Create()
84 std::move(template_handler)); in Create()
95 RemoteActionTemplatesHandler* template_handler() const { in template_handler() function in libtextclassifier3::__anond793edf90111::AnnotatorJniContext
104 std::unique_ptr<RemoteActionTemplatesHandler> template_handler) in AnnotatorJniContext() argument
108 template_handler_(std::move(template_handler)) {} in AnnotatorJniContext()
195 extras = model_context->template_handler()->EntityDataAsNamedVariantArray( in ClassificationResultWithIntentsToJObject()
222 model_context->template_handler() in ClassificationResultWithIntentsToJObject()