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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DSmsUsageMonitorShortCodeTest.java36 final int category; field in class:SmsUsageMonitorShortCodeTest.ShortCodeTest
38 ShortCodeTest(String countryIso, String destAddress, int category) { argument
41 this.category = category;
463 test.category, monitor.checkDestination(test.address, test.countryIso));
/frameworks/support/v4/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/support/v4/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 DCardEmulation.java53 * card emulation service for a certain category. This will
57 * {@link #EXTRA_SERVICE_COMPONENT}, for the category
65 * The category extra for {@link #ACTION_CHANGE_DEFAULT}.
69 public static final String EXTRA_CATEGORY = "category";
94 * category.
99 * that the default service has registered in this category,
109 * or {@link OffHostApduService}, whenever an Application ID (AID) of this category
179 * the default service to handle a card emulation category.
184 * selection modes a default can't be set at the category level. For categories where
191 * @param category Th
196 isDefaultServiceForCategory(ComponentName service, String category) argument
258 getSelectionModeForCategory(String category) argument
276 setDefaultServiceForCategory(ComponentName service, String category) argument
321 getServices(String category) argument
[all...]
H A DApduServiceInfo.java101 this.mCategoryToGroup.put(aidGroup.category, aidGroup);
181 // Get category of AID group
193 groupCategory + " category");
203 if (!mCategoryToGroup.containsKey(currentGroup.category)) {
205 mCategoryToGroup.put(currentGroup.category, currentGroup);
246 public boolean hasCategory(String category) { argument
247 return mCategoryToGroup.containsKey(category);
372 final String category; field in class:ApduServiceInfo.AidGroup
375 AidGroup(ArrayList<String> aids, String category, String description) { argument
377 this.category
381 AidGroup(String category, String description) argument
[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/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouteSelector.java80 * Returns true if the selector contains the specified category.
82 * @param category The category to check.
83 * @return True if the category is present.
85 public boolean hasControlCategory(String category) { argument
86 if (category != null) {
90 if (mControlCategories.get(i).equals(category)) {
235 * Adds a {@link MediaControlIntent media control category} to the builder.
237 * @param category The category t
241 addControlCategory(String category) argument
[all...]
H A DMediaRouter.java346 * {@link MediaControlIntent#CATEGORY_LIVE_AUDIO live audio media control intent category}
781 * {@link MediaControlIntent media control} category.
787 * @param category A {@link MediaControlIntent media control} category
791 * media control category.
792 * @return True if the route supports the specified intent category.
797 public boolean supportsControlCategory(String category) { argument
798 if (category == null) {
799 throw new IllegalArgumentException("category must not be null");
805 if (mControlFilters.get(i).hasCategory(category)) {
832 supportsControlAction(String category, String action) argument
[all...]
/frameworks/base/core/java/android/hardware/display/
H A DDisplayManager.java69 * Display category: Presentation displays.
71 * This category can be used to identify secondary displays that are suitable for
82 "android.hardware.display.category.PRESENTATION";
127 * display in the {@link #DISPLAY_CATEGORY_PRESENTATION presentation display category}.
205 * Gets all currently valid logical displays of the specified category.
207 * When there are multiple displays in a category the returned displays are sorted
208 * of preference. For example, if the requested category is
215 * @param category The requested display category or null to return all displays.
220 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/java/com/android/server/
H A DUiModeManagerService.java93 static Intent buildHomeIntent(String category) { argument
95 intent.addCategory(category);
405 String category = null;
409 category = Intent.CATEGORY_CAR_DOCK;
414 category = Intent.CATEGORY_DESK_DOCK;
418 category = Intent.CATEGORY_HOME;
424 + mDockState +", category=" + category);
427 sendConfigurationAndStartDreamOrDockAppLocked(category);
445 String category
478 sendConfigurationAndStartDreamOrDockAppLocked(String category) argument
[all...]
/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/base/core/java/android/content/
H A DIntentFilter.java84 * the <strong>action</strong> and <strong>category</strong> must match, and
175 * The part of a match constant that describes the category of match
186 * basic category of match. The value {@link #MATCH_ADJUSTMENT_NORMAL}
193 * Quality adjustment applied to the category of match that signifies
1092 * Add a new Intent category to match against. The semantics of
1095 * filter in order to match. In other words, adding a category to the
1096 * filter has no impact on matching unless that category is specified in
1099 * @param category Name of category to match, i.e. Intent.CATEGORY_EMBED.
1101 public final void addCategory(String category) { argument
1129 hasCategory(String category) argument
[all...]
H A DIntent.java124 * <li> <p><b>category</b> -- Gives additional information about the action
151 * <li> <p><b>{@link #ACTION_MAIN} with category {@link #CATEGORY_HOME}</b> --
161 * <i>*{@literal /}*</i> and category {@link #CATEGORY_OPENABLE}</b>
171 * <p>There are a variety of standard Intent action and category constants
216 * resolution: the action, type, and category. Using this information, a query
260 * &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
266 * &lt;category android:name="android.intent.category.DEFAULT" /&gt;
271 * &lt;category androi
4387 hasCategory(String category) argument
5344 addCategory(String category) argument
5359 removeCategory(String category) argument
[all...]
/frameworks/native/cmds/atrace/
H A Datrace.cpp50 // The name identifying the category.
53 // A longer description of the category.
56 // The userland tracing tags that the category enables.
59 // The fname==NULL terminated list of /sys/ files that the category
63 // category.
243 // Check whether the category is supported on the device with the current
244 // rootness. A category is supported only if all its required /sys/ files are
245 // writable and if enabling the category will enable one or more tracing tags
247 static bool isCategorySupported(const TracingCategory& category) argument
249 bool ok = category
272 isCategorySupportedForRoot(const TracingCategory& category) argument
[all...]
/frameworks/base/tools/aapt/
H A DCommand.cpp470 String8 category = getAttribute(tree, CATEGORY_ATTR, &error); local
476 categories.add(category);
1351 fprintf(stderr, "ERROR getting AID category for service '%s'\n",
1406 if (tag == "category") {
1407 String8 category = getAttribute(tree, NAME_ATTR, &error); local
1413 if (category == "android.intent.category.LAUNCHER") {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/
H A DBearerData.java880 int category = result.getCategory();
881 outStream.write(8, category >> 8);
882 outStream.write(8, category);
1695 int category = (inStream.read(8) << 8) | inStream.read(8);
1704 throw new CodingException("category name is " + textBits + " bits in length,"
1717 CdmaSmsCbProgramData programData = new CdmaSmsCbProgramData(operation, category,
1792 * @param serviceCategory is the service category from the SMS envelope
1806 int category = SmsCbCmasInfo.CMAS_CATEGORY_UNKNOWN;
1850 category = inStream.read(8);
1865 bData.cmasWarningInfo = new SmsCbCmasInfo(messageClass, category, responseTyp
1880 isCmasAlertCategory(int category) argument
[all...]
/frameworks/base/core/java/android/os/
H A DBatteryStats.java1214 * @param category category of data (e.g. "total", "last", "unplugged", "current" )
1218 private static final void dumpLine(PrintWriter pw, int uid, String category, String type, argument
1222 pw.print(category); pw.print(',');
1257 String category = STAT_NAMES[which];
1260 dumpLine(pw, 0 /* uid */, category, BATTERY_DATA,
1301 dumpLine(pw, 0 /* uid */, category, MISC_DATA,
1313 dumpLine(pw, 0 /* uid */, category, SCREEN_BRIGHTNESS_DATA, args);
1320 dumpLine(pw, 0 /* uid */, category, SIGNAL_STRENGTH_TIME_DATA, args);
1321 dumpLine(pw, 0 /* uid */, category, SIGNAL_SCANNING_TIME_DAT
[all...]
/frameworks/base/media/java/android/media/
H A DMediaRouter.java1001 // Enforce that any added route in a groupable category must be in a group.
1083 * Return the {@link MediaRouter.RouteCategory category} at the given index.
1086 * @param index which category to return
1087 * @return the category at index
1124 * @param category The category the new route will belong to
1131 public UserRouteInfo createUserRoute(RouteCategory category) { argument
1132 return new UserRouteInfo(category);
1136 * Create a new route category. Each route must belong to a category
1525 RouteInfo(RouteCategory category) argument
1985 UserRouteInfo(RouteCategory category) argument
2221 RouteGroup(RouteCategory category) argument
[all...]

Completed in 620 milliseconds