/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
D | SimpleInflater.java | 66 String tagName; in parseMenu() local 73 tagName = parser.getName(); in parseMenu() 74 if (tagName.equals(XML_MENU)) { in parseMenu() 80 throw new RuntimeException("Expecting menu, got " + tagName); in parseMenu() 93 tagName = parser.getName(); in parseMenu() 94 if (tagName.equals(XML_ITEM)) { in parseMenu() 96 } else if (tagName.equals(XML_MENU)) { in parseMenu() 100 unknownTagName = tagName; in parseMenu() 105 tagName = parser.getName(); in parseMenu() 106 if (lookingForEndOfUnknownTag && tagName.equals(unknownTagName)) { in parseMenu() [all …]
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/mdnsFilter/ |
D | VendorConfig.java | 153 @NonNull XmlPullParser parser, @NonNull String tagName, boolean resolveReferences) in readSimpleTag() argument 155 parser.require(XmlPullParser.START_TAG, null, tagName); in readSimpleTag() 157 parser.require(XmlPullParser.END_TAG, null, tagName); in readSimpleTag() 182 @NonNull String tagName, @NonNull String subTagName, @NonNull TagReader<T> tagReader) in readTagList() argument 186 parser.require(XmlPullParser.START_TAG, null, tagName); in readTagList() 196 "Unexpected subtag of " + tagName + ": " + parser.getName()); in readTagList() 224 public VendorConfig readTag(XmlPullParser parser, String tagName) in readVendorConfigs() 226 return readVendorConfig(context, parser, tagName); in readVendorConfigs() 255 @NonNull XmlPullParser parser, @NonNull String tagName) throws XmlPullParserException, in readVendorConfig() argument 257 parser.require(XmlPullParser.START_TAG, null, tagName); in readVendorConfig() [all …]
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/serialization/ |
D | KeyChainSnapshotDeserializer.java | 334 private static int readIntTag(XmlPullParser parser, String tagName) in readIntTag() argument 336 parser.require(XmlPullParser.START_TAG, NAMESPACE, tagName); in readIntTag() 338 parser.require(XmlPullParser.END_TAG, NAMESPACE, tagName); in readIntTag() 344 Locale.US, "%s expected int but got '%s'", tagName, text), e); in readIntTag() 348 private static long readLongTag(XmlPullParser parser, String tagName) in readLongTag() argument 350 parser.require(XmlPullParser.START_TAG, NAMESPACE, tagName); in readLongTag() 352 parser.require(XmlPullParser.END_TAG, NAMESPACE, tagName); in readLongTag() 358 Locale.US, "%s expected long but got '%s'", tagName, text), e); in readLongTag() 362 private static String readStringTag(XmlPullParser parser, String tagName) in readStringTag() argument 364 parser.require(XmlPullParser.START_TAG, NAMESPACE, tagName); in readStringTag() [all …]
|
/frameworks/base/tools/stats_log_api_gen/ |
D | java_writer_q.cpp | 124 const char* tagName = attributionDecl.fields.back().name.c_str(); in write_java_methods_q_schema() local 130 fprintf(out, "%s if (%s == null) {\n", indent.c_str(), tagName); in write_java_methods_q_schema() 131 fprintf(out, "%s %s = new %s[0];\n", indent.c_str(), tagName, in write_java_methods_q_schema() 138 tagName); in write_java_methods_q_schema() 143 tagName); in write_java_methods_q_schema() 145 indent.c_str(), argIndex, tagName, tagName); in write_java_methods_q_schema() 335 const char* tagName = attributionDecl.fields.back().name.c_str(); in write_java_methods_q_schema() local 338 indent.c_str(), uidName, tagName); in write_java_methods_q_schema() 416 const char* tagName = attributionDecl.fields.back().name.c_str(); in write_java_helpers_for_q_schema_methods() local 420 fprintf(out, "%s buff[pos + 1] = (byte) (%s.length);\n", indent.c_str(), tagName); in write_java_helpers_for_q_schema_methods() [all …]
|
D | native_writer.cpp | 108 const char* tagName = attributionDecl.fields.back().name.c_str(); in write_native_stats_write_methods() local 110 uidName, uidName, tagName); in write_native_stats_write_methods() 152 const char* tagName = attributionDecl.fields.back().name.c_str(); in write_native_stats_write_methods() local 157 uidName, tagName, uidName); in write_native_stats_write_methods() 227 const char* tagName = attributionDecl.fields.back().name.c_str(); in write_native_stats_write_non_chained_methods() local 230 fprintf(out, " const std::vector<char const*> %s(1, arg2);\n", tagName); in write_native_stats_write_non_chained_methods()
|
D | java_writer.cpp | 173 const char* tagName = attributionDecl.fields.back().name.c_str(); in write_java_methods() local 179 indent.c_str(), tagName, tagName); in write_java_methods() 267 const char* tagName = attributionDecl.fields.back().name.c_str(); in write_java_methods() local 268 fprintf(out, ", %s, %s", uidName, tagName); in write_java_methods()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
D | ReflectionInflater.java | 81 public final T createItem(String tagName, String prefix, AttributeSet attrs) { in createItem() argument 82 String qualifiedName = tagName; in createItem() 98 constructorMap.put(tagName, constructor); in createItem() 114 protected T onCreateItem(String tagName, AttributeSet attrs) { in onCreateItem() argument 115 return createItem(tagName, defaultPackage, attrs); in onCreateItem()
|
/frameworks/base/services/core/java/com/android/server/net/watchlist/ |
D | WatchlistConfig.java | 122 String tagName = parser.getName(); in reloadConfig() local 123 switch (tagName) { in reloadConfig() 125 parseHashes(parser, tagName, crc32DomainList); in reloadConfig() 128 parseHashes(parser, tagName, crc32IpList); in reloadConfig() 131 parseHashes(parser, tagName, sha256DomainList); in reloadConfig() 134 parseHashes(parser, tagName, sha256IpList); in reloadConfig() 153 private void parseHashes(XmlPullParser parser, String tagName, List<byte[]> hashList) in parseHashes() argument 155 parser.require(XmlPullParser.START_TAG, null, tagName); in parseHashes() 163 parser.require(XmlPullParser.END_TAG, null, tagName); in parseHashes()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PersistentPreferredActivity.java | 61 String tagName = parser.getName(); in PersistentPreferredActivity() local 65 tagName = parser.getName(); in PersistentPreferredActivity() 69 if (tagName.equals(ATTR_FILTER)) { in PersistentPreferredActivity() 73 "Unknown element: " + tagName + in PersistentPreferredActivity() 79 if (tagName.equals(ATTR_FILTER)) { in PersistentPreferredActivity()
|
D | CrossProfileIntentFilter.java | 72 String tagName = parser.getName(); in CrossProfileIntentFilter() local 76 tagName = parser.getName(); in CrossProfileIntentFilter() 80 if (tagName.equals(ATTR_FILTER)) { in CrossProfileIntentFilter() 84 + Settings.TAG_CROSS_PROFILE_INTENT_FILTERS + ": " + tagName + " at " in CrossProfileIntentFilter() 91 if (tagName.equals(ATTR_FILTER)) { in CrossProfileIntentFilter()
|
D | PackageSignatures.java | 55 void writeXml(XmlSerializer serializer, String tagName, in writeXml() argument 60 serializer.startTag(null, tagName); in writeXml() 75 serializer.endTag(null, tagName); in writeXml() 169 String tagName = parser.getName(); in readCertsListXml() local 170 if (tagName.equals("cert")) { in readCertsListXml() 261 } else if (tagName.equals("pastSigs")) { in readCertsListXml()
|
/frameworks/base/core/java/android/view/ |
D | MenuInflater.java | 133 String tagName; in parseMenu() local 140 tagName = parser.getName(); in parseMenu() 141 if (tagName.equals(XML_MENU)) { in parseMenu() 147 throw new RuntimeException("Expecting menu, got " + tagName); in parseMenu() 160 tagName = parser.getName(); in parseMenu() 161 if (tagName.equals(XML_GROUP)) { in parseMenu() 163 } else if (tagName.equals(XML_ITEM)) { in parseMenu() 165 } else if (tagName.equals(XML_MENU)) { in parseMenu() 174 unknownTagName = tagName; in parseMenu() 179 tagName = parser.getName(); in parseMenu() [all …]
|
/frameworks/base/cmds/incident_helper/src/parsers/ |
D | EventLogTagsParser.cpp | 37 string tagName = behead(&line, ' '); in Parse() local 38 if (tagNumber == "" || tagName == "") { in Parse() 40 debug.c_str(), tagNumber.c_str(), tagName.c_str()); in Parse() 46 proto.write(EventLogTag::TAG_NAME, tagName); in Parse()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | XmlUtils.java | 1410 final String tagName = parser.getName(); in readThisValueXml() local 1416 if (tagName.equals("null")) { in readThisValueXml() 1418 } else if (tagName.equals("string")) { in readThisValueXml() 1439 } else if ((res = readThisPrimitiveValueXml(parser, tagName)) != null) { in readThisValueXml() 1441 } else if (tagName.equals("byte-array")) { in readThisValueXml() 1446 } else if (tagName.equals("int-array")) { in readThisValueXml() 1451 } else if (tagName.equals("long-array")) { in readThisValueXml() 1456 } else if (tagName.equals("double-array")) { in readThisValueXml() 1461 } else if (tagName.equals("string-array")) { in readThisValueXml() 1466 } else if (tagName.equals("boolean-array")) { in readThisValueXml() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | XmlUtilHelper.java | 1417 final String tagName = parser.getName(); in readThisValueXml() local 1423 if (tagName.equals("null")) { in readThisValueXml() 1425 } else if (tagName.equals("string")) { in readThisValueXml() 1446 } else if ((res = readThisPrimitiveValueXml(parser, tagName)) != null) { in readThisValueXml() 1448 } else if (tagName.equals("byte-array")) { in readThisValueXml() 1453 } else if (tagName.equals("int-array")) { in readThisValueXml() 1458 } else if (tagName.equals("long-array")) { in readThisValueXml() 1463 } else if (tagName.equals("double-array")) { in readThisValueXml() 1468 } else if (tagName.equals("string-array")) { in readThisValueXml() 1473 } else if (tagName.equals("boolean-array")) { in readThisValueXml() [all …]
|
/frameworks/base/core/java/android/nfc/cardemulation/ |
D | AidGroup.java | 181 String tagName = parser.getName(); in createFromXml() local 183 if (tagName.equals("aid")) { in createFromXml() 192 } else if (tagName.equals("aid-group")) { in createFromXml() 200 Log.d(TAG, "Ignoring unexpected tag: " + tagName); in createFromXml() 203 if (tagName.equals("aid-group") && inGroup && aids.size() > 0) { in createFromXml()
|
D | NfcFServiceInfo.java | 123 String tagName = parser.getName(); in NfcFServiceInfo() local 124 if (!"host-nfcf-service".equals(tagName)) { in NfcFServiceInfo() 147 tagName = parser.getName(); in NfcFServiceInfo() 149 "system-code-filter".equals(tagName) && systemCode == null) { in NfcFServiceInfo() 161 "nfcid2-filter".equals(tagName) && nfcid2 == null) { in NfcFServiceInfo() 173 } else if (eventType == XmlPullParser.START_TAG && tagName.equals("t3tPmm-filter") in NfcFServiceInfo()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | DeviceDescriptor.cpp | 38 const std::string &tagName, in DeviceDescriptor() argument 40 DeviceDescriptor(type, tagName, "" /*address*/, encodedFormats) in DeviceDescriptor() 45 const std::string &tagName, in DeviceDescriptor() argument 48 DeviceDescriptor(AudioDeviceTypeAddr(type, address), tagName, encodedFormats) in DeviceDescriptor() 53 const std::string &tagName, in DeviceDescriptor() argument 55 DeviceDescriptorBase(deviceTypeAddr), mTagName(tagName), mEncodedFormats(encodedFormats) in DeviceDescriptor() 340 sp<DeviceDescriptor> DeviceVector::getDeviceFromTagName(const std::string &tagName) const in getDeviceFromTagName() 343 if (device->getTagName() == tagName) { in getDeviceFromTagName()
|
D | AudioCollections.cpp | 28 const std::string &tagName) in findByTagName() argument 31 if (port->getTagName() == tagName) { in findByTagName()
|
/frameworks/base/core/java/android/security/net/config/ |
D | XmlConfigSource.java | 144 String tagName = parser.getName(); in parsePinSet() local 145 if (tagName.equals("pin")) { in parsePinSet() 208 String tagName = parser.getName(); in parseTrustAnchors() local 209 if (tagName.equals("certificates")) { in parseTrustAnchors() 250 String tagName = parser.getName(); in parseConfigEntry() local 251 if ("domain".equals(tagName)) { in parseConfigEntry() 258 } else if ("trust-anchors".equals(tagName)) { in parseConfigEntry() 266 } else if ("pin-set".equals(tagName)) { in parseConfigEntry() 276 } else if ("domain-config".equals(tagName)) { in parseConfigEntry()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiBackupDataV1Parser.java | 296 String tagName = valueName[0]; in parseWifiConfigurationFromXmlInternal() local 297 if (tagName == null) { in parseWifiConfigurationFromXmlInternal() 302 if (!supportedTags.contains(tagName)) { in parseWifiConfigurationFromXmlInternal() 303 Log.w(TAG, "Unsupported tag + \"" + tagName + "\" found in <WifiConfiguration>" in parseWifiConfigurationFromXmlInternal() 310 switch (tagName) { in parseWifiConfigurationFromXmlInternal() 456 String tagName = valueName[0]; in parseIpConfigurationFromXml() local 457 if (tagName == null) { in parseIpConfigurationFromXml() 462 if (!supportedTags.contains(tagName)) { in parseIpConfigurationFromXml() 463 Log.w(TAG, "Unsupported tag + \"" + tagName + "\" found in <IpConfiguration>" in parseIpConfigurationFromXml() 472 switch (tagName) { in parseIpConfigurationFromXml()
|
/frameworks/base/core/java/android/content/pm/parsing/component/ |
D | ParsedAttributionUtils.java | 84 String tagName = parser.getName(); in parseAttribution() local 85 if (tagName.equals("inherit-from")) { in parseAttribution() 104 return input.error("Bad element under <attribution>: " + tagName); in parseAttribution()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | DeviceDescriptor.h | 39 DeviceDescriptor(audio_devices_t type, const std::string &tagName, 41 DeviceDescriptor(audio_devices_t type, const std::string &tagName, 43 DeviceDescriptor(const AudioDeviceTypeAddr &deviceTypeAddr, const std::string &tagName = "", 135 sp<DeviceDescriptor> getDeviceFromTagName(const std::string &tagName) const;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/ |
D | ControlsFavoritePersistenceWrapper.kt | 185 val tagName = parser.name ?: "" in <lambda>() constant 186 if (type == XmlPullParser.START_TAG && tagName == TAG_STRUCTURE) { in <lambda>() 190 } else if (type == XmlPullParser.START_TAG && tagName == TAG_CONTROL) { in <lambda>() 198 } else if (type == XmlPullParser.END_TAG && tagName == TAG_STRUCTURE) { in <lambda>()
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/ |
D | SimpleInflaterTest.java | 52 protected StringBuilder onCreateItem(String tagName, AttributeSet attrs) { in onCreateItem() argument 54 return new StringBuilder(tagName).append("[").append(attribute).append("]"); in onCreateItem()
|