Home
last modified time | relevance | path

Searched refs:ConversationMessage (Results 1 – 11 of 11) sorted by relevance

/external/libtextclassifier/jni/com/google/android/textclassifier/
DActionsSuggestionsModel.java258 public static final class ConversationMessage { class in ActionsSuggestionsModel
265 public ConversationMessage( in ConversationMessage() method in ActionsSuggestionsModel.ConversationMessage
310 public final ConversationMessage[] conversationMessages;
312 public Conversation(ConversationMessage[] conversationMessages) { in Conversation()
316 public ConversationMessage[] getConversationMessages() { in getConversationMessages()
/external/libtextclassifier/java/src/com/android/textclassifier/
DActionsSuggestionsHelper.java73 public static ActionsSuggestionsModel.ConversationMessage[] toNativeMessages( in toNativeMessages()
81 return new ActionsSuggestionsModel.ConversationMessage[0]; in toNativeMessages()
83 Deque<ActionsSuggestionsModel.ConversationMessage> nativeMessages = new ArrayDeque<>(); in toNativeMessages()
95 new ActionsSuggestionsModel.ConversationMessage( in toNativeMessages()
103 new ActionsSuggestionsModel.ConversationMessage[nativeMessages.size()]); in toNativeMessages()
DTextClassifierImpl.java382 ActionsSuggestionsModel.ConversationMessage[] nativeMessages = in suggestConversationActions()
/external/libtextclassifier/native/actions/
Dtypes.h125 struct ConversationMessage { struct
148 std::vector<ConversationMessage> messages; argument
Dactions_jni.cc273 StatusOr<ConversationMessage> FromJavaConversationMessage(JNIEnv* env, in FromJavaConversationMessage()
326 ConversationMessage message; in FromJavaConversationMessage()
360 std::vector<ConversationMessage> messages; in FromJavaConversation()
367 TC3_ASSIGN_OR_RETURN(ConversationMessage message, in FromJavaConversation()
Dtflite-sensitive-model.cc70 const ConversationMessage& message = conversation.messages[i]; in EvalConversation()
Dactions-suggestions.cc1016 const ConversationMessage& message = conversation.messages[i]; in SuggestActionsFromModel()
1061 const ConversationMessage& message) const { in AnnotationOptionsForMessage()
1104 ConversationMessage* message = in AnnotateConversation()
1136 const ConversationMessage& message = conversation.messages[message_index]; in SuggestActionsFromAnnotations()
1437 for (const ConversationMessage& message : conversation.messages) { in SuggestActions()
Dactions-suggestions.h203 const ConversationMessage& message) const;
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/
DActionsSuggestionsHelperTest.java64 ActionsSuggestionsModel.ConversationMessage[] conversationMessages = in testToNativeMessages_emptyInput()
75 ActionsSuggestionsModel.ConversationMessage[] conversationMessages = in testToNativeMessages_noTextMessages()
96 ActionsSuggestionsModel.ConversationMessage[] conversationMessages = in testToNativeMessages_userIdEncoding()
123 ActionsSuggestionsModel.ConversationMessage[] conversationMessages = in testToNativeMessages_referenceTime()
388 ActionsSuggestionsModel.ConversationMessage nativeMessage, in assertNativeMessage()
/external/libtextclassifier/native/utils/
Dlua-utils.cc631 const std::vector<ConversationMessage>* conversation, in PushConversation()
636 const ConversationMessage& message = conversation->at(index); in PushConversation()
Dlua-utils.h381 const std::vector<ConversationMessage>* conversation,