Searched refs:categories (Results 1 - 22 of 22) 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/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
H A DCarNavigationBarController.java45 private static final String EXTRA_FACET_CATEGORIES = "categories";
50 // Each facet of the navigation bar maps to a set of package names or categories defined in
58 // Set of categories each facet will filter on.
92 // Check if the package matches any of the categories for the facets
103 // No need to check categories because we've already refreshed the cache.
163 private void initFacetFilterMaps(int id, String[] packageNames, String[] categories) { argument
164 mFacetCategories.add(categories);
165 for (int i = 0; i < categories.length; i++) {
166 mFacetCategoryMap.put(categories[i], id);
178 // For each facet, check if the given package name matches one of its categories
[all...]
/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.java281 final List<String> categories = selector.getControlCategories();
282 final int count = categories.size();
284 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 DShortcutPackage.java70 private static final String TAG_CATEGORIES = "categories";
95 private static final String NAME_CATEGORIES = "categories";
1403 ArraySet<String> categories = null;
1458 categories = new ArraySet<>(ar.length);
1460 categories.add(ar[i]);
1479 categories,
/frameworks/native/cmds/service/
H A Dservice.cpp196 char* categories[16]; local
230 else if (strcmp(key, "categories") == 0)
234 categories[categoryCount] = strtok_r(value, ",", &context2);
236 while (categories[categoryCount] != NULL)
239 categories[categoryCount] = strtok_r(NULL, ",", &context2);
257 writeString16(data, categories[i]);
310 // " action=STR data=STR type=STR launchFlags=INT component=STR categories=STR[,STR,...]\n";
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
H A DSettingsDrawerAdapter.java41 List<DashboardCategory> categories = mActivity.getDashboardCategories();
49 for (int i = 0; i < categories.size(); i++) {
52 DashboardCategory dashboardCategory = categories.get(i);
H A DTileUtils.java150 ArrayList<DashboardCategory> categories = new ArrayList<>(categoryMap.values());
151 for (DashboardCategory category : categories) {
154 Collections.sort(categories, CATEGORY_COMPARATOR);
157 return categories;
H A DSettingsDrawerActivity.java176 final List<DashboardCategory> categories = getDashboardCategories();
177 for (DashboardCategory category : categories) {
/frameworks/base/services/core/java/com/android/server/
H A DIntentResolver.java360 FastImmutableArraySet<String> categories = getFastIntentCategories(intent);
364 buildResolveList(intent, categories, debug, defaultOnly,
444 FastImmutableArraySet<String> categories = getFastIntentCategories(intent);
446 buildResolveList(intent, categories, debug, defaultOnly,
450 buildResolveList(intent, categories, debug, defaultOnly,
454 buildResolveList(intent, categories, debug, defaultOnly,
458 buildResolveList(intent, categories, debug, defaultOnly,
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.java207 final Set<String> categories = intent.getCategories();
232 categories, "LocalBroadcastManager");
/frameworks/base/core/java/com/android/internal/app/
H A DResolverActivity.java220 final Set<String> categories = intent.getCategories();
222 && categories != null
223 && categories.size() == 1
224 && categories.contains(Intent.CATEGORY_HOME)) {
373 final Set<String> categories = intent.getCategories();
378 + (categories != null ? Arrays.toString(categories.toArray()) : ""));
713 Set<String> categories = filterIntent.getCategories();
714 if (categories != null) {
715 for (String cat : categories) {
[all...]
/frameworks/base/core/java/android/content/pm/
H A DShortcutInfo.java936 * Sets categories for a shortcut. Launcher apps may use this information to
943 public Builder setCategories(Set<String> categories) { argument
944 mCategories = categories;
1153 * Return the shortcut's categories.
1228 * the static shortcuts, followed by the dynamic shortcuts. Within each of those categories,
1593 * Replaces the categories.
1597 public void setCategories(Set<String> categories) { argument
1598 mCategories = cloneCategories(categories);
1788 sb.append(", categories=");
1847 Set<String> categories, Inten
1842 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.java41 * 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
1361 * categories is the opposite of actions -- an Intent includes the
1362 * categories tha
1421 matchCategories(Set<String> categories) argument
1495 match(String action, String type, String scheme, Uri data, Set<String> categories, String logTag) argument
[all...]
/frameworks/native/cmds/atrace/
H A Datrace.rc68 # Run atrace with the categories written in a file
69 service boottrace /system/bin/atrace --async_start -f /data/misc/boottrace/categories
/frameworks/base/tools/aapt/
H A DCommand.cpp414 Vector<String8> categories; local
458 categories.add(category);
464 return categories;
1897 Vector<String8> categories = getNfcAidCategories(assets, xmlPath, local
1905 const size_t catLen = categories.size();
1907 bool paymentCategory = (categories[i] == "payment");
/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 632 milliseconds