Home
last modified time | relevance | path

Searched refs:RemoteActionTemplate (Results 1 – 17 of 17) 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/native/utils/intents/
Djni-lua.h46 std::vector<RemoteActionTemplate>* remote_actions);
66 RemoteActionTemplate ReadRemoteActionTemplateResult() const;
81 int ReadRemoteActionTemplates(std::vector<RemoteActionTemplate>* result);
Dintent-generator.h58 std::vector<RemoteActionTemplate>* remote_actions) const;
68 std::vector<RemoteActionTemplate>* remote_actions) const;
Djni.h37 #define TC3_REMOTE_ACTION_TEMPLATE_CLASS_NAME RemoteActionTemplate
74 const std::vector<RemoteActionTemplate>& remote_actions) const;
Dremote-action-template.h30 struct RemoteActionTemplate { struct
Dintent-generator.cc178 std::vector<RemoteActionTemplate>* remote_actions) const { in GenerateIntents()
213 std::vector<RemoteActionTemplate>* remote_actions) const { in GenerateIntents()
Djni-lua.cc510 RemoteActionTemplate JniLuaEnvironment::ReadRemoteActionTemplateResult() const { in ReadRemoteActionTemplateResult()
511 RemoteActionTemplate result; in ReadRemoteActionTemplateResult()
611 std::vector<RemoteActionTemplate>* result) { in ReadRemoteActionTemplates()
637 std::vector<RemoteActionTemplate>* remote_actions) { in RunIntentGenerator()
Dintent-generator-test-lib.cc139 std::vector<RemoteActionTemplate> intents; in TEST_F()
161 std::vector<RemoteActionTemplate> intents; in TEST_F()
187 std::vector<RemoteActionTemplate> intents; in TEST_F()
Djni.cc289 const std::vector<RemoteActionTemplate>& remote_actions) const { in RemoteActionTemplatesToJObjectArray()
297 const RemoteActionTemplate& remote_action = remote_actions[i]; in RemoteActionTemplatesToJObjectArray()
/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.java202 @Nullable private final RemoteActionTemplate[] remoteActionTemplates;
211 @Nullable RemoteActionTemplate[] remoteActionTemplates, in ActionSuggestion()
247 public RemoteActionTemplate[] getRemoteActionTemplates() { in getRemoteActionTemplates()
DAnnotatorModel.java352 @Nullable private final RemoteActionTemplate[] remoteActionTemplates;
375 @Nullable RemoteActionTemplate[] remoteActionTemplates, in ClassificationResult()
488 public RemoteActionTemplate[] getRemoteActionTemplates() { in getRemoteActionTemplates()
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/
DActionsSuggestionsHelperTest.java42 import com.google.android.textclassifier.RemoteActionTemplate;
249 new RemoteActionTemplate[0], in createLabeledIntentResult_emptyList()
270 new RemoteActionTemplate[] { in createLabeledIntentResult()
271 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.cc203 std::vector<RemoteActionTemplate> remote_action_templates; in ActionSuggestionsToJObject()
/external/libtextclassifier/native/annotator/
Dannotator_jni.cc273 std::vector<RemoteActionTemplate> remote_action_templates; in ClassificationResultWithIntentsToJObject()