Searched refs:serialized_knowledge_result (Results 1 – 5 of 5) sorted by relevance
/external/libtextclassifier/annotator/ |
D | annotator_jni.cc | 134 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()
|
D | types.h | 213 std::string serialized_knowledge_result; member
|
D | annotator.h | 256 std::string* serialized_knowledge_result) const;
|
D | annotator.cc | 2370 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/ |
D | knowledge-engine-dummy.h | 45 std::string* serialized_knowledge_result) const { in LookUpEntity() argument
|