/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | SmsUsageMonitorShortCodeTest.java | 37 final int category; field in class:SmsUsageMonitorShortCodeTest.ShortCodeTest 39 ShortCodeTest(String countryIso, String destAddress, int category) { argument 42 this.category = category; 469 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/base/core/java/com/android/internal/logging/ |
H A D | MetricsLogger.java | 34 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/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 | 49 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 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 | 70 * 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 D | AppItem.java | 30 public int category; field in class:AppItem 67 int comparison = Integer.compare(category, another.category);
|
H A D | SuggestionParser.java | 115 private void readSuggestions(SuggestionCategory category, List<Tile> suggestions) { argument 118 intent.addCategory(category.category); 119 if (category.pkg != null) { 120 intent.setPackage(category.pkg); 132 if (!category.multiple && suggestions.size() > (countBefore + 1)) { 142 // If category is marked as done, do not add any item. 143 if (!isCategoryDone(category.category)) { 182 public boolean isCategoryDone(String category) { argument 187 markCategoryDone(String category) argument 238 public String category; field in class:SuggestionParser.SuggestionCategory [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/ |
H A D | Tile.java | 70 public String category; field in class:Tile 113 dest.writeString(category); 132 category = in.readString();
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | StreamDescriptor.cpp | 148 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 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...] |
/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 | 104 private static Intent buildHomeIntent(String category) { argument 106 intent.addCategory(category); 505 String category = null; 509 category = Intent.CATEGORY_CAR_DOCK; 514 category = Intent.CATEGORY_DESK_DOCK; 518 category = Intent.CATEGORY_HOME; 524 + mDockState +", category=" + category); 527 sendConfigurationAndStartDreamOrDockAppLocked(category); 546 String category 579 sendConfigurationAndStartDreamOrDockAppLocked(String category) argument [all...] |
/frameworks/support/v4/api24/android/support/v4/app/ |
H A D | NotificationCompatApi24.java | 58 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 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/support/v4/api21/android/support/v4/app/ |
H A D | NotificationCompatApi21.java | 69 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 D | NotificationRecord.java | 420 public boolean isCategory(String category) { argument 421 return Objects.equals(getNotification().category, category);
|
/frameworks/base/core/java/android/content/ |
H A D | IntentFilter.java | 85 * 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 485 * {@link android.content.Intent#ACTION_VIEW} and the Intent category is 529 * - either the Intent category is {@link android.content.Intent#CATEGORY_APP_BROWSER} 531 * the Intent category is {@link android.content.Intent#CATEGORY_BROWSABLE} and the Intent 549 * the Intent category is {@link android.content.Intent#CATEGORY_BROWSABLE} and the Intent 600 * the Intent category is {@link android.content.Intent#CATEGORY_BROWSABLE} and the Intent 1348 * Add a new Intent category t 1357 addCategory(String category) argument 1385 hasCategory(String category) argument [all...] |
/frameworks/compile/slang/ |
H A D | slang_rs_export_type.h | 150 // The data type category 151 DataTypeCategory category; member in struct:slang::__anon1253
|
/frameworks/native/cmds/atrace/ |
H A D | atrace.cpp | 62 // 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. 331 // Check whether the category is supported on the device with the current 332 // rootness. A category is supported only if all its required /sys/ files are 333 // writable and if enabling the category will enable one or more tracing tags 335 static bool isCategorySupported(const TracingCategory& category) argument 337 if (strcmp(category 366 isCategorySupportedForRoot(const TracingCategory& category) argument [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LockPatternUtils.java | 741 private static int maxDiffCategory(int category) { argument 742 if (category == 0 || category == 1) return 1; 743 else if (category == 2) return 10; 766 int category = categoryChar(previousChar); //current category of the sequence 775 if (categoryCurrent != category || Math.abs(currentDiff) > maxDiffCategory(category)) { 779 category = categoryCurrent;
|