Searched refs:categories (Results 1 - 21 of 21) 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/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/
H A DMediaIDHelper.java36 public static String createMediaID(String musicID, String... categories) { argument
43 if (categories != null && categories.length > 0) {
44 sb.append(categories[0]);
45 for (int i=1; i < categories.length; i++) {
46 sb.append(CATEGORY_SEPARATOR).append(categories[i]);
H A DQueueHelper.java105 Iterable<MediaMetadataCompat> tracks, String... categories) {
113 track.getDescription().getMediaId(), categories);
104 convertToQueue( Iterable<MediaMetadataCompat> tracks, String... categories) argument
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/
H A DMediaIDHelper.java36 public static String createMediaID(String musicID, String... categories) { argument
43 if (categories != null && categories.length > 0) {
44 sb.append(categories[0]);
45 for (int i=1; i < categories.length; i++) {
46 sb.append(CATEGORY_SEPARATOR).append(categories[i]);
H A DQueueHelper.java105 Iterable<MediaMetadataCompat> tracks, String... categories) {
113 track.getDescription().getMediaId(), categories);
104 convertToQueue( Iterable<MediaMetadataCompat> tracks, String... categories) argument
/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.java291 final List<String> categories = selector.getControlCategories();
292 final int count = categories.size();
294 String category = categories.get(i);
/frameworks/base/services/core/java/com/android/server/pm/
H A DShortcutParser.java57 private static final String TAG_CATEGORIES = "categories";
129 Set<String> categories = null;
180 if (categories != null) {
181 si.setCategories(categories);
182 categories = null;
224 categories = null;
255 if (categories == null) {
256 categories = new ArraySet<>();
258 categories.add(name);
358 null, // categories
[all...]
H A DInstantAppRegistry.java383 final Set<String> categories = intent.getCategories();
384 if (categories != null && categories.contains(Intent.CATEGORY_BROWSABLE)) {
H A DShortcutPackage.java70 private static final String TAG_CATEGORIES = "categories";
95 private static final String NAME_CATEGORIES = "categories";
1408 ArraySet<String> categories = null;
1463 categories = new ArraySet<>(ar.length);
1465 categories.add(ar[i]);
1484 categories,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
H A DCarNavigationBarController.java47 private static final String EXTRA_FACET_CATEGORIES = "categories";
53 * Each facet of the navigation bar maps to a set of package names or categories defined in
63 * Set of categories each facet will filter on.
111 // Check if the package matches any of the categories for the facets
128 // No need to check categories because we've already refreshed the cache.
209 private void initFacetFilterMaps(int id, String[] packageNames, String[] categories) { argument
210 mFacetCategories.add(categories);
211 for (String category : categories) {
224 // For each facet, check if the given package name matches one of its categories
226 String[] categories
[all...]
/frameworks/native/cmds/service/
H A Dservice.cpp198 char* categories[16]; local
232 else if (strcmp(key, "categories") == 0)
236 categories[categoryCount] = strtok_r(value, ",", &context2);
238 while (categories[categoryCount] != NULL)
241 categories[categoryCount] = strtok_r(NULL, ",", &context2);
259 writeString16(data, categories[i]);
312 // " 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.java360 FastImmutableArraySet<String> categories = getFastIntentCategories(intent);
364 buildResolveList(intent, categories, debug, defaultOnly, resolvedType, scheme,
444 FastImmutableArraySet<String> categories = getFastIntentCategories(intent);
446 buildResolveList(intent, categories, debug, defaultOnly, resolvedType,
450 buildResolveList(intent, categories, debug, defaultOnly, resolvedType,
454 buildResolveList(intent, categories, debug, defaultOnly, resolvedType,
458 buildResolveList(intent, categories, debug, defaultOnly, resolvedType,
689 final Set<String> categories = intent.getCategories();
690 if (categories == null) {
693 return new FastImmutableArraySet<String>(categories
696 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/core-utils/java/android/support/v4/content/
H A DLocalBroadcastManager.java215 final Set<String> categories = intent.getCategories();
240 categories, "LocalBroadcastManager");
/frameworks/base/core/java/com/android/internal/app/
H A DResolverActivity.java223 final Set<String> categories = intent.getCategories();
225 && categories != null
226 && categories.size() == 1
227 && categories.contains(Intent.CATEGORY_HOME)) {
327 final Set<String> categories = intent.getCategories();
332 + (categories != null ? Arrays.toString(categories.toArray()) : ""));
662 Set<String> categories = filterIntent.getCategories();
663 if (categories != null) {
664 for (String cat : categories) {
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
H A DTileUtils.java192 * categories
240 ArrayList<DashboardCategory> categories = new ArrayList<>(categoryMap.values());
241 for (DashboardCategory category : categories) {
244 Collections.sort(categories, CATEGORY_COMPARATOR);
247 return categories;
/frameworks/base/core/java/android/content/pm/
H A DShortcutInfo.java956 * Sets categories for a shortcut. Launcher apps may use this information to
963 public Builder setCategories(Set<String> categories) { argument
964 mCategories = categories;
1173 * Return the shortcut's categories.
1248 * the static shortcuts, followed by the dynamic shortcuts. Within each of those categories,
1653 * Replaces the categories.
1657 public void setCategories(Set<String> categories) { argument
1658 mCategories = cloneCategories(categories);
1854 sb.append(", categories=");
1913 Set<String> categories, Inten
1908 ShortcutInfo( @serIdInt int userId, String id, String packageName, ComponentName activity, Icon icon, CharSequence title, int titleResId, String titleResName, CharSequence text, int textResId, String textResName, CharSequence disabledMessage, int disabledMessageResId, String disabledMessageResName, Set<String> categories, Intent[] intentsWithExtras, int rank, PersistableBundle extras, long lastChangedTimestamp, int flags, int iconResId, String iconResName, String bitmapPath) argument
[all...]
/frameworks/base/core/java/android/content/
H A DIntentFilter.java45 * match against actions, categories, and data (either via its type, scheme,
55 * <em>action</em>, <em>data</em>, and <em>categories</em>. For each of these
138 * <p><strong>Categories</strong> match if <em>all</em> of the categories in
139 * the Intent match categories given in the filter. Extra categories in the
141 * that unlike the action, an IntentFilter with no categories
142 * will only match an Intent that does not have any categories.
252 * The filter didn't match because it required one or more categories
1405 * categories is the opposite of actions -- an Intent includes the
1406 * categories tha
1465 matchCategories(Set<String> categories) argument
1539 match(String action, String type, String scheme, Uri data, Set<String> categories, String logTag) argument
[all...]
/frameworks/base/tools/aapt/
H A DCommand.cpp428 Vector<String8> categories; local
472 categories.add(category);
478 return categories;
1956 Vector<String8> categories = getNfcAidCategories(assets, xmlPath, local
1965 const size_t catLen = categories.size();
1967 bool paymentCategory = (categories[i] == "payment");
/frameworks/native/cmds/atrace/
H A Datrace.rc140 # Run atrace with the categories written in a file
141 service boottrace /system/bin/atrace --async_start -f /data/misc/boottrace/categories
/frameworks/opt/setupwizard/tools/docs/
H A Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ccil/cowan/ org/ccil/cowan/tagsoup/ ...

Completed in 531 milliseconds