• Home
  • Raw
  • Download

Lines Matching refs:JniHelper

132   auto status_or_action_class = JniHelper::FindClass(  in ActionSuggestionsToJObject()
142 auto status_or_result_class = JniHelper::FindClass( in ActionSuggestionsToJObject()
152 auto status_or_slot_class = JniHelper::FindClass( in ActionSuggestionsToJObject()
163 JniHelper::GetMethodID( in ActionSuggestionsToJObject()
170 JniHelper::GetMethodID(env, slot_class.get(), "<init>", in ActionSuggestionsToJObject()
174 JniHelper::NewObjectArray(env, action_response.actions.size(), in ActionSuggestionsToJObject()
192 JniHelper::NewByteArray( in ActionSuggestionsToJObject()
194 TC3_RETURN_IF_ERROR(JniHelper::SetByteArrayRegion( in ActionSuggestionsToJObject()
223 JniHelper::NewStringUTF(env, action_response.actions[i].type.c_str())); in ActionSuggestionsToJObject()
228 JniHelper::NewObjectArray( in ActionSuggestionsToJObject()
234 JniHelper::NewStringUTF(env, slot_c.type.c_str())); in ActionSuggestionsToJObject()
238 JniHelper::NewObject( in ActionSuggestionsToJObject()
244 JniHelper::SetObjectArrayElement(env, slots.get(), j, slot.get())); in ActionSuggestionsToJObject()
250 JniHelper::NewObject( in ActionSuggestionsToJObject()
257 JniHelper::SetObjectArrayElement(env, actions.get(), i, action.get())); in ActionSuggestionsToJObject()
263 JniHelper::GetMethodID(env, result_class.get(), "<init>", in ActionSuggestionsToJObject()
268 JniHelper::NewObject(env, result_class.get(), result_class_constructor, in ActionSuggestionsToJObject()
281 JniHelper::FindClass(env, TC3_PACKAGE_PATH TC3_ACTIONS_CLASS_NAME_STR in FromJavaConversationMessage()
286 JniHelper::GetMethodID(env, message_class.get(), "getText", in FromJavaConversationMessage()
290 JniHelper::CallObjectMethod<jstring>(env, jmessage, get_text_method)); in FromJavaConversationMessage()
295 JniHelper::GetMethodID(env, message_class.get(), "getUserId", "()I")); in FromJavaConversationMessage()
296 TC3_ASSIGN_OR_RETURN(int32 user_id, JniHelper::CallIntMethod( in FromJavaConversationMessage()
301 JniHelper::GetMethodID(env, message_class.get(), in FromJavaConversationMessage()
305 JniHelper::CallLongMethod(env, jmessage, get_reference_time_method)); in FromJavaConversationMessage()
310 JniHelper::GetMethodID(env, message_class.get(), "getReferenceTimezone", in FromJavaConversationMessage()
313 JniHelper::CallObjectMethod<jstring>( in FromJavaConversationMessage()
318 JniHelper::GetMethodID(env, message_class.get(), in FromJavaConversationMessage()
323 JniHelper::CallObjectMethod<jstring>( in FromJavaConversationMessage()
346 JniHelper::FindClass( in FromJavaConversation()
351 JniHelper::GetMethodID(env, conversation_class.get(), in FromJavaConversation()
357 JniHelper::CallObjectMethod<jobjectArray>( in FromJavaConversation()
362 JniHelper::GetArrayLength(env, jmessages.get())); in FromJavaConversation()
366 JniHelper::GetObjectArrayElement<jobject>(env, jmessages.get(), i)); in FromJavaConversation()
379 return JniHelper::NewStringUTF(env, ""); in GetLocalesFromMmap()
384 return JniHelper::NewStringUTF(env, ""); in GetLocalesFromMmap()
386 return JniHelper::NewStringUTF(env, model->locales()->c_str()); in GetLocalesFromMmap()
404 return JniHelper::NewStringUTF(env, ""); in GetNameFromMmap()
409 return JniHelper::NewStringUTF(env, ""); in GetNameFromMmap()
411 return JniHelper::NewStringUTF(env, model->name()->c_str()); in GetNameFromMmap()