Home
last modified time | relevance | path

Searched refs:typeString (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/firewall/
DSenderFilter.java48 String typeString = parser.getAttributeValue(null, ATTR_TYPE);
49 if (typeString == null) {
53 if (typeString.equals(VAL_SYSTEM)) {
55 } else if (typeString.equals(VAL_SIGNATURE)) {
57 } else if (typeString.equals(VAL_SYSTEM_OR_SIGNATURE)) {
59 } else if (typeString.equals(VAL_USER_ID)) {
63 "Invalid type attribute for <sender>: " + typeString, parser, null);
/frameworks/base/core/java/android/util/proto/
DProtoStream.java512 String typeString = getFieldTypeString(fieldType); in getFieldIdString() local
513 if (typeString == null) { in getFieldIdString()
514 typeString = "fieldType=" + fieldType; in getFieldIdString()
517 return countString + typeString + " tag=" + ((int) fieldId) in getFieldIdString()
DProtoOutputStream.java2223 final String typeString = getFieldTypeString(fieldType); in checkFieldId() local
2224 if (typeString != null && countString != null) { in checkFieldId()
2242 sb.append(typeString); in checkFieldId()
2245 sb.append(typeString); in checkFieldId()
/frameworks/wilhelm/tests/examples/
DslesTestEffectCapabilities.cpp121 char typeString[GUID_DISPLAY_LENGTH]; in TestGenericFxCapabilities() local
141 guidToString(effectType, typeString); in TestGenericFxCapabilities()
144 fprintf(stdout, " type=%s, impl=%s name=%.*s \n", typeString, implString, effectNameLength, in TestGenericFxCapabilities()
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerShellCommand.java408 private int addOverlayValue(FabricatedOverlay overlay, String resourceName, String typeString, in addOverlayValue() argument
411 typeString = typeString.toLowerCase(Locale.getDefault()); in addOverlayValue()
412 if (TYPE_MAP.containsKey(typeString)) { in addOverlayValue()
413 type = TYPE_MAP.get(typeString); in addOverlayValue()
415 if (typeString.startsWith("0x")) { in addOverlayValue()
416 type = Integer.parseUnsignedInt(typeString.substring(2), 16); in addOverlayValue()
418 type = Integer.parseUnsignedInt(typeString); in addOverlayValue()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierKeyDownloadManager.java665 String typeString = key.getString(JSON_TYPE); in parseJsonAndPersistKey() local
666 if (typeString.equals(JSON_TYPE_VALUE_EPDG)) { in parseJsonAndPersistKey()
668 } else if (!typeString.equals(JSON_TYPE_VALUE_WLAN)) { in parseJsonAndPersistKey()
669 loge( "Invalid key-type specified: " + typeString); in parseJsonAndPersistKey()
/frameworks/av/media/libnblog/
DReportPerformance.cpp201 const char * const typeString = NBLog::threadTypeToString(data.threadInfo.type); in sendToMediaMetrics() local
202 item->setCString(kThreadType, typeString); in sendToMediaMetrics()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardEntry.java2278 for (String typeString : typeCollection) { in addProperty()
2279 if (typeString.equals(VCardConstants.PARAM_TYPE_PREF)) { in addProperty()
2379 for (String typeString : typeCollection) { in addProperty()
2380 if (typeString.equals(VCardConstants.PARAM_TYPE_PREF)) { in addProperty()
2383 if (typeString.equalsIgnoreCase(VCardConstants.PARAM_TYPE_HOME)) { in addProperty()
2385 } else if (typeString.equalsIgnoreCase(VCardConstants.PARAM_TYPE_WORK)) { in addProperty()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java11757 final String typeString = typeStrings[i];
11758 if (TextUtils.isEmpty(typeString)) {
11761 if (typeString.equalsIgnoreCase("ONGOING")) {
11763 } else if (typeString.equalsIgnoreCase("CONVERSATIONS")) {
11765 } else if (typeString.equalsIgnoreCase("SILENT")) {
11767 } else if (typeString.equalsIgnoreCase("ALERTING")) {
11771 types |= Integer.parseInt(typeString);