Home
last modified time | relevance | path

Searched refs:remoteActionTemplate (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/view/textclassifier/intent/
DTemplateIntentFactory.java54 for (RemoteActionTemplate remoteActionTemplate : remoteActionTemplates) { in create()
55 if (!isValidTemplate(remoteActionTemplate)) { in create()
61 remoteActionTemplate.titleWithoutEntity, in create()
62 remoteActionTemplate.titleWithEntity, in create()
63 remoteActionTemplate.description, in create()
64 remoteActionTemplate.descriptionWithAppName, in create()
65 createIntent(remoteActionTemplate), in create()
66 remoteActionTemplate.requestCode == null in create()
68 : remoteActionTemplate.requestCode)); in create()
73 private static boolean isValidTemplate(@Nullable RemoteActionTemplate remoteActionTemplate) { in isValidTemplate() argument
[all …]
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/intent/
DTemplateIntentFactoryTest.java73 RemoteActionTemplate remoteActionTemplate = new RemoteActionTemplate( in create_full() local
89 mTemplateIntentFactory.create(new RemoteActionTemplate[]{remoteActionTemplate}); in create_full()
111 RemoteActionTemplate remoteActionTemplate = new RemoteActionTemplate( in normalizesScheme() local
127 mTemplateIntentFactory.create(new RemoteActionTemplate[] {remoteActionTemplate}); in normalizesScheme()
135 RemoteActionTemplate remoteActionTemplate = new RemoteActionTemplate( in create_minimal() local
151 mTemplateIntentFactory.create(new RemoteActionTemplate[]{remoteActionTemplate}); in create_minimal()
171 RemoteActionTemplate remoteActionTemplate = null; in invalidTemplate_nullTemplate() local
174 mTemplateIntentFactory.create(new RemoteActionTemplate[] {remoteActionTemplate}); in invalidTemplate_nullTemplate()
181 RemoteActionTemplate remoteActionTemplate = new RemoteActionTemplate( in invalidTemplate_nonEmptyPackageName() local
197 mTemplateIntentFactory.create(new RemoteActionTemplate[] {remoteActionTemplate}); in invalidTemplate_nonEmptyPackageName()
[all …]