Lines Matching defs:categories

41  * match against actions, categories, and data (either via its type, scheme,
51 * <em>action</em>, <em>data</em>, and <em>categories</em>. For each of these
134 * <p><strong>Categories</strong> match if <em>all</em> of the categories in
135 * the Intent match categories given in the filter. Extra categories in the
137 * that unlike the action, an IntentFilter with no categories
138 * will only match an Intent that does not have any categories.
247 * The filter didn't match because it required one or more categories
1349 * categories is the opposite of actions -- an Intent includes the
1350 * categories that it requires, all of which must be included in the
1365 * Return the number of categories in the filter.
1390 * Return an iterator over the filter's categories.
1392 * @return Iterator if this filter has categories or {@code null} if none.
1399 * Match this filter against an Intent's categories. Each category in
1403 * @param categories The categories included in the intent, as returned by
1406 * @return If all categories match (success), null; else the name of the
1409 public final String matchCategories(Set<String> categories) {
1410 if (categories == null) {
1414 Iterator<String> it = categories.iterator();
1444 * {@link #NO_MATCH_CATEGORY} if one or more categories didn't match.
1457 * only successful if the actions and categories in the Intent match
1465 * @param categories The categories to match against
1474 * {@link #NO_MATCH_CATEGORY} if one or more categories didn't match.
1484 Uri data, Set<String> categories, String logTag) {
1506 String categoryMismatch = matchCategories(categories);
1517 if (categories != null) {
1518 dataMatch -= mCategories.size() - categories.size();