Searched refs:getCategories (Results 1 – 8 of 8) sorted by relevance
340 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()
288 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()
31 public List<String> getCategories() { in getCategories() method in IntentFilterData
862 Set<String> categories1 = i1.getCategories(); in compare()863 Set<String> categories2 = i2.getCategories(); in compare()
348 for (String category : intentFilterData.getCategories()) { in populateIntentInfo()
757 intent.getCategories(), in matchIntentFilter()
1083 // 1517: invokevirtual 641 android/content/Intent:getCategories ()Ljava/util/Set;1085 // 1522: invokevirtual 641 android/content/Intent:getCategories ()Ljava/util/Set;
581 result.put("categories", build(data.getCategories())); in buildJsonIntent()