Home
last modified time | relevance | path

Searched refs:serialized_knowledge_result (Results 1 – 5 of 5) sorted by relevance

/external/libtextclassifier/annotator/
Dannotator_jni.cc134 jbyteArray serialized_knowledge_result = nullptr; in ClassificationResultWithIntentsToJObject() local
136 classification_result.serialized_knowledge_result; in ClassificationResultWithIntentsToJObject()
138 serialized_knowledge_result = in ClassificationResultWithIntentsToJObject()
140 env->SetByteArrayRegion(serialized_knowledge_result, 0, in ClassificationResultWithIntentsToJObject()
230 serialized_knowledge_result, contact_name, contact_given_name, in ClassificationResultWithIntentsToJObject()
623 std::string serialized_knowledge_result; in TC3_JNI_METHOD() local
624 if (!model->LookUpKnowledgeEntity(id_utf8, &serialized_knowledge_result)) { in TC3_JNI_METHOD()
627 jbyteArray result = env->NewByteArray(serialized_knowledge_result.size()); in TC3_JNI_METHOD()
629 result, 0, serialized_knowledge_result.size(), in TC3_JNI_METHOD()
630 reinterpret_cast<const jbyte*>(serialized_knowledge_result.data())); in TC3_JNI_METHOD()
Dtypes.h213 std::string serialized_knowledge_result; member
Dannotator.h256 std::string* serialized_knowledge_result) const;
Dannotator.cc2370 const std::string& id, std::string* serialized_knowledge_result) const { in LookUpKnowledgeEntity()
2372 knowledge_engine_->LookUpEntity(id, serialized_knowledge_result); in LookUpKnowledgeEntity()
/external/libtextclassifier/annotator/knowledge/
Dknowledge-engine-dummy.h45 std::string* serialized_knowledge_result) const { in LookUpEntity() argument