Home
last modified time | relevance | path

Searched refs:intentFilterData (Results 1 – 3 of 3) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/manifest/
DAndroidManifestTest.java418 final IntentFilterData intentFilterData = ifd.get(0); in shouldReadIntentFilterWithData() local
419 assertThat(intentFilterData.getActions().size()).isEqualTo(1); in shouldReadIntentFilterWithData()
420 assertThat(intentFilterData.getActions().get(0)).isEqualTo(Intent.ACTION_VIEW); in shouldReadIntentFilterWithData()
421 assertThat(intentFilterData.getCategories().size()).isEqualTo(1); in shouldReadIntentFilterWithData()
422 assertThat(intentFilterData.getCategories().get(0)).isEqualTo(Intent.CATEGORY_DEFAULT); in shouldReadIntentFilterWithData()
424 assertThat(intentFilterData.getSchemes().size()).isEqualTo(3); in shouldReadIntentFilterWithData()
425 assertThat(intentFilterData.getAuthorities().size()).isEqualTo(3); in shouldReadIntentFilterWithData()
426 assertThat(intentFilterData.getMimeTypes().size()).isEqualTo(3); in shouldReadIntentFilterWithData()
427 assertThat(intentFilterData.getPaths().size()).isEqualTo(1); in shouldReadIntentFilterWithData()
428 assertThat(intentFilterData.getPathPatterns().size()).isEqualTo(1); in shouldReadIntentFilterWithData()
[all …]
/external/robolectric-shadows/resources/src/main/java/org/robolectric/manifest/
DAndroidManifest.java334 final List<IntentFilterData> intentFilterData = parseIntentFilters(receiverNode); in parseReceivers() local
336 new BroadcastReceiverData(receiverAttrs, metaData, intentFilterData); in parseReceivers()
360 final List<IntentFilterData> intentFilterData = parseIntentFilters(serviceNode); in parseServices() local
361 ServiceData service = new ServiceData(serviceAttrs, metaData, intentFilterData); in parseServices()
395 final List<IntentFilterData> intentFilterData = parseIntentFilters(activityNode); in parseActivity() local
415 …activityDatas.put(activityName, new ActivityData("android", activityAttrs, intentFilterData, targe… in parseActivity()
438 IntentFilterData intentFilterData = new IntentFilterData(actionNames, categories); in parseIntentFilters() local
439 intentFilterData = parseIntentFilterData(n, intentFilterData); in parseIntentFilters()
440 intentFilterDatas.add(intentFilterData); in parseIntentFilters()
446 …tFilterData parseIntentFilterData(final Node intentFilterNode, IntentFilterData intentFilterData) { in parseIntentFilterData() argument
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DLegacyManifestParser.java214 for (IntentFilterData intentFilterData : data.getIntentFilters()) { in createPackage()
216 populateIntentInfo(intentFilterData, outInfo); in createPackage()
246 for (IntentFilterData intentFilterData : data.getIntentFilters()) { in createPackage()
248 populateIntentInfo(intentFilterData, outInfo); in createPackage()
262 for (IntentFilterData intentFilterData : data.getIntentFilters()) { in createPackage()
264 populateIntentInfo(intentFilterData, outInfo); in createPackage()
344 private static void populateIntentInfo(IntentFilterData intentFilterData, IntentInfo outInfo) { in populateIntentInfo() argument
345 for (String action : intentFilterData.getActions()) { in populateIntentInfo()
348 for (String category : intentFilterData.getCategories()) { in populateIntentInfo()
351 for (DataAuthority dataAuthority : intentFilterData.getAuthorities()) { in populateIntentInfo()
[all …]