Home
last modified time | relevance | path

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

12

/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/common/intent/
DTemplateIntentFactoryTest.java95 List<LabeledIntent> intents = in create_full() local
98 assertThat(intents).hasSize(1); in create_full()
99 LabeledIntent labeledIntent = intents.get(0); in create_full()
137 List<LabeledIntent> intents = in normalizesScheme() local
140 String data = intents.get(0).intent.getData().toString(); in normalizesScheme()
161 List<LabeledIntent> intents = in create_minimal() local
164 assertThat(intents).hasSize(1); in create_minimal()
165 LabeledIntent labeledIntent = intents.get(0); in create_minimal()
183 List<LabeledIntent> intents = in invalidTemplate_nullTemplate() local
186 assertThat(intents).isEmpty(); in invalidTemplate_nullTemplate()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowPendingIntentTest.java72 Intent[] intents = {new Intent(Intent.ACTION_VIEW), new Intent(Intent.ACTION_PICK)}; in getActivities_shouldCreateIntentForBroadcast() local
73 PendingIntent pendingIntent = PendingIntent.getActivities(context, 99, intents, 100); in getActivities_shouldCreateIntentForBroadcast()
76 assertThat(shadow.getSavedIntents()).isEqualTo(intents); in getActivities_shouldCreateIntentForBroadcast()
81 assertThat(application.getNextStartedActivity()).isEqualTo(intents[1]); in getActivities_shouldCreateIntentForBroadcast()
82 assertThat(application.getNextStartedActivity()).isEqualTo(intents[0]); in getActivities_shouldCreateIntentForBroadcast()
87 Intent[] intents = {new Intent(Intent.ACTION_VIEW), new Intent(Intent.ACTION_PICK)}; in getActivities_withBundle_shouldCreateIntentForBroadcast() local
89 PendingIntent.getActivities(context, 99, intents, 100, Bundle.EMPTY); in getActivities_withBundle_shouldCreateIntentForBroadcast()
92 assertThat(shadow.getSavedIntents()).isEqualTo(intents); in getActivities_withBundle_shouldCreateIntentForBroadcast()
97 assertThat(application.getNextStartedActivity()).isEqualTo(intents[1]); in getActivities_withBundle_shouldCreateIntentForBroadcast()
98 assertThat(application.getNextStartedActivity()).isEqualTo(intents[0]); in getActivities_withBundle_shouldCreateIntentForBroadcast()
[all …]
/external/libtextclassifier/native/utils/intents/
Dintent-generator-test-lib.cc139 std::vector<RemoteActionTemplate> intents; in TEST_F() local
144 /*annotations_entity_data_schema=*/nullptr, &intents)); in TEST_F()
145 EXPECT_THAT(intents, IsEmpty()); in TEST_F()
161 std::vector<RemoteActionTemplate> intents; in TEST_F() local
166 /*annotations_entity_data_schema=*/nullptr, &intents)); in TEST_F()
167 EXPECT_THAT(intents, IsEmpty()); in TEST_F()
187 std::vector<RemoteActionTemplate> intents; in TEST_F() local
193 /*annotations_entity_data_schema=*/nullptr, &intents)); in TEST_F()
194 EXPECT_THAT(intents, SizeIs(1)); in TEST_F()
195 EXPECT_EQ(intents[0].title_without_entity.value(), "Map"); in TEST_F()
[all …]
Dintent-config.fbs77 // Describes how intents for the various entity types should be generated on
86 // Describes how intents should be generated for a particular entity type.
93 // List of generators for all the different types of intents that should
179 // Describes how intents should be generated for a particular entity type.
193 // Describes how intents for the various entity types should be generated.
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowPendingIntent.java76 Context context, int requestCode, @NonNull Intent[] intents, int flags) { in getActivities() argument
77 return create(context, intents, Type.ACTIVITY, requestCode, flags); in getActivities()
82 Context context, int requestCode, @NonNull Intent[] intents, int flags, Bundle options) { in getActivities() argument
83 return create(context, intents, Type.ACTIVITY, requestCode, flags); in getActivities()
342 private static PendingIntent create(Context context, Intent[] intents, Type type, int requestCode, in create() argument
344 Objects.requireNonNull(intents, "intents may not be null"); in create()
347 PendingIntent pendingIntent = getCreatedIntentFor(type, intents, requestCode, flags); in create()
360 intent.putExtras(intents[intents.length - 1]); in create()
375 shadowPendingIntent.savedIntents = intents; in create()
387 private static PendingIntent getCreatedIntentFor(Type type, Intent[] intents, int requestCode, in getCreatedIntentFor() argument
[all …]
DLegacyManifestParser.java217 activity.intents.add(outInfo); in createPackage()
249 receiver.intents.add(outInfo); in createPackage()
265 service.intents.add(outInfo); in createPackage()
DShadowInstrumentation.java146 Intent[] intents, in execStartActivities() argument
148 for (Intent intent : intents) { in execStartActivities()
DShadowApplicationPackageManager.java570 IntentFilter intentFilter = matchIntentFilter(intent, provider.intents); in queryImplicitIntentContentProviders()
587 IntentFilter intentFilter = matchIntentFilter(intent, activity.intents); in queryImplicitIntentActivities()
604 IntentFilter intentFilter = matchIntentFilter(intent, service.intents); in queryImplicitIntentServices()
621 IntentFilter intentFilter = matchIntentFilter(intent, activity.intents); in queryImplicitIntentReceivers()
DShadowPackageManager.java1069 return component.intents; in getIntentFiltersForComponent()
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/mock/
DMockContext.java244 public void startActivities(Intent[] intents) { in startActivities() argument
249 public void startActivities(Intent[] intents, Bundle bundle) { in startActivities() argument
/external/libtextclassifier/native/
DFlatBufferHeaders.bp117 srcs: ["utils/intents/intent-config.fbs"],
118 out: ["utils/intents/intent-config_generated.h"],
DJavaTests.bp26 "utils/intents/intent-generator-test-lib.cc",
/external/walt/
DREADME.google51 - Automation intents
/external/libtextclassifier/java/src/com/android/textclassifier/
DTextClassifierImpl.java621 List<Intent> intents, LangIdModel langId) {
623 FluentIterable.from(intents)
/external/python/cpython2/Doc/c-api/
Dimport.rst139 probably damaged with respect to the module author's intents) state.
/external/python/cpython3/Doc/c-api/
Dimport.rst133 probably damaged with respect to the module author's intents) state.
/external/libtextclassifier/native/actions/
Dactions_model.fbs22 include "utils/intents/intent-config.fbs";
/external/libdrm/man/
Ddrm-memory.7.rst153 intents and purposes, equivalent to file descriptors but avoid the overhead.
/external/libtextclassifier/native/annotator/
Dmodel.fbs23 include "utils/intents/intent-config.fbs";
/external/python/cpython2/Doc/library/
Dstring.rst935 intents and purposes, the resulting list of words is the same as returned by
/external/libpng/scripts/
Dpnglibconf.dfa636 # profile is intended, however, to be used with any of the four defined intents.
/external/python/cpython2/Doc/reference/
Ddatamodel.rst2289 For most intents and purposes, an operator that returns ``NotImplemented`` is
/external/kotlinx.coroutines/benchmarks/src/jmh/resources/
Dwords.shakespeare.txt.gz
Dospd.txt.gz
/external/jline/src/src/test/resources/jline/example/
Denglish.gz

12