Home
last modified time | relevance | path

Searched refs:getCategories (Results 1 – 8 of 8) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/manifest/
DAndroidManifestTest.java340 assertThat(data.getCategories().size()).isEqualTo(1); in shouldRead1IntentFilter()
341 assertThat(data.getCategories().get(0)).isEqualTo(Intent.CATEGORY_LAUNCHER); in shouldRead1IntentFilter()
357 assertThat(data.getCategories().size()).isEqualTo(1); in shouldReadMultipleIntentFilters()
358 assertThat(data.getCategories().get(0)).isEqualTo(Intent.CATEGORY_LAUNCHER); in shouldReadMultipleIntentFilters()
366 assertThat(data.getCategories().size()).isEqualTo(3); in shouldReadMultipleIntentFilters()
367 assertThat(data.getCategories().get(0)).isEqualTo(Intent.CATEGORY_DEFAULT); in shouldReadMultipleIntentFilters()
368 assertThat(data.getCategories().get(1)).isEqualTo(Intent.CATEGORY_ALTERNATIVE); in shouldReadMultipleIntentFilters()
369 assertThat(data.getCategories().get(2)).isEqualTo(Intent.CATEGORY_SELECTED_ALTERNATIVE); in shouldReadMultipleIntentFilters()
421 assertThat(intentFilterData.getCategories().size()).isEqualTo(1); in shouldReadIntentFilterWithData()
422 assertThat(intentFilterData.getCategories().get(0)).isEqualTo(Intent.CATEGORY_DEFAULT); in shouldReadIntentFilterWithData()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowIntentTest.java288 Set<String> categories = intent.getCategories(); in shouldSupportCategories()
299 assertThat(intent.getCategories()).isNull(); in shouldSupportCategories()
308 assertTrue(intent.getCategories().contains("foo")); in shouldAddCategories()
337 assertTrue(intentA.getCategories().contains(category)); in shouldFillIn()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/manifest/
DIntentFilterData.java31 public List<String> getCategories() { in getCategories() method in IntentFilterData
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowPackageManager.java862 Set<String> categories1 = i1.getCategories(); in compare()
863 Set<String> categories2 = i2.getCategories(); in compare()
DLegacyManifestParser.java348 for (String category : intentFilterData.getCategories()) { in populateIntentInfo()
DShadowApplicationPackageManager.java757 intent.getCategories(), in matchIntentFilter()
/external/javaparser/javaparser-testing/src/test/resources/com/github/javaparser/issue_samples/
Dissue1003.java.txt1083 // 1517: invokevirtual 641 android/content/Intent:getCategories ()Ljava/util/Set;
1085 // 1522: invokevirtual 641 android/content/Intent:getCategories ()Ljava/util/Set;
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/
DJsonBuilder.java581 result.put("categories", build(data.getCategories())); in buildJsonIntent()