Searched defs:category (Results 1 - 25 of 34) sorted by relevance

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DSmsUsageMonitorShortCodeTest.java38 final int category; field in class:SmsUsageMonitorShortCodeTest.ShortCodeTest
40 ShortCodeTest(String countryIso, String destAddress, int category) { argument
43 this.category = category;
471 test.category, monitor.checkDestination(test.address, test.countryIso));
/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/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/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/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/packages/SettingsLib/src/com/android/settingslib/
H A DAppItem.java30 public int category; field in class:AppItem
67 int comparison = Integer.compare(category, another.category);
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...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
H A DTile.java70 public String category; field in class:Tile
113 dest.writeString(category);
132 category = in.readString();
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DStreamDescriptor.cpp148 float StreamDescriptorCollection::volIndexToDb(audio_stream_type_t stream, device_category category, argument
152 return Gains::volIndexToDb(streamDesc.getVolumeCurvePoint(category),
/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/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/core/java/android/hardware/display/
H A DDisplayManager.java72 * Display category: Presentation displays.
74 * This category can be used to identify secondary displays that are suitable for
85 "android.hardware.display.category.PRESENTATION";
132 * display in the {@link #DISPLAY_CATEGORY_PRESENTATION presentation display category}.
268 * Gets all currently valid logical displays of the specified category.
270 * When there are multiple displays in a category the returned displays are sorted
271 * of preference. For example, if the requested category is
278 * @param category The requested display category or null to return all displays.
283 public Display[] getDisplays(String category) { argument
[all...]
/frameworks/base/sax/tests/saxtests/src/android/sax/
H A DSafeSaxTest.java280 mediaGroup.getChild(MEDIA_NAMESPACE, "category")
283 video.category = body;
414 || localName.equals("category")
511 if (localName.equals("category")) {
512 video.category = takeText();
536 public String category; field in class:SafeSaxTest.YouTubeVideo
/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/telephony/java/android/telephony/
H A DTelephonyHistogram.java36 // Unique Id identifying a sample within particular category of histogram
65 * Constant for Telephony category
80 public TelephonyHistogram (int category, int id, int bucketCount) { argument
84 mCategory = category;
/frameworks/support/compat/api24/android/support/v4/app/
H A DNotificationCompatApi24.java58 String category, ArrayList<String> people, Bundle extras, int color,
93 .setCategory(category)
52 Builder(Context context, Notification n, CharSequence contentTitle, CharSequence contentText, CharSequence contentInfo, RemoteViews tickerView, int number, PendingIntent contentIntent, PendingIntent fullScreenIntent, Bitmap largeIcon, int progressMax, int progress, boolean progressIndeterminate, boolean showWhen, boolean useChronometer, int priority, CharSequence subText, boolean localOnly, String category, ArrayList<String> people, Bundle extras, int color, int visibility, Notification publicVersion, String groupKey, boolean groupSummary, String sortKey, CharSequence[] remoteInputHistory, RemoteViews contentView, RemoteViews bigContentView, RemoteViews headsUpContentView) argument
/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...]
/frameworks/support/compat/api21/android/support/v4/app/
H A DNotificationCompatApi21.java69 String category, ArrayList<String> people, Bundle extras, int color,
103 .setCategory(category)
147 return notif.category;
63 Builder(Context context, Notification n, CharSequence contentTitle, CharSequence contentText, CharSequence contentInfo, RemoteViews tickerView, int number, PendingIntent contentIntent, PendingIntent fullScreenIntent, Bitmap largeIcon, int progressMax, int progress, boolean progressIndeterminate, boolean showWhen, boolean useChronometer, int priority, CharSequence subText, boolean localOnly, String category, ArrayList<String> people, Bundle extras, int color, int visibility, Notification publicVersion, String groupKey, boolean groupSummary, String sortKey, RemoteViews contentView, RemoteViews bigContentView, RemoteViews headsUpContentView) argument
/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationRecord.java420 public boolean isCategory(String category) { argument
421 return Objects.equals(getNotification().category, category);
/frameworks/compile/slang/
H A Dslang_rs_export_type.h150 // The data type category
151 DataTypeCategory category; member in struct:slang::__anon1259
/frameworks/native/cmds/atrace/
H A Datrace.cpp62 // The name identifying the category.
65 // A longer description of the category.
68 // The userland tracing tags that the category enables.
71 // The fname==NULL terminated list of /sys/ files that the category
75 // category.
332 // Check whether the category is supported on the device with the current
333 // rootness. A category is supported only if all its required /sys/ files are
334 // writable and if enabling the category will enable one or more tracing tags
336 static bool isCategorySupported(const TracingCategory& category) argument
338 if (strcmp(category
367 isCategorySupportedForRoot(const TracingCategory& category) argument
[all...]
/frameworks/base/core/java/android/content/
H A DIntentFilter.java85 * the <strong>action</strong> and <strong>category</strong> must match, and
177 * The part of a match constant that describes the category of match
188 * basic category of match. The value {@link #MATCH_ADJUSTMENT_NORMAL}
195 * Quality adjustment applied to the category of match that signifies
497 * {@link android.content.Intent#ACTION_VIEW} and the Intent category is
541 * - either the Intent category is {@link android.content.Intent#CATEGORY_APP_BROWSER}
543 * the Intent category is {@link android.content.Intent#CATEGORY_BROWSABLE} and the Intent
561 * the Intent category is {@link android.content.Intent#CATEGORY_BROWSABLE} and the Intent
612 * the Intent category is {@link android.content.Intent#CATEGORY_BROWSABLE} and the Intent
1360 * Add a new Intent category t
1369 addCategory(String category) argument
1397 hasCategory(String category) argument
[all...]

Completed in 3812 milliseconds

12