Searched refs:ActionSuggestion (Results 1 – 15 of 15) sorted by relevance
/external/libtextclassifier/actions/ |
D | ranker.cc | 32 void SortByScoreAndType(std::vector<ActionSuggestion>* actions) { in SortByScoreAndType() 34 [](const ActionSuggestion& a, const ActionSuggestion& b) { in SortByScoreAndType() 103 int CompareAnnotationsOnly(const ActionSuggestion& action, in CompareAnnotationsOnly() 104 const ActionSuggestion& other) { in CompareAnnotationsOnly() 119 bool HaveEquivalentAnnotations(const ActionSuggestion& action, in HaveEquivalentAnnotations() 120 const ActionSuggestion& other) { in HaveEquivalentAnnotations() 125 int Compare(const ActionSuggestion& action, const ActionSuggestion& other) { in Compare() 140 bool IsEquivalentActionSuggestion(const ActionSuggestion& action, in IsEquivalentActionSuggestion() 141 const ActionSuggestion& other) { in IsEquivalentActionSuggestion() 146 bool IsAnyActionEquivalent(const ActionSuggestion& action, in IsAnyActionEquivalent() [all …]
|
D | lua-utils.h | 120 const ActionSuggestion& action, 125 ActionSuggestion ReadAction( 131 LuaEnvironment* env, std::vector<ActionSuggestion>* actions); 135 : public LuaEnvironment::ItemIterator<std::vector<ActionSuggestion>> { 143 int Item(const std::vector<ActionSuggestion>* actions, const int64 pos, in Item()
|
D | actions-suggestions.h | 216 const Annotator* annotator, std::vector<ActionSuggestion>* actions) const; 220 std::vector<ActionSuggestion>* actions) const; 229 std::vector<ActionSuggestion>* actions) const; 236 std::vector<ActionSuggestion>* actions) const; 249 std::vector<ActionSuggestion>* actions) const; 251 ActionSuggestion SuggestionFromSpec(
|
D | types.h | 60 struct ActionSuggestion { struct 113 std::vector<ActionSuggestion> actions;
|
D | actions-suggestions.cc | 532 std::vector<ActionSuggestion>* actions) const { in FilterConfidenceOutput() 536 std::vector<ActionSuggestion> filtered_text_replies; in FilterConfidenceOutput() 537 for (const ActionSuggestion& action : *actions) { in FilterConfidenceOutput() 567 ActionSuggestion ActionsSuggestions::SuggestionFromSpec( in SuggestionFromSpec() 572 ActionSuggestion suggestion; in SuggestionFromSpec() 901 std::vector<ActionSuggestion> text_replies; in ReadModelOutput() 935 ActionSuggestion suggestion = in ReadModelOutput() 1027 const Annotator* annotator, std::vector<ActionSuggestion>* actions) const { in SuggestActionsFromAnnotations() 1115 std::vector<ActionSuggestion>* actions) const { in SuggestActionsFromAnnotation() 1123 ActionSuggestion suggestion = SuggestionFromSpec(mapping->action()); in SuggestActionsFromAnnotation() [all …]
|
D | lua-utils.cc | 250 const ActionSuggestion& action, in PushAction() 275 ActionSuggestion ReadAction( in ReadAction() 279 ActionSuggestion action; in ReadAction() 309 LuaEnvironment* env, std::vector<ActionSuggestion>* actions) { in ReadActions()
|
D | lua-actions_test.cc | 43 std::vector<ActionSuggestion> actions; in TEST()
|
D | lua-actions.h | 40 bool SuggestActions(std::vector<ActionSuggestion>* actions);
|
D | lua-ranker.cc | 74 std::vector<ActionSuggestion> ranked_actions; in ReadActionsRanking()
|
D | lua-actions.cc | 140 std::vector<ActionSuggestion>* actions) { in SuggestActions()
|
D | actions_jni.cc | 39 using libtextclassifier3::ActionSuggestion; 123 const std::vector<ActionSuggestion>& action_result, in ActionSuggestionsToJObjectArray()
|
D | actions-suggestions_test.cc | 844 for (const ActionSuggestion action : response.actions) { in TEST_F() 1008 ElementsAre(testing::Field(&ActionSuggestion::type, "share_location"))); in TEST_F() 1020 ElementsAre(testing::Field(&ActionSuggestion::type, "share_contact"))); in TEST_F()
|
/external/libtextclassifier/java/com/google/android/textclassifier/ |
D | ActionsSuggestionsModel.java | 67 public ActionSuggestion[] suggestActions( in suggestActions() 79 public ActionSuggestion[] suggestActionsWithIntents( in suggestActionsWithIntents() 129 public static final class ActionSuggestion { class in ActionsSuggestionsModel 137 public ActionSuggestion( in ActionSuggestion() method in ActionsSuggestionsModel.ActionSuggestion 255 private native ActionSuggestion[] nativeSuggestActions( in nativeSuggestActions()
|
/external/libtextclassifier/utils/intents/ |
D | intent-generator.h | 89 const ActionSuggestion& action,
|
D | intent-generator.cc | 741 const Conversation& conversation, const ActionSuggestion& action, in ActionsJniLuaEnvironment() 763 const ActionSuggestion& action_; 870 const jstring device_locales, const ActionSuggestion& action, in GenerateIntents()
|