• Home
  • Raw
  • Download

Lines Matching refs:JniHelper

57 using libtextclassifier3::JniHelper;
135 JniHelper::NewStringUTF(env, classification_result.collection.c_str())); in ClassificationResultWithIntentsToJObject()
141 JniHelper::NewObject( in ClassificationResultWithIntentsToJObject()
152 JniHelper::NewByteArray( in ClassificationResultWithIntentsToJObject()
154 TC3_RETURN_IF_ERROR(JniHelper::SetByteArrayRegion( in ClassificationResultWithIntentsToJObject()
164 JniHelper::NewStringUTF( in ClassificationResultWithIntentsToJObject()
172 JniHelper::NewStringUTF( in ClassificationResultWithIntentsToJObject()
180 JniHelper::NewStringUTF( in ClassificationResultWithIntentsToJObject()
188 JniHelper::NewStringUTF( in ClassificationResultWithIntentsToJObject()
196 JniHelper::NewStringUTF( in ClassificationResultWithIntentsToJObject()
204 JniHelper::NewStringUTF( in ClassificationResultWithIntentsToJObject()
212 JniHelper::NewStringUTF( in ClassificationResultWithIntentsToJObject()
220 JniHelper::NewStringUTF( in ClassificationResultWithIntentsToJObject()
228 JniHelper::NewStringUTF(env, classification_result.contact_id.c_str())); in ClassificationResultWithIntentsToJObject()
235 JniHelper::NewStringUTF(env, classification_result.app_name.c_str())); in ClassificationResultWithIntentsToJObject()
242 JniHelper::NewStringUTF( in ClassificationResultWithIntentsToJObject()
260 JniHelper::NewByteArray( in ClassificationResultWithIntentsToJObject()
262 TC3_RETURN_IF_ERROR(JniHelper::SetByteArrayRegion( in ClassificationResultWithIntentsToJObject()
288 return JniHelper::NewObject( in ClassificationResultWithIntentsToJObject()
311 JniHelper::FindClass(env, TC3_PACKAGE_PATH TC3_ANNOTATOR_CLASS_NAME_STR in ClassificationResultsWithIntentsToJObjectArray()
316 JniHelper::FindClass(env, TC3_PACKAGE_PATH TC3_ANNOTATOR_CLASS_NAME_STR in ClassificationResultsWithIntentsToJObjectArray()
321 JniHelper::GetMethodID( in ClassificationResultsWithIntentsToJObjectArray()
342 JniHelper::GetMethodID(env, datetime_parse_class.get(), in ClassificationResultsWithIntentsToJObjectArray()
347 JniHelper::NewObjectArray(env, classification_result.size(), in ClassificationResultsWithIntentsToJObjectArray()
360 JniHelper::SetObjectArrayElement(env, results.get(), i, result.get())); in ClassificationResultsWithIntentsToJObjectArray()
443 return JniHelper::NewStringUTF(env, ""); in GetLocalesFromMmap()
448 return JniHelper::NewStringUTF(env, ""); in GetLocalesFromMmap()
451 return JniHelper::NewStringUTF(env, model->locales()->c_str()); in GetLocalesFromMmap()
469 return JniHelper::NewStringUTF(env, ""); in GetNameFromMmap()
474 return JniHelper::NewStringUTF(env, ""); in GetNameFromMmap()
476 return JniHelper::NewStringUTF(env, model->name()->c_str()); in GetNameFromMmap()
644 JniHelper::NewIntArray(env, 2)); in TC3_JNI_METHOD()
645 TC3_RETURN_NULL_IF_ERROR(JniHelper::SetIntArrayRegion( in TC3_JNI_METHOD()
647 TC3_RETURN_NULL_IF_ERROR(JniHelper::SetIntArrayRegion( in TC3_JNI_METHOD()
708 JniHelper::FindClass( in TC3_JNI_METHOD()
713 JniHelper::GetMethodID( in TC3_JNI_METHOD()
720 JniHelper::NewObjectArray(env, annotations.size(), result_class.get())); in TC3_JNI_METHOD()
733 JniHelper::NewObject(env, result_class.get(), result_class_constructor, in TC3_JNI_METHOD()
737 if (!JniHelper::SetObjectArrayElement(env, results.get(), i, result.get()) in TC3_JNI_METHOD()
756 JniHelper::GetArrayLength(env, jinput_fragments)); in TC3_JNI_METHOD()
760 JniHelper::GetObjectArrayElement<jobject>(env, jinput_fragments, i)); in TC3_JNI_METHOD()
781 JniHelper::FindClass( in TC3_JNI_METHOD()
786 JniHelper::GetMethodID( in TC3_JNI_METHOD()
794 JniHelper::FindClass( in TC3_JNI_METHOD()
799 JniHelper::GetMethodID( in TC3_JNI_METHOD()
806 JniHelper::FindClass(env, in TC3_JNI_METHOD()
812 JniHelper::NewObjectArray(env, input_size, span_class_array.get())); in TC3_JNI_METHOD()
818 JniHelper::NewObjectArray( in TC3_JNI_METHOD()
835 JniHelper::NewObject(env, span_class.get(), span_class_constructor, in TC3_JNI_METHOD()
840 if (!JniHelper::SetObjectArrayElement(env, jfragmentAnnotations.get(), in TC3_JNI_METHOD()
848 if (!JniHelper::SetObjectArrayElement(env, annotated_spans.get(), in TC3_JNI_METHOD()
863 JniHelper::NewObject(env, annotations_class.get(), in TC3_JNI_METHOD()
888 JniHelper::NewByteArray(env, serialized_knowledge_result.size())); in TC3_JNI_METHOD()
889 TC3_RETURN_NULL_IF_ERROR(JniHelper::SetByteArrayRegion( in TC3_JNI_METHOD()