Searched defs:categories (Results 1 - 5 of 5) sorted by relevance

/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/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouteSelector.java61 * Gets the list of {@link MediaControlIntent media control categories} in the selector.
63 * @return The list of categories.
256 * Adds a list of {@link MediaControlIntent media control categories} to the builder.
258 * @param categories The list categories to add to the set of desired capabilities,
262 public Builder addControlCategories(Collection<String> categories) { argument
263 if (categories == null) {
264 throw new IllegalArgumentException("categories must not be null");
267 if (!categories.isEmpty()) {
268 for (String category : categories) {
[all...]
/frameworks/base/services/java/com/android/server/
H A DIntentResolver.java212 FastImmutableArraySet<String> categories = getFastIntentCategories(intent);
216 buildResolveList(intent, categories, debug, defaultOnly,
295 FastImmutableArraySet<String> categories = getFastIntentCategories(intent);
297 buildResolveList(intent, categories, debug, defaultOnly,
301 buildResolveList(intent, categories, debug, defaultOnly,
305 buildResolveList(intent, categories, debug, defaultOnly,
309 buildResolveList(intent, categories, debug, defaultOnly,
509 final Set<String> categories = intent.getCategories();
510 if (categories == null) {
513 return new FastImmutableArraySet<String>(categories
516 buildResolveList(Intent intent, FastImmutableArraySet<String> categories, boolean debug, boolean defaultOnly, String resolvedType, String scheme, F[] src, List<R> dest, int userId) argument
[all...]
/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
1093 * categories is the opposite of actions -- an Intent includes the
1094 * categories tha
1153 matchCategories(Set<String> categories) argument
1231 match(String action, String type, String scheme, Uri data, Set<String> categories, String logTag) argument
[all...]
/frameworks/base/tools/aapt/
H A DCommand.cpp442 Vector<String8> categories; local
476 categories.add(category);
482 return categories;
1348 Vector<String8> categories = getNfcAidCategories(assets, xmlPath, local
1356 const size_t catLen = categories.size();
1358 bool paymentCategory = (categories[i] == "payment");

Completed in 177 milliseconds