Home
last modified time | relevance | path

Searched refs:ActionSuggestion (Results 1 – 25 of 25) sorted by relevance

/external/libtextclassifier/native/actions/
Dranker.cc36 void SortByScoreAndType(std::vector<ActionSuggestion>* actions) { in SortByScoreAndType()
38 [](const ActionSuggestion& a, const ActionSuggestion& b) { in SortByScoreAndType()
107 int CompareAnnotationsOnly(const ActionSuggestion& action, in CompareAnnotationsOnly()
108 const ActionSuggestion& other) { in CompareAnnotationsOnly()
123 bool HaveEquivalentAnnotations(const ActionSuggestion& action, in HaveEquivalentAnnotations()
124 const ActionSuggestion& other) { in HaveEquivalentAnnotations()
129 int Compare(const ActionSuggestion& action, const ActionSuggestion& other) { in Compare()
144 bool IsEquivalentActionSuggestion(const ActionSuggestion& action, in IsEquivalentActionSuggestion()
145 const ActionSuggestion& other) { in IsEquivalentActionSuggestion()
150 bool IsAnyActionEquivalent(const ActionSuggestion& action, in IsAnyActionEquivalent()
[all …]
Dgrammar-actions_test.cc167 std::vector<ActionSuggestion> result; in TEST_F()
215 std::vector<ActionSuggestion> result; in TEST_F()
224 std::vector<ActionSuggestion> result; in TEST_F()
262 std::vector<ActionSuggestion> result; in TEST_F()
312 std::vector<ActionSuggestion> result; in TEST_F()
325 std::vector<ActionSuggestion> result; in TEST_F()
378 std::vector<ActionSuggestion> result; in TEST_F()
428 std::vector<ActionSuggestion> result; in TEST_F()
508 std::vector<ActionSuggestion> result; in TEST_F()
565 std::vector<ActionSuggestion> result; in TEST_F()
[all …]
Dregex-actions.cc159 std::vector<ActionSuggestion>* actions) const { in FilterConfidenceOutput()
163 std::vector<ActionSuggestion> filtered_text_replies; in FilterConfidenceOutput()
164 for (const ActionSuggestion& action : *actions) { in FilterConfidenceOutput()
196 std::vector<ActionSuggestion>* actions) const { in SuggestActions()
254 ActionSuggestion suggestion; in SuggestActions()
Dgrammar-actions.h45 std::vector<ActionSuggestion>* result) const;
52 std::vector<ActionSuggestion>* result) const;
Dutils.h38 ActionSuggestion* suggestion);
45 std::vector<ActionSuggestion>* actions);
Dactions-suggestions.h175 ActionSuggestion* suggestion) const;
199 std::vector<ActionSuggestion>* actions) const;
207 std::vector<ActionSuggestion>* actions) const;
211 std::vector<ActionSuggestion>* actions) const;
228 std::vector<ActionSuggestion>* actions) const;
Dutils.cc32 ActionSuggestion* suggestion) { in FillSuggestionFromSpec()
63 std::vector<ActionSuggestion>* actions) { in SuggestTextRepliesFromCapturingMatch()
65 ActionSuggestion suggestion; in SuggestTextRepliesFromCapturingMatch()
Dgrammar-actions.cc42 std::vector<ActionSuggestion>* result) const { in InstantiateActionsFromMatch()
119 ActionSuggestion suggestion; in InstantiateActionsFromMatch()
130 std::vector<ActionSuggestion>* result) const { in SuggestActions()
Dtypes.h67 struct ActionSuggestion { struct
121 std::vector<ActionSuggestion> actions;
Dregex-actions.h53 std::vector<ActionSuggestion>* actions) const;
59 std::vector<ActionSuggestion>* actions) const;
Dactions-suggestions.cc832 const ActionSuggestionSpec* spec, ActionSuggestion* suggestion) const { in FillSuggestionFromSpecWithEntityData()
861 ActionSuggestion suggestion; in PopulateIntentTriggering()
934 ActionSuggestion suggestion; in ReadModelOutput()
1050 std::vector<ActionSuggestion>* actions) const { in SuggestActionsFromConversationIntentDetection()
1052 std::vector<ActionSuggestion> new_actions, in SuggestActionsFromConversationIntentDetection()
1117 std::vector<ActionSuggestion>* actions) const { in SuggestActionsFromAnnotations()
1201 std::vector<ActionSuggestion>* actions) const { in SuggestActionsFromAnnotation()
1232 ActionSuggestion suggestion; in SuggestActionsFromAnnotation()
1275 std::vector<ActionSuggestion>* actions) const { in SuggestActionsFromLua()
1294 std::vector<ActionSuggestion>* actions) const { in SuggestActionsFromLua()
Dlua-actions_test.cc38 std::vector<ActionSuggestion> actions; in TEST()
Dlua-actions.h39 bool SuggestActions(std::vector<ActionSuggestion>* actions);
Dlua-ranker.cc75 std::vector<ActionSuggestion> ranked_actions; in ReadActionsRanking()
Dlua-actions.cc144 std::vector<ActionSuggestion>* actions) { in SuggestActions()
Dactions-suggestions_test.cc1190 for (const ActionSuggestion& action : response.actions) { in TEST_F()
1357 ElementsAre(testing::Field(&ActionSuggestion::type, "share_location"))); in TEST_F()
1369 ElementsAre(testing::Field(&ActionSuggestion::type, "share_contact"))); in TEST_F()
/external/libtextclassifier/jni/com/google/android/textclassifier/
DActionsSuggestionsModel.java185 public final ActionSuggestion[] actionSuggestions;
189 public ActionSuggestions(ActionSuggestion[] actionSuggestions, boolean isSensitive) { in ActionSuggestions()
196 public static final class ActionSuggestion { class in ActionsSuggestionsModel
205 public ActionSuggestion( in ActionSuggestion() method in ActionsSuggestionsModel.ActionSuggestion
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/
DActionsSuggestionsHelperTest.java227 ActionsSuggestionsModel.ActionSuggestion nativeSuggestion = in createLabeledIntentResult_null()
228 new ActionsSuggestionsModel.ActionSuggestion( in createLabeledIntentResult_null()
242 ActionsSuggestionsModel.ActionSuggestion nativeSuggestion = in createLabeledIntentResult_emptyList()
243 new ActionsSuggestionsModel.ActionSuggestion( in createLabeledIntentResult_emptyList()
263 ActionsSuggestionsModel.ActionSuggestion nativeSuggestion = in createLabeledIntentResult()
264 new ActionsSuggestionsModel.ActionSuggestion( in createLabeledIntentResult()
/external/libtextclassifier/native/utils/intents/
Dintent-generator.cc81 const Conversation& conversation, const ActionSuggestion& action, in ActionsJniLuaEnvironment()
102 const ActionSuggestion& action_;
209 const jstring device_locales, const ActionSuggestion& action, in GenerateIntents()
Dintent-generator.h64 const ActionSuggestion& action,
/external/libtextclassifier/native/actions/conversation_intent_detection/
Dconversation-intent-detection-dummy.h36 StatusOr<std::vector<ActionSuggestion>> SuggestActions(
/external/libtextclassifier/native/utils/
Dlua-utils.cc541 const ActionSuggestion& action, in PushAction()
566 const std::vector<ActionSuggestion>* actions, in PushActions()
578 ActionSuggestion LuaEnvironment::ReadAction( in ReadAction()
581 ActionSuggestion action; in ReadAction()
611 std::vector<ActionSuggestion>* actions) const { in ReadActions()
Dlua-utils.h362 const ActionSuggestion& action,
367 const std::vector<ActionSuggestion>* actions,
371 ActionSuggestion ReadAction(
377 std::vector<ActionSuggestion>* actions) const;
/external/libtextclassifier/java/src/com/android/textclassifier/
DActionsSuggestionsHelper.java127 ActionsSuggestionsModel.ActionSuggestion nativeSuggestion) { in createLabeledIntentResult()
DTextClassifierImpl.java411 for (ActionsSuggestionsModel.ActionSuggestion nativeSuggestion : in createConversationActionResult()