Home
last modified time | relevance | path

Searched refs:RemoteActionTemplate (Results 1 – 14 of 14) sorted by relevance

/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/common/intent/
DTemplateIntentFactoryTest.java27 import com.google.android.textclassifier.RemoteActionTemplate;
80 RemoteActionTemplate remoteActionTemplate = in create_full()
81 new RemoteActionTemplate( in create_full()
96 templateIntentFactory.create(new RemoteActionTemplate[] {remoteActionTemplate}); in create_full()
122 RemoteActionTemplate remoteActionTemplate = in normalizesScheme()
123 new RemoteActionTemplate( in normalizesScheme()
138 templateIntentFactory.create(new RemoteActionTemplate[] {remoteActionTemplate}); in normalizesScheme()
146 RemoteActionTemplate remoteActionTemplate = in create_minimal()
147 new RemoteActionTemplate( in create_minimal()
162 templateIntentFactory.create(new RemoteActionTemplate[] {remoteActionTemplate}); in create_minimal()
[all …]
/external/libtextclassifier/java/src/com/android/textclassifier/common/intent/
DTemplateIntentFactory.java26 import com.google.android.textclassifier.RemoteActionTemplate;
36 @Nullable RemoteActionTemplate[] remoteActionTemplates) { in create()
41 for (RemoteActionTemplate remoteActionTemplate : remoteActionTemplates) { in create()
60 private static boolean isValidTemplate(@Nullable RemoteActionTemplate remoteActionTemplate) { in isValidTemplate()
85 private static Intent createIntent(RemoteActionTemplate remoteActionTemplate) { in createIntent()
/external/libtextclassifier/jni/com/google/android/textclassifier/
DRemoteActionTemplate.java24 public final class RemoteActionTemplate { class
65 public RemoteActionTemplate( in RemoteActionTemplate() method in RemoteActionTemplate
DActionsSuggestionsModel.java135 private final RemoteActionTemplate[] remoteActionTemplates;
143 RemoteActionTemplate[] remoteActionTemplates) { in ActionSuggestion()
173 public RemoteActionTemplate[] getRemoteActionTemplates() { in getRemoteActionTemplates()
DAnnotatorModel.java277 private final RemoteActionTemplate[] remoteActionTemplates;
298 RemoteActionTemplate[] remoteActionTemplates, in ClassificationResult()
385 public RemoteActionTemplate[] getRemoteActionTemplates() { in getRemoteActionTemplates()
/external/libtextclassifier/native/utils/intents/
Dintent-generator.h41 std::vector<RemoteActionTemplate>* remote_actions) const;
51 std::vector<RemoteActionTemplate>* remote_actions) const;
Dintent-generator.cc69 std::vector<RemoteActionTemplate>* remote_actions);
88 RemoteActionTemplate ReadRemoteActionTemplateResult() const;
103 int ReadRemoteActionTemplates(std::vector<RemoteActionTemplate>* result);
582 RemoteActionTemplate JniLuaEnvironment::ReadRemoteActionTemplateResult() const { in ReadRemoteActionTemplateResult()
583 RemoteActionTemplate result; in ReadRemoteActionTemplateResult()
683 std::vector<RemoteActionTemplate>* result) { in ReadRemoteActionTemplates()
709 std::vector<RemoteActionTemplate>* remote_actions) { in RunIntentGenerator()
878 std::vector<RemoteActionTemplate>* remote_actions) const { in GenerateIntents()
913 std::vector<RemoteActionTemplate>* remote_actions) const { in GenerateIntents()
Djni.h36 #define TC3_REMOTE_ACTION_TEMPLATE_CLASS_NAME RemoteActionTemplate
73 const std::vector<RemoteActionTemplate>& remote_actions) const;
Dremote-action-template.h30 struct RemoteActionTemplate { struct
Djni.cc287 const std::vector<RemoteActionTemplate>& remote_actions) const { in RemoteActionTemplatesToJObjectArray()
295 const RemoteActionTemplate& remote_action = remote_actions[i]; in RemoteActionTemplatesToJObjectArray()
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/
DActionsSuggestionsHelperTest.java39 import com.google.android.textclassifier.RemoteActionTemplate;
246 new RemoteActionTemplate[0]); in createLabeledIntentResult_emptyList()
266 new RemoteActionTemplate[] { in createLabeledIntentResult()
267 new RemoteActionTemplate( in createLabeledIntentResult()
/external/libtextclassifier/java/src/com/android/textclassifier/
DActionsSuggestionsHelper.java36 import com.google.android.textclassifier.RemoteActionTemplate;
128 RemoteActionTemplate[] remoteActionTemplates = nativeSuggestion.getRemoteActionTemplates(); in createLabeledIntentResult()
/external/libtextclassifier/native/actions/
Dactions_jni.cc178 std::vector<RemoteActionTemplate> remote_action_templates; in ActionSuggestionsToJObjectArray()
/external/libtextclassifier/native/annotator/
Dannotator_jni.cc256 std::vector<RemoteActionTemplate> remote_action_templates; in ClassificationResultWithIntentsToJObject()