Searched refs:category (Results 1 - 25 of 86) sorted by relevance

1234

/frameworks/base/core/java/com/android/internal/logging/
H A DMetricsLogger.java34 public static void visible(Context context, int category) throws IllegalArgumentException { argument
35 if (Build.IS_DEBUGGABLE && category == VIEW_UNKNOWN) {
36 throw new IllegalArgumentException("Must define metric category");
38 EventLogTags.writeSysuiViewVisibility(category, 100);
41 public static void hidden(Context context, int category) throws IllegalArgumentException { argument
42 if (Build.IS_DEBUGGABLE && category == VIEW_UNKNOWN) {
43 throw new IllegalArgumentException("Must define metric category");
45 EventLogTags.writeSysuiViewVisibility(category, 0);
48 public static void visibility(Context context, int category, boolean visibile) argument
51 visible(context, category);
57 visibility(Context context, int category, int vis) argument
62 action(Context context, int category) argument
66 action(Context context, int category, int value) argument
70 action(Context context, int category, boolean value) argument
74 action(Context context, int category, String pkg) argument
[all...]
/frameworks/base/core/java/android/nfc/cardemulation/
H A DAidGroup.java49 final String category; field in class:AidGroup
56 * @param category The category of this group, e.g. {@link CardEmulation#CATEGORY_PAYMENT}
58 public AidGroup(List<String> aids, String category) { argument
70 if (isValidCategory(category)) {
71 this.category = category;
73 this.category = CardEmulation.CATEGORY_OTHER;
82 AidGroup(String category, String description) { argument
84 this.category
199 isValidCategory(String category) argument
[all...]
H A DCardEmulation.java55 * card emulation service for a certain category. This will
59 * {@link #EXTRA_SERVICE_COMPONENT}, for the category
67 * The category extra for {@link #ACTION_CHANGE_DEFAULT}.
71 public static final String EXTRA_CATEGORY = "category";
96 * category.
101 * that the default service has registered in this category,
111 * or {@link OffHostApduService}, whenever an Application ID (AID) of this category
185 * the default service to handle a card emulation category.
190 * selection modes a default can't be set at the category level. For categories where
197 * @param category Th
202 isDefaultServiceForCategory(ComponentName service, String category) argument
264 categoryAllowsForegroundPreference(String category) argument
291 getSelectionModeForCategory(String category) argument
325 registerAidsForService(ComponentName service, String category, List<String> aids) argument
361 getAidsForService(ComponentName service, String category) argument
398 removeAidsForService(ComponentName service, String category) argument
538 setDefaultServiceForCategory(ComponentName service, String category) argument
583 getServices(String category) argument
[all...]
H A DApduServiceInfo.java70 * Mapping from category to static AID group
75 * Mapping from category to dynamic AID group
113 this.mStaticAidGroups.put(aidGroup.category, aidGroup);
116 this.mDynamicAidGroups.put(aidGroup.category, aidGroup);
201 // Get category of AID group
213 groupCategory + " category");
223 if (!mStaticAidGroups.containsKey(currentGroup.category)) {
224 mStaticAidGroups.put(currentGroup.category, currentGroup);
275 * a static (manifest-based) AID group for a category and a dynamic
277 * for that category
303 getDynamicAidGroupForCategory(String category) argument
307 removeDynamicAidGroupForCategory(String category) argument
348 hasCategory(String category) argument
[all...]
/frameworks/base/core/java/android/nfc/
H A DINfcCardEmulation.aidl29 boolean isDefaultServiceForCategory(int userHandle, in ComponentName service, String category);
31 boolean setDefaultServiceForCategory(int userHandle, in ComponentName service, String category);
34 AidGroup getAidGroupForService(int userHandle, in ComponentName service, String category);
35 boolean removeAidGroupForService(int userHandle, in ComponentName service, String category);
36 List<ApduServiceInfo> getServices(int userHandle, in String category);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DDozeTrigger.java30 @ViewDebug.ExportedProperty(category="recents")
32 @ViewDebug.ExportedProperty(category="recents")
34 @ViewDebug.ExportedProperty(category="recents")
/frameworks/support/compat/jellybean-mr1/android/support/v4/hardware/display/
H A DDisplayManagerJellybeanMr1.java35 public static Display[] getDisplays(Object displayManagerObj, String category) { argument
36 return ((android.hardware.display.DisplayManager)displayManagerObj).getDisplays(category);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
H A DTileUtils.java53 * <p>A category must be specified in the meta-data for the activity named
77 "com.android.settings.category.wireless";
83 "com.android.settings.category.device";
86 * The key used to get the category from metadata of activities of action
89 * <li>com.android.settings.category.wireless</li>
90 * <li>com.android.settings.category.device</li>
91 * <li>com.android.settings.category.personal</li>
92 * <li>com.android.settings.category.system</li>
94 private static final String EXTRA_CATEGORY_KEY = "com.android.settings.category";
139 DashboardCategory category
[all...]
H A DTile.java70 public String category; field in class:Tile
113 dest.writeString(category);
132 category = in.readString();
H A DSettingsDrawerAdapter.java50 Item category = new Item();
51 category.icon = null;
53 category.label = dashboardCategory.title;
54 mItems.add(category);
H A DSettingsDrawerActivity.java177 for (DashboardCategory category : categories) {
178 for (Tile tile : category.tiles) {
392 DashboardCategory category = dashboardCategories.get(i);
393 for (int j = 0; j < category.tiles.size(); j++) {
394 Tile tile = category.tiles.get(j);
396 category.tiles.remove(j--);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DTask.java57 @ViewDebug.ExportedProperty(category="recents")
59 @ViewDebug.ExportedProperty(category="recents")
61 @ViewDebug.ExportedProperty(category="recents")
63 @ViewDebug.ExportedProperty(category="recents")
65 @ViewDebug.ExportedProperty(category="recents")
67 @ViewDebug.ExportedProperty(category="recents")
134 @ViewDebug.ExportedProperty(category="recents")
136 @ViewDebug.ExportedProperty(category="recents")
145 @ViewDebug.ExportedProperty(category="recents")
147 @ViewDebug.ExportedProperty(category
[all...]
/frameworks/support/compat/java/android/support/v4/hardware/display/
H A DDisplayManagerCompat.java34 * Display category: Presentation displays.
36 * This category can be used to identify secondary displays that are suitable for
45 "android.hardware.display.category.PRESENTATION";
88 * Gets all currently valid logical displays of the specified category.
90 * When there are multiple displays in a category the returned displays are sorted
91 * of preference. For example, if the requested category is
98 * @param category The requested display category or null to return all displays.
103 public abstract Display[] getDisplays(String category); argument
127 public Display[] getDisplays(String category) { argument
150 getDisplays(String category) argument
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DSuggestionParser.java114 private void readSuggestions(SuggestionCategory category, List<Tile> suggestions) { argument
117 intent.addCategory(category.category);
118 if (category.pkg != null) {
119 intent.setPackage(category.pkg);
131 if (!category.multiple && suggestions.size() > (countBefore + 1)) {
141 // If category is marked as done, do not add any item.
142 if (!isCategoryDone(category.category)) {
184 public boolean isCategoryDone(String category) { argument
189 markCategoryDone(String category) argument
240 public String category; field in class:SuggestionParser.SuggestionCategory
[all...]
H A DAppItem.java30 public int category; field in class:AppItem
67 int comparison = Integer.compare(category, another.category);
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouteSelector.java82 * Returns true if the selector contains the specified category.
84 * @param category The category to check.
85 * @return True if the category is present.
87 public boolean hasControlCategory(String category) { argument
88 if (category != null) {
92 if (mControlCategories.get(i).equals(category)) {
237 * Adds a {@link MediaControlIntent media control category} to the builder.
239 * @param category The category t
244 addControlCategory(@onNull String category) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DAnimateableViewBounds.java34 @ViewDebug.ExportedProperty(category="recents")
36 @ViewDebug.ExportedProperty(category="recents")
38 @ViewDebug.ExportedProperty(category="recents")
40 @ViewDebug.ExportedProperty(category="recents")
42 @ViewDebug.ExportedProperty(category="recents")
H A DTaskViewThumbnail.java56 @ViewDebug.ExportedProperty(category="recents")
58 @ViewDebug.ExportedProperty(category="recents")
60 @ViewDebug.ExportedProperty(category="recents")
66 @ViewDebug.ExportedProperty(category="recents")
79 @ViewDebug.ExportedProperty(category="recents")
82 @ViewDebug.ExportedProperty(category="recents")
H A DTaskStackLayoutAlgorithm.java232 @ViewDebug.ExportedProperty(category="recents")
235 @ViewDebug.ExportedProperty(category="recents")
238 @ViewDebug.ExportedProperty(category="recents")
241 @ViewDebug.ExportedProperty(category="recents")
244 @ViewDebug.ExportedProperty(category="recents")
252 @ViewDebug.ExportedProperty(category="recents")
255 @ViewDebug.ExportedProperty(category="recents")
258 @ViewDebug.ExportedProperty(category="recents")
263 @ViewDebug.ExportedProperty(category="recents")
267 @ViewDebug.ExportedProperty(category
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
H A DCarNavigationBarController.java93 String category = getPackageCategory(packageName);
94 if (category != null) {
95 setCurrentFacet(mFacetCategoryMap.get(category));
107 String category = getPackageCategory(packageName);
108 if (mFacetCategoryMap.containsKey(category)) {
109 int index = mFacetCategoryMap.get(category);
182 String category = categories[j];
186 intent.addCategory(category);
191 mFacetPackageMap.put(packageName, mFacetCategoryMap.get(category));
192 return category;
[all...]
/frameworks/base/telephony/java/android/telephony/cdma/
H A DCdmaSmsCbProgramResults.java38 /** Program result: category already opted in. */
41 /** Program result: category already opted in. */
50 /** Program result: invalid service category name. */
56 /** Service category to modify. */
59 /** Language used for service category name (defined in BearerData.LANGUAGE_*). */
62 /** Result of service category programming for this category. */
66 public CdmaSmsCbProgramResults(int category, int language, int categoryResult) { argument
67 mCategory = category;
93 * Returns the CDMA service category t
[all...]
H A DCdmaSmsCbProgramData.java33 /** Delete the specified service category from the list of enabled categories. */
36 /** Add the specified service category to the list of enabled categories. */
78 /** Service category operation (add/delete/clear). */
81 /** Service category to modify. */
84 /** Language used for service category name (defined in BearerData.LANGUAGE_*). */
87 /** Maximum number of messages to store for this service category. */
90 /** Service category alert option. */
93 /** Name of service category. */
97 public CdmaSmsCbProgramData(int operation, int category, int language, int maxMessages, argument
100 mCategory = category;
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DUiModeManagerService.java105 private static Intent buildHomeIntent(String category) { argument
107 intent.addCategory(category);
514 String category = null;
518 category = Intent.CATEGORY_CAR_DOCK;
523 category = Intent.CATEGORY_DESK_DOCK;
527 category = Intent.CATEGORY_HOME;
533 + mDockState +", category=" + category);
536 sendConfigurationAndStartDreamOrDockAppLocked(category);
555 String category
588 sendConfigurationAndStartDreamOrDockAppLocked(String category) argument
[all...]
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
H A DAnimatedVectorDrawableTest.java60 String category = "Layer:"
63 textView.setText(category);
/frameworks/opt/telephony/src/java/android/telephony/
H A DSmsCbCmasInfo.java31 // CMAS message class (in GSM/UMTS message identifier or CDMA service category).
51 /** CMAS category for operator defined use. */
54 /** CMAS category for warning types that are reserved for future extension. */
57 // CMAS alert category (in CDMA type 1 elements record).
59 /** CMAS alert category: Geophysical including landslide. */
62 /** CMAS alert category: Meteorological including flood. */
65 /** CMAS alert category: General emergency and public safety. */
68 /** CMAS alert category: Law enforcement, military, homeland/local/private security. */
71 /** CMAS alert category: Rescue and recovery. */
74 /** CMAS alert category
197 SmsCbCmasInfo(int messageClass, int category, int responseType, int severity, int urgency, int certainty) argument
[all...]

Completed in 508 milliseconds

1234