/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 | 152 @NonNull XmlPullParser parser, @NonNull String tagName, boolean resolveReferences) in readSimpleTag() argument 154 parser.require(XmlPullParser.START_TAG, null, tagName); in readSimpleTag() 156 parser.require(XmlPullParser.END_TAG, null, tagName); in readSimpleTag() 181 @NonNull String tagName, @NonNull String subTagName, @NonNull TagReader<T> tagReader) in readTagList() argument 185 parser.require(XmlPullParser.START_TAG, null, tagName); in readTagList() 195 "Unexpected subtag of " + tagName + ": " + parser.getName()); in readTagList() 223 public VendorConfig readTag(XmlPullParser parser, String tagName) in readVendorConfigs() 225 return readVendorConfig(context, parser, tagName); in readVendorConfigs() 254 @NonNull XmlPullParser parser, @NonNull String tagName) throws XmlPullParserException, in readVendorConfig() argument 256 parser.require(XmlPullParser.START_TAG, null, tagName); in readVendorConfig() [all …]
|
/frameworks/base/tools/aapt2/flatten/ |
D | XmlFlattener_test.cpp | 92 const char16_t* tagName = tree.getElementName(&len); in TEST_F() local 93 EXPECT_EQ(StringPiece16(tagName, len), u"View"); in TEST_F() 105 tagName = tree.getElementName(&len); in TEST_F() 106 EXPECT_EQ(StringPiece16(tagName, len), u"Layout"); in TEST_F() 119 tagName = tree.getElementName(&len); in TEST_F() 120 EXPECT_EQ(StringPiece16(tagName, len), u"Layout"); in TEST_F() 129 tagName = tree.getElementName(&len); in TEST_F() 130 EXPECT_EQ(StringPiece16(tagName, len), u"Layout"); in TEST_F() 134 tagName = tree.getElementName(&len); in TEST_F() 135 EXPECT_EQ(StringPiece16(tagName, len), u"View"); in TEST_F()
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/ |
D | SupportMenuInflater.java | 137 String tagName; in parseMenu() local 144 tagName = parser.getName(); in parseMenu() 145 if (tagName.equals(XML_MENU)) { in parseMenu() 151 throw new RuntimeException("Expecting menu, got " + tagName); in parseMenu() 164 tagName = parser.getName(); in parseMenu() 165 if (tagName.equals(XML_GROUP)) { in parseMenu() 167 } else if (tagName.equals(XML_ITEM)) { in parseMenu() 169 } else if (tagName.equals(XML_MENU)) { in parseMenu() 177 unknownTagName = tagName; in parseMenu() 182 tagName = parser.getName(); in parseMenu() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PersistentPreferredActivity.java | 56 String tagName = parser.getName(); in PersistentPreferredActivity() local 60 tagName = parser.getName(); in PersistentPreferredActivity() 64 if (tagName.equals(ATTR_FILTER)) { in PersistentPreferredActivity() 68 "Unknown element: " + tagName + in PersistentPreferredActivity() 74 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 | 47 void writeXml(XmlSerializer serializer, String tagName, in writeXml() argument 52 serializer.startTag(null, tagName); in writeXml() 75 serializer.endTag(null, tagName); in writeXml() 101 String tagName = parser.getName(); in readXml() local 102 if (tagName.equals("cert")) { in readXml()
|
D | SELinuxMMAC.java | 202 String tagName = parser.getName(); in readSignerOrThrow() local 203 if ("seinfo".equals(tagName)) { in readSignerOrThrow() 207 } else if ("package".equals(tagName)) { in readSignerOrThrow() 209 } else if ("cert".equals(tagName)) { in readSignerOrThrow() 245 String tagName = parser.getName(); in readPackageOrThrow() local 246 if ("seinfo".equals(tagName)) { in readPackageOrThrow()
|
D | Settings.java | 1447 String tagName = parser.getName(); in readPreferredActivitiesLPw() local 1448 if (tagName.equals(TAG_ITEM)) { in readPreferredActivitiesLPw() 1475 String tagName = parser.getName(); in readPersistentPreferredActivitiesLPw() local 1476 if (tagName.equals(TAG_ITEM)) { in readPersistentPreferredActivitiesLPw() 1497 final String tagName = parser.getName(); in readCrossProfileIntentFiltersLPw() local 1498 if (tagName.equals(TAG_ITEM)) { in readCrossProfileIntentFiltersLPw() 1503 tagName; in readCrossProfileIntentFiltersLPw() 1526 final String tagName = parser.getName(); in readRestoredIntentFilterVerifications() local 1527 if (tagName.equals(TAG_DOMAIN_VERIFICATION)) { in readRestoredIntentFilterVerifications() 1535 Slog.w(TAG, "Unknown element: " + tagName); in readRestoredIntentFilterVerifications() [all …]
|
D | PreferredActivity.java | 55 public boolean onReadTag(String tagName, XmlPullParser parser) throws XmlPullParserException, in onReadTag() argument 57 if (tagName.equals("filter")) { in onReadTag()
|
D | KeySetManagerService.java | 710 final String tagName = parser.getName(); in readKeySetsLPw() local 711 if (tagName.equals("keys")) { in readKeySetsLPw() 713 } else if (tagName.equals("keysets")) { in readKeySetsLPw() 715 } else if (tagName.equals("lastIssuedKeyId")) { in readKeySetsLPw() 717 } else if (tagName.equals("lastIssuedKeySetId")) { in readKeySetsLPw() 734 final String tagName = parser.getName(); in readKeysLPw() local 735 if (tagName.equals("public-key")) { in readKeysLPw() 751 final String tagName = parser.getName(); in readKeySetListLPw() local 752 if (tagName.equals("keyset")) { in readKeySetListLPw() 758 } else if (tagName.equals("key-id")) { in readKeySetListLPw()
|
D | PreferredComponent.java | 56 public boolean onReadTag(String tagName, XmlPullParser parser) in onReadTag() argument 126 String tagName = parser.getName(); in PreferredComponent() local 129 if (tagName.equals(TAG_SET)) { in PreferredComponent() 156 } else if (!mCallbacks.onReadTag(tagName, parser)) { in PreferredComponent()
|
/frameworks/base/core/java/android/view/ |
D | MenuInflater.java | 130 String tagName; in parseMenu() local 137 tagName = parser.getName(); in parseMenu() 138 if (tagName.equals(XML_MENU)) { in parseMenu() 144 throw new RuntimeException("Expecting menu, got " + tagName); in parseMenu() 157 tagName = parser.getName(); in parseMenu() 158 if (tagName.equals(XML_GROUP)) { in parseMenu() 160 } else if (tagName.equals(XML_ITEM)) { in parseMenu() 162 } else if (tagName.equals(XML_MENU)) { in parseMenu() 171 unknownTagName = tagName; in parseMenu() 176 tagName = parser.getName(); in parseMenu() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | XmlUtils.java | 1349 final String tagName = parser.getName(); in readThisValueXml() local 1355 if (tagName.equals("null")) { in readThisValueXml() 1357 } else if (tagName.equals("string")) { in readThisValueXml() 1378 } else if ((res = readThisPrimitiveValueXml(parser, tagName)) != null) { in readThisValueXml() 1380 } else if (tagName.equals("int-array")) { in readThisValueXml() 1385 } else if (tagName.equals("long-array")) { in readThisValueXml() 1390 } else if (tagName.equals("double-array")) { in readThisValueXml() 1395 } else if (tagName.equals("string-array")) { in readThisValueXml() 1400 } else if (tagName.equals("boolean-array")) { in readThisValueXml() 1405 } else if (tagName.equals("map")) { in readThisValueXml() [all …]
|
/frameworks/base/core/java/android/nfc/cardemulation/ |
D | AidGroup.java | 156 String tagName = parser.getName(); in createFromXml() local 158 if (tagName.equals("aid")) { in createFromXml() 167 } else if (tagName.equals("aid-group")) { in createFromXml() 175 Log.d(TAG, "Ignoring unexpected tag: " + tagName); in createFromXml() 178 if (tagName.equals("aid-group") && inGroup && aids.size() > 0) { in createFromXml()
|
D | NfcFServiceInfo.java | 114 String tagName = parser.getName(); in NfcFServiceInfo() local 115 if (!"host-nfcf-service".equals(tagName)) { in NfcFServiceInfo() 137 tagName = parser.getName(); in NfcFServiceInfo() 139 "system-code-filter".equals(tagName) && systemCode == null) { in NfcFServiceInfo() 151 "nfcid2-filter".equals(tagName) && nfcid2 == null) { in NfcFServiceInfo()
|
D | ApduServiceInfo.java | 147 String tagName = parser.getName(); in ApduServiceInfo() local 148 if (onHost && !"host-apdu-service".equals(tagName)) { in ApduServiceInfo() 151 } else if (!onHost && !"offhost-apdu-service".equals(tagName)) { in ApduServiceInfo() 196 tagName = parser.getName(); in ApduServiceInfo() 197 if (eventType == XmlPullParser.START_TAG && "aid-group".equals(tagName) && in ApduServiceInfo() 220 } else if (eventType == XmlPullParser.END_TAG && "aid-group".equals(tagName) && in ApduServiceInfo() 230 } else if (eventType == XmlPullParser.START_TAG && "aid-filter".equals(tagName) && in ApduServiceInfo() 243 "aid-prefix-filter".equals(tagName) && currentGroup != null) { in ApduServiceInfo()
|
/frameworks/base/core/java/android/security/net/config/ |
D | XmlConfigSource.java | 154 String tagName = parser.getName(); in parsePinSet() local 155 if (tagName.equals("pin")) { in parsePinSet() 216 String tagName = parser.getName(); in parseTrustAnchors() local 217 if (tagName.equals("certificates")) { in parseTrustAnchors() 258 String tagName = parser.getName(); in parseConfigEntry() local 259 if ("domain".equals(tagName)) { in parseConfigEntry() 266 } else if ("trust-anchors".equals(tagName)) { in parseConfigEntry() 274 } else if ("pin-set".equals(tagName)) { in parseConfigEntry() 284 } else if ("domain-config".equals(tagName)) { in parseConfigEntry()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioCollections.cpp | 28 sp<AudioPort> AudioPortVector::findByTagName(const String8 &tagName) const in findByTagName() 32 if (itemAt(i)->getTagName() == tagName) { in findByTagName()
|
D | DeviceDescriptor.cpp | 27 DeviceDescriptor::DeviceDescriptor(audio_devices_t type, const String8 &tagName) : in DeviceDescriptor() argument 31 mAddress(""), mTagName(tagName), mDeviceType(type), mId(0) in DeviceDescriptor() 193 sp<DeviceDescriptor> DeviceVector::getDeviceFromTagName(const String8 &tagName) const in getDeviceFromTagName() 197 if (itemAt(i)->getTagName() == tagName) { in getDeviceFromTagName()
|
/frameworks/av/camera/ |
D | VendorTagDescriptor.cpp | 142 String8 tagName = parcel->readString8(); in readFromParcel() local 143 if (tagName.isEmpty()) { in readFromParcel() 157 mTagToNameMap.add(tag, tagName); in readFromParcel() 263 String8 tagName = mTagToNameMap[i]; in writeToParcel() local 268 if ((res = parcel->writeString8(tagName)) != OK) break; in writeToParcel() 373 const char *tagName = vOps->get_tag_name(vOps, tag); in createDescriptorFromOps() local 374 if (tagName == NULL) { in createDescriptorFromOps() 378 desc->mTagToNameMap.add(tag, String8(tagName)); in createDescriptorFromOps()
|
/frameworks/base/services/core/java/com/android/server/fingerprint/ |
D | FingerprintsUserState.java | 239 String tagName = parser.getName(); in parseStateLocked() local 240 if (tagName.equals(TAG_FINGERPRINTS)) { in parseStateLocked() 257 String tagName = parser.getName(); in parseFingerprintsLocked() local 258 if (tagName.equals(TAG_FINGERPRINT)) { in parseFingerprintsLocked()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | DeviceDescriptor.h | 33 DeviceDescriptor(audio_devices_t type, const String8 &tagName = String8("")); 82 sp<DeviceDescriptor> getDeviceFromTagName(const String8 &tagName) const;
|
D | HwModule.h | 78 sp<AudioPort> findPortByTagName(const String8 &tagName) const in findPortByTagName() argument 80 return mPorts.findByTagName(tagName); in findPortByTagName()
|
/frameworks/base/core/java/android/content/pm/ |
D | IntentFilterVerificationInfo.java | 160 String tagName = parser.getName(); in readFromXml() local 161 if (tagName.equals(TAG_DOMAIN)) { in readFromXml() 167 Log.w(TAG, "Unknown tag parsing IntentFilter: " + tagName); in readFromXml()
|