/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | SmsUsageMonitorShortCodeTest.java | 36 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 D | DisplayManagerJellybeanMr1.java | 35 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 D | DisplayManagerCompat.java | 34 * 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 D | AidGroup.java | 33 final String category; field in class:AidGroup 40 * @param category The category of this group, e.g. {@link CardEmulation#CATEGORY_PAYMENT} 42 public AidGroup(List<String> aids, String category) { argument 54 if (isValidCategory(category)) { 55 this.category = category; 57 this.category = CardEmulation.CATEGORY_OTHER; 66 AidGroup(String category, String description) { argument 68 this.category 183 isValidCategory(String category) argument [all...] |
H A D | CardEmulation.java | 55 * 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 D | ApduServiceInfo.java | 67 * Mapping from category to static AID group 72 * Mapping from category to dynamic AID group 103 this.mStaticAidGroups.put(aidGroup.category, aidGroup); 106 this.mDynamicAidGroups.put(aidGroup.category, aidGroup); 186 // Get category of AID group 198 groupCategory + " category"); 208 if (!mStaticAidGroups.containsKey(currentGroup.category)) { 209 mStaticAidGroups.put(currentGroup.category, currentGroup); 260 * a static (manifest-based) AID group for a category and a dynamic 262 * for that category 276 getDynamicAidGroupForCategory(String category) argument 280 removeDynamicAidGroupForCategory(String category) argument 321 hasCategory(String category) argument [all...] |
/frameworks/base/telephony/java/android/telephony/cdma/ |
H A D | CdmaSmsCbProgramResults.java | 38 /** 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 D | CdmaSmsCbProgramData.java | 33 /** 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 D | MediaRouteSelector.java | 82 * 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...] |
H A D | MediaRouter.java | 409 * {@link MediaControlIntent#CATEGORY_LIVE_AUDIO live audio media control intent category} 896 * {@link MediaControlIntent media control} category. 902 * @param category A {@link MediaControlIntent media control} category 906 * media control category. 907 * @return True if the route supports the specified intent category. 912 public boolean supportsControlCategory(@NonNull String category) { argument 913 if (category == null) { 914 throw new IllegalArgumentException("category must not be null"); 920 if (mControlFilters.get(i).hasCategory(category)) { 947 supportsControlAction(@onNull String category, @NonNull String action) argument [all...] |
/frameworks/base/core/java/android/hardware/display/ |
H A D | DisplayManager.java | 72 * 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 D | SafeSaxTest.java | 280 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 D | UiModeManagerService.java | 97 private static Intent buildHomeIntent(String category) { argument 99 intent.addCategory(category); 454 String category = null; 458 category = Intent.CATEGORY_CAR_DOCK; 463 category = Intent.CATEGORY_DESK_DOCK; 467 category = Intent.CATEGORY_HOME; 473 + mDockState +", category=" + category); 476 sendConfigurationAndStartDreamOrDockAppLocked(category); 495 String category 528 sendConfigurationAndStartDreamOrDockAppLocked(String category) argument [all...] |
/frameworks/support/v4/api21/android/support/v4/app/ |
H A D | NotificationCompatApi21.java | 55 String category, ArrayList<String> people, Bundle extras, int color, 89 .setCategory(category) 114 return notif.category; 49 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) argument
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationRecord.java | 245 public boolean isCategory(String category) { argument 246 return Objects.equals(getNotification().category, category);
|
/frameworks/opt/telephony/src/java/android/telephony/ |
H A D | SmsCbCmasInfo.java | 31 // 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 D | IntentFilter.java | 84 * 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 1155 * Add a new Intent category to match against. The semantics of 1158 * filter in order to match. In other words, adding a category to the 1159 * filter has no impact on matching unless that category is specified in 1162 * @param category Name of category to match, i.e. Intent.CATEGORY_EMBED. 1164 public final void addCategory(String category) { argument 1192 hasCategory(String category) argument [all...] |
/frameworks/compile/slang/ |
H A D | slang_rs_export_type.h | 139 DataTypeCategory category; member in struct:slang::__anon1136
|
/frameworks/native/cmds/atrace/ |
H A D | atrace.cpp | 51 // The name identifying the category. 54 // A longer description of the category. 57 // The userland tracing tags that the category enables. 60 // The fname==NULL terminated list of /sys/ files that the category 64 // category. 263 // Check whether the category is supported on the device with the current 264 // rootness. A category is supported only if all its required /sys/ files are 265 // writable and if enabling the category will enable one or more tracing tags 267 static bool isCategorySupported(const TracingCategory& category) argument 269 bool ok = category 292 isCategorySupportedForRoot(const TracingCategory& category) argument [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LockPatternUtils.java | 673 private static int maxDiffCategory(int category) { argument 674 if (category == 0 || category == 1) return 1; 675 else if (category == 2) return 10; 698 int category = categoryChar(previousChar); //current category of the sequence 707 if (categoryCurrent != category || Math.abs(currentDiff) > maxDiffCategory(category)) { 711 category = categoryCurrent;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/ |
H A D | BearerData.java | 893 int category = result.getCategory(); 894 outStream.write(8, category >> 8); 895 outStream.write(8, category); 1708 int category = (inStream.read(8) << 8) | inStream.read(8); 1717 throw new CodingException("category name is " + textBits + " bits in length," 1730 CdmaSmsCbProgramData programData = new CdmaSmsCbProgramData(operation, category, 1805 * @param serviceCategory is the service category from the SMS envelope 1819 int category = SmsCbCmasInfo.CMAS_CATEGORY_UNKNOWN; 1863 category = inStream.read(8); 1878 bData.cmasWarningInfo = new SmsCbCmasInfo(messageClass, category, responseTyp 1893 isCmasAlertCategory(int category) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | MediaRouter.java | 1003 // Enforce that any added route in a groupable category must be in a group. 1085 * Return the {@link MediaRouter.RouteCategory category} at the given index. 1088 * @param index which category to return 1089 * @return the category at index 1126 * @param category The category the new route will belong to 1133 public UserRouteInfo createUserRoute(RouteCategory category) { argument 1134 return new UserRouteInfo(category); 1138 * Create a new route category. Each route must belong to a category 1527 RouteInfo(RouteCategory category) argument 1988 UserRouteInfo(RouteCategory category) argument 2271 RouteGroup(RouteCategory category) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | Command.cpp | 440 String8 category = AaptXml::getAttribute(tree, CATEGORY_ATTR, &error); local 446 categories.add(category); 1668 fprintf(stderr, "ERROR getting AID category for service '%s'\n", 1738 if (tag == "category") { 1739 String8 category = AaptXml::getAttribute(tree, NAME_ATTR, &error); local 1746 if (category == "android.intent.category.LAUNCHER") { 1748 } else if (category == "android.intent.category.LEANBACK_LAUNCHER") { 1750 } else if (category [all...] |
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | NotificationCompat.java | 370 * Notification category: incoming call (voice or video) or similar synchronous communication request. 375 * Notification category: incoming direct message (SMS, instant message, etc.). 380 * Notification category: asynchronous bulk message (email). 385 * Notification category: calendar event. 390 * Notification category: promotion or advertisement. 395 * Notification category: alarm or timer. 400 * Notification category: progress of a long-running background operation. 405 * Notification category: social network or sharing update. 410 * Notification category: error in background operation or authentication status. 415 * Notification category 1209 setCategory(String category) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | Notification.java | 87 = "android.intent.category.NOTIFICATION_PREFERENCES"; 571 * Notification category: incoming call (voice or video) or similar synchronous communication request. 576 * Notification category: incoming direct message (SMS, instant message, etc.). 581 * Notification category: asynchronous bulk message (email). 586 * Notification category: calendar event. 591 * Notification category: promotion or advertisement. 596 * Notification category: alarm or timer. 601 * Notification category: progress of a long-running background operation. 606 * Notification category: social network or sharing update. 611 * Notification category 646 public String category; field in class:Notification 2388 setCategory(String category) argument [all...] |