/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/base/core/java/com/android/internal/logging/ |
H A D | MetricsLogger.java | 33 public static void visible(Context context, int category) throws IllegalArgumentException { argument 34 if (Build.IS_DEBUGGABLE && category == VIEW_UNKNOWN) { 35 throw new IllegalArgumentException("Must define metric category"); 37 EventLogTags.writeSysuiViewVisibility(category, 100); 40 public static void hidden(Context context, int category) throws IllegalArgumentException { argument 41 if (Build.IS_DEBUGGABLE && category == VIEW_UNKNOWN) { 42 throw new IllegalArgumentException("Must define metric category"); 44 EventLogTags.writeSysuiViewVisibility(category, 0); 47 public static void visibility(Context context, int category, boolean visibile) argument 50 visible(context, category); 56 visibility(Context context, int category, int vis) argument 61 action(Context context, int category) argument 65 action(Context context, int category, int value) argument 69 action(Context context, int category, boolean value) argument 73 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/av/services/audiopolicy/engineconfigurable/src/ |
H A D | Stream.cpp | 65 status_t Element<audio_stream_type_t>::setVolumeProfile(Volume::device_category category, argument 68 ALOGD("%s: adding volume profile for %s for device category %d, points nb =%d", __FUNCTION__, 69 getName().c_str(), category, points.size()); 70 mVolumeProfiles[category] = points; 74 __FUNCTION__, getName().c_str(), category, i, points[i].mIndex, 99 ALOGE("%s: device category %d not found for stream %s", __FUNCTION__, deviceCategory, 105 ALOGE("%s: invalid profile for category %d and for stream %s", __FUNCTION__, deviceCategory,
|
H A D | Engine.cpp | 202 float Engine::volIndexToDb(Volume::device_category category, argument 211 return stream->volIndexToDb(category, indexInUi);
|
/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 | 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/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 | 460 * {@link MediaControlIntent#CATEGORY_LIVE_AUDIO live audio media control intent category} 968 * {@link MediaControlIntent media control} category. 974 * @param category A {@link MediaControlIntent media control} category 978 * media control category. 979 * @return True if the route supports the specified intent category. 984 public boolean supportsControlCategory(@NonNull String category) { argument 985 if (category == null) { 986 throw new IllegalArgumentException("category must not be null"); 992 if (mControlFilters.get(i).hasCategory(category)) { 1019 supportsControlAction(@onNull String category, @NonNull String action) argument [all...] |
/frameworks/av/services/audiopolicy/enginedefault/src/ |
H A D | Engine.cpp | 66 float Engine::volIndexToDb(Volume::device_category category, audio_stream_type_t streamType, argument 70 return Gains::volIndexToDb(category, streamDesc, indexInUi);
|
/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 | 98 private static Intent buildHomeIntent(String category) { argument 100 intent.addCategory(category); 461 String category = null; 465 category = Intent.CATEGORY_CAR_DOCK; 470 category = Intent.CATEGORY_DESK_DOCK; 474 category = Intent.CATEGORY_HOME; 480 + mDockState +", category=" + category); 483 sendConfigurationAndStartDreamOrDockAppLocked(category); 502 String category 535 sendConfigurationAndStartDreamOrDockAppLocked(String category) argument [all...] |
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationRecord.java | 277 public boolean isCategory(String category) { argument 278 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/support/v4/api21/android/support/v4/app/ |
H A D | NotificationCompatApi21.java | 65 String category, ArrayList<String> people, Bundle extras, int color, 99 .setCategory(category) 125 return notif.category; 59 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/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 484 * {@link android.content.Intent#ACTION_VIEW} and the Intent category is 528 * - either the Intent category is {@link android.content.Intent#CATEGORY_APP_BROWSER} 530 * the Intent category is {@link android.content.Intent#CATEGORY_BROWSABLE} and the Intent 548 * the Intent category is {@link android.content.Intent#CATEGORY_BROWSABLE} and the Intent 599 * the Intent category is {@link android.content.Intent#CATEGORY_BROWSABLE} and the Intent 1338 * Add a new Intent category t 1347 addCategory(String category) argument 1375 hasCategory(String category) argument [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LockPatternUtils.java | 608 private static int maxDiffCategory(int category) { argument 609 if (category == 0 || category == 1) return 1; 610 else if (category == 2) return 10; 633 int category = categoryChar(previousChar); //current category of the sequence 642 if (categoryCurrent != category || Math.abs(currentDiff) > maxDiffCategory(category)) { 646 category = categoryCurrent;
|
/frameworks/compile/slang/ |
H A D | slang_rs_export_type.h | 139 DataTypeCategory category; member in struct:slang::__anon1211
|
/frameworks/native/cmds/atrace/ |
H A D | atrace.cpp | 53 // The name identifying the category. 56 // A longer description of the category. 59 // The userland tracing tags that the category enables. 62 // The fname==NULL terminated list of /sys/ files that the category 66 // category. 279 // Check whether the category is supported on the device with the current 280 // rootness. A category is supported only if all its required /sys/ files are 281 // writable and if enabling the category will enable one or more tracing tags 283 static bool isCategorySupported(const TracingCategory& category) argument 285 bool ok = category 308 isCategorySupportedForRoot(const TracingCategory& category) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/ |
H A D | BearerData.java | 872 int category = result.getCategory(); 873 outStream.write(8, category >> 8); 874 outStream.write(8, category); 1687 int category = (inStream.read(8) << 8) | inStream.read(8); 1696 throw new CodingException("category name is " + textBits + " bits in length," 1709 CdmaSmsCbProgramData programData = new CdmaSmsCbProgramData(operation, category, 1784 * @param serviceCategory is the service category from the SMS envelope 1798 int category = SmsCbCmasInfo.CMAS_CATEGORY_UNKNOWN; 1842 category = inStream.read(8); 1857 bData.cmasWarningInfo = new SmsCbCmasInfo(messageClass, category, responseTyp 1872 isCmasAlertCategory(int category) argument [all...] |