Searched refs:categories (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/firewall/
H A DCategoryFilter.java39 Set<String> categories = intent.getCategories();
40 if (categories == null) {
43 return categories.contains(mCategoryName);
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouteSelector.java63 * Gets the list of {@link MediaControlIntent media control categories} in the selector.
65 * @return The list of categories.
259 * Adds a list of {@link MediaControlIntent media control categories} to the builder.
261 * @param categories The list categories to add to the set of desired capabilities,
266 public Builder addControlCategories(@NonNull Collection<String> categories) { argument
267 if (categories == null) {
268 throw new IllegalArgumentException("categories must not be null");
271 if (!categories.isEmpty()) {
272 for (String category : categories) {
[all...]
H A DSystemMediaRouteProvider.java278 final List<String> categories = selector.getControlCategories();
279 final int count = categories.size();
281 String category = categories.get(i);
/frameworks/native/cmds/service/
H A Dservice.cpp169 char* categories[16]; local
203 else if (strcmp(key, "categories") == 0)
207 categories[categoryCount] = strtok_r(value, ",", &context2);
209 while (categories[categoryCount] != NULL)
212 categories[categoryCount] = strtok_r(NULL, ",", &context2);
230 writeString16(data, categories[i]);
280 // " action=STR data=STR type=STR launchFlags=INT component=STR categories=STR[,STR,...]\n";
/frameworks/base/services/core/java/com/android/server/
H A DIntentResolver.java359 FastImmutableArraySet<String> categories = getFastIntentCategories(intent);
363 buildResolveList(intent, categories, debug, defaultOnly,
442 FastImmutableArraySet<String> categories = getFastIntentCategories(intent);
444 buildResolveList(intent, categories, debug, defaultOnly,
448 buildResolveList(intent, categories, debug, defaultOnly,
452 buildResolveList(intent, categories, debug, defaultOnly,
456 buildResolveList(intent, categories, debug, defaultOnly,
664 final Set<String> categories = intent.getCategories();
665 if (categories == null) {
668 return new FastImmutableArraySet<String>(categories
671 buildResolveList(Intent intent, FastImmutableArraySet<String> categories, boolean debug, boolean defaultOnly, String resolvedType, String scheme, F[] src, List<R> dest, int userId) argument
[all...]
/frameworks/support/v4/java/android/support/v4/content/
H A DLocalBroadcastManager.java207 final Set<String> categories = intent.getCategories();
232 categories, "LocalBroadcastManager");
/frameworks/base/core/java/android/content/
H A DIntentFilter.java40 * match against actions, categories, and data (either via its type, scheme,
50 * <em>action</em>, <em>data</em>, and <em>categories</em>. For each of these
133 * <p><strong>Categories</strong> match if <em>all</em> of the categories in
134 * the Intent match categories given in the filter. Extra categories in the
136 * that unlike the action, an IntentFilter with no categories
137 * will only match an Intent that does not have any categories.
245 * The filter didn't match because it required one or more categories
1156 * categories is the opposite of actions -- an Intent includes the
1157 * categories tha
1216 matchCategories(Set<String> categories) argument
1290 match(String action, String type, String scheme, Uri data, Set<String> categories, String logTag) argument
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DResolverActivity.java180 final Set<String> categories = intent.getCategories();
182 && categories != null
183 && categories.size() == 1
184 && categories.contains(Intent.CATEGORY_HOME)) {
610 Set<String> categories = intent.getCategories();
611 if (categories != null) {
612 for (String cat : categories) {
/frameworks/base/tools/aapt/
H A DCommand.cpp403 Vector<String8> categories; local
447 categories.add(category);
453 return categories;
1686 Vector<String8> categories = getNfcAidCategories(assets, xmlPath, local
1694 const size_t catLen = categories.size();
1696 bool paymentCategory = (categories[i] == "payment");

Completed in 782 milliseconds