Home
last modified time | relevance | path

Searched refs:categories (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/base/services/core/java/com/android/server/firewall/
DCategoryFilter.java39 Set<String> categories = intent.getCategories(); in matches() local
40 if (categories == null) { in matches()
43 return categories.contains(mCategoryName); in matches()
/frameworks/native/cmds/service/
Dservice.cpp169 char* categories[16]; in main() local
207 categories[categoryCount] = strtok_r(value, ",", &context2); in main()
209 while (categories[categoryCount] != NULL) in main()
212 categories[categoryCount] = strtok_r(NULL, ",", &context2); in main()
230 writeString16(data, categories[i]); in main()
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouteSelector.java266 public Builder addControlCategories(@NonNull Collection<String> categories) { in addControlCategories() argument
267 if (categories == null) { in addControlCategories()
271 if (!categories.isEmpty()) { in addControlCategories()
272 for (String category : categories) { in addControlCategories()
DSystemMediaRouteProvider.java278 final List<String> categories = selector.getControlCategories(); in onDiscoveryRequestChanged() local
279 final int count = categories.size(); in onDiscoveryRequestChanged()
281 String category = categories.get(i); in onDiscoveryRequestChanged()
/frameworks/base/services/core/java/com/android/server/
DIntentResolver.java330 FastImmutableArraySet<String> categories = getFastIntentCategories(intent); in queryIntentFromList() local
334 buildResolveList(intent, categories, debug, defaultOnly, in queryIntentFromList()
413 FastImmutableArraySet<String> categories = getFastIntentCategories(intent); in queryIntent() local
415 buildResolveList(intent, categories, debug, defaultOnly, in queryIntent()
419 buildResolveList(intent, categories, debug, defaultOnly, in queryIntent()
423 buildResolveList(intent, categories, debug, defaultOnly, in queryIntent()
427 buildResolveList(intent, categories, debug, defaultOnly, in queryIntent()
627 final Set<String> categories = intent.getCategories(); in getFastIntentCategories() local
628 if (categories == null) { in getFastIntentCategories()
631 return new FastImmutableArraySet<String>(categories.toArray(new String[categories.size()])); in getFastIntentCategories()
[all …]
/frameworks/base/docs/html/guide/topics/manifest/
Dcategory-element.jd22 <dd>The name of the category. Standard categories are defined in the
39 Custom categories should use the package name as a prefix, to ensure
/frameworks/base/docs/html/design/patterns/
Dapp-structure.jd174 <h2 id="categories">Categories</h2>
176 …>Generally, the purpose of a deep, data-driven app is to navigate through organizational categories
183 <p>This can be successful if the categories are familiar or the number of categories is small. It h…
185 attention. Navigating laterally between data-rich categories is more akin to a casual browsing
193 <p>If the categories are familiar, predictable, or closely related, use scrolling tabs (where not a…
200 between categories, users can swipe left/right on the content.
206 <p>If the categories in the tabs are not closely related, favor fixed tabs, so that all categories
/frameworks/base/core/java/android/content/
DIntentFilter.java1216 public final String matchCategories(Set<String> categories) { in matchCategories() argument
1217 if (categories == null) { in matchCategories()
1221 Iterator<String> it = categories.iterator(); in matchCategories()
1291 Uri data, Set<String> categories, String logTag) { in match() argument
1313 String categoryMismatch = matchCategories(categories); in match()
1324 if (categories != null) { in match()
1325 dataMatch -= mCategories.size() - categories.size(); in match()
/frameworks/support/v4/java/android/support/v4/content/
DLocalBroadcastManager.java207 final Set<String> categories = intent.getCategories(); in sendBroadcast() local
232 categories, "LocalBroadcastManager"); in sendBroadcast()
/frameworks/base/docs/html/training/tv/playback/
Dbrowse.jd37 allows you to create a primary layout for browsing categories and rows of media items with a
98 browsable media content categories and media items from a media catalog using adapters and
136 adapter to display categories and items in those categories using the {@code StringPresenter}
/frameworks/base/core/java/com/android/internal/app/
DResolverActivity.java171 final Set<String> categories = intent.getCategories(); in onCreate() local
173 && categories != null in onCreate()
174 && categories.size() == 1 in onCreate()
175 && categories.contains(Intent.CATEGORY_HOME)) { in onCreate()
538 Set<String> categories = intent.getCategories(); in onIntentSelected() local
539 if (categories != null) { in onIntentSelected()
540 for (String cat : categories) { in onIntentSelected()
/frameworks/base/docs/html/tools/help/
Dmonkey.jd21 categories:</p>
168 <td>If you specify one or more categories this way, the Monkey will <i>only</i> allow the
169 system to visit activities that are listed with one of the specified categories.
170 If you don't specify any categories, the Monkey will select activities listed with the category
171 Intent.CATEGORY_LAUNCHER or Intent.CATEGORY_MONKEY. To specify multiple categories, use the -c
Dlint.jd50 …de>&lt;list&gt;</code> must be a comma-separated list of {@code lint} issue IDs or categories.</td>
56 …de>&lt;list&gt;</code> must be a comma-separated list of {@code lint} issue IDs or categories.</td>
62 …de>&lt;list&gt;</code> must be a comma-separated list of {@code lint} issue IDs or categories.</td>
DMonkeyDevice.jd87 <em>iterable</em> categories
287 <em>iterable</em> categories
462 <em>iterable</em> categories
509 <th>categories</th>
511 An iterable data structure containing strings that define categories for this
945 <em>iterable</em> categories
990 <th>categories</th>
992 An iterable data structure containing strings that define categories for the
1330 <td><code>categories</code></td>
1331 <td>The categories specified by the Intent that started the current Activity.</td>
/frameworks/base/docs/html/distribute/monetize/
Dpremium.jd25 the market. Certain categories of apps, such as games for children, should be
/frameworks/base/docs/html/samples/
Dindex.jd8 and learn how to build different components for your applications. Use the categories on the left
/frameworks/base/docs/html/training/design-navigation/
Dwireframing.jd41categories is to use horizontal paging, with a set of labels above the horizontal swiping surface,…
58 …reen map variation for tablets that presents story lists for different categories side-by-side, wi…
Dscreen-planning.jd44 <li>List of categories</li>
/frameworks/base/tools/aapt/
DCommand.cpp402 Vector<String8> categories; in getNfcAidCategories() local
446 categories.add(category); in getNfcAidCategories()
452 return categories; in getNfcAidCategories()
1665 Vector<String8> categories = getNfcAidCategories(assets, xmlPath, in doDump() local
1673 const size_t catLen = categories.size(); in doDump()
1675 bool paymentCategory = (categories[i] == "payment"); in doDump()
/frameworks/base/docs/html/tools/debugging/
Dsystrace.jd95 <li>Android 4.3 and higher devices: Use the {@code --list-categories} option to see what
96 categories are available on your test device.</li>
156 <li>Select the categories of processes to be traced and click <strong>OK</strong>.</li>
/frameworks/base/docs/html/training/efficient-downloads/
Defficient-network-access.jd104categories, and read articles. Not only that, but the constant switching between energy states wil…
138 …returned in a single request / response than to make multiple queries for several news categories.
/frameworks/base/docs/html/guide/topics/media/
Dmediarouteprovider.jd19 <li><a href="#route-cat">Route categories</a></li>
195 <h3 id="route-cat">Route categories</h3>
199 categories provided by the media router framework:</p>
/frameworks/base/docs/html/distribute/googleplay/
Dabout.jd95 users to find your app. More than 30 categories are available. Inside each
233 popular apps in the top categories are also featured. <em>Staff Picks</em>
/frameworks/base/docs/html/training/run-background-service/
Dreport-status.jd126 for it that match specific actions, categories, and data. To do this, create
/frameworks/base/docs/html/guide/components/
Dintents-filters.jd254 Here are some common categories:
268 categories.</p>
740 <p>To specify accepted intent categories, an intent filter can declare zero or more
754 declare more categories than are specified in the {@link android.content.Intent} and the
755 {@link android.content.Intent} will still pass. Therefore, an intent with no categories should
756 always pass this test, regardless of what categories are declared in the filter.</p>

123