Searched refs:FindAttribute (Results 1 - 16 of 16) sorted by relevance

/frameworks/base/tools/aapt2/cmd/
H A DUtil_test.cpp34 EXPECT_EQ(root->FindAttribute("", "split")->value, "config.b_sr_Latn_en_rUS_land");
36 EXPECT_EQ(root->FindAttribute("", "targetConfig")->value, "b+sr+Latn,en-rUS-land");
H A DUtil.cpp332 const xml::Attribute* package_attr = manifest_el->FindAttribute({}, "package");
348 manifest_el->FindAttribute(xml::kSchemaAndroid, "versionCode")) {
359 manifest_el->FindAttribute(xml::kSchemaAndroid, "revisionCode")) {
369 if (const xml::Attribute* split_name_attr = manifest_el->FindAttribute({}, "split")) {
381 uses_sdk_el->FindAttribute(xml::kSchemaAndroid, "minSdkVersion")) {
H A DLink.cpp808 xml::Attribute* attr = manifest_xml->root->FindAttribute(xml::kSchemaAndroid, "versionCode");
831 xml::Attribute* attr = manifest_xml->root->FindAttribute(xml::kSchemaAndroid, "versionName");
945 xml::Attribute* package_attr = manifest_el->FindAttribute({}, "package");
954 manifest_el->FindAttribute(xml::kSchemaAndroid, "versionCode")) {
965 manifest_el->FindAttribute(xml::kSchemaAndroid, "revisionCode")) {
975 if (xml::Attribute* split_name_attr = manifest_el->FindAttribute({}, "split")) {
983 uses_sdk_el->FindAttribute(xml::kSchemaAndroid, "minSdkVersion")) {
/frameworks/base/tools/aapt2/link/
H A DManifestFixer.cpp33 xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "name");
71 if (xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "name")) {
78 xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "name");
88 xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "name");
105 if (el->FindAttribute(xml::kSchemaAndroid, attr) == nullptr) {
118 xml::Attribute* attr = el->FindAttribute({}, kFeatureSplit);
125 xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, kIsFeatureSplit);
145 xml::Attribute* attr = el->FindAttribute({}, "package");
161 attr = el->FindAttribute({}, "split");
175 if (xml::Attribute* attr = el->FindAttribute("", "coreAp
[all...]
H A DXmlCompatVersioner.cpp37 xml::Attribute* dst_attr = dst_el->FindAttribute(src_attr.namespace_uri, src_attr.name);
H A DManifestFixer_test.cpp134 attr = el->FindAttribute(xml::kSchemaAndroid, "minSdkVersion");
137 attr = el->FindAttribute(xml::kSchemaAndroid, "targetSdkVersion");
153 attr = el->FindAttribute(xml::kSchemaAndroid, "minSdkVersion");
156 attr = el->FindAttribute(xml::kSchemaAndroid, "targetSdkVersion");
172 attr = el->FindAttribute(xml::kSchemaAndroid, "minSdkVersion");
175 attr = el->FindAttribute(xml::kSchemaAndroid, "targetSdkVersion");
189 attr = el->FindAttribute(xml::kSchemaAndroid, "minSdkVersion");
192 attr = el->FindAttribute(xml::kSchemaAndroid, "targetSdkVersion");
264 attr = manifest_el->FindAttribute({}, "package");
270 attr = uses_split_el->FindAttribute(xm
[all...]
/frameworks/base/tools/aapt2/java/
H A DProguardRules.cpp179 node->FindAttribute(xml::kSchemaAndroid, "fragment");
201 xml::Attribute* attr = node->FindAttribute({}, "class");
224 xml::Attribute* attr = node->FindAttribute({}, "package");
230 xml::Attribute* attr = node->FindAttribute(xml::kSchemaAndroid, "backupAgent");
238 xml::Attribute* default_process = node->FindAttribute(xml::kSchemaAndroid, "process");
248 xml::Attribute* component_process = node->FindAttribute(xml::kSchemaAndroid, "process");
259 xml::Attribute* attr = node->FindAttribute(xml::kSchemaAndroid, "name");
H A DManifestClassGenerator.cpp61 xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "name");
/frameworks/base/tools/aapt2/xml/
H A DXmlPullParser.h148 const_iterator FindAttribute(android::StringPiece namespace_uri, android::StringPiece name) const;
190 Maybe<android::StringPiece> FindAttribute(const XmlPullParser* parser,
295 inline XmlPullParser::const_iterator XmlPullParser::FindAttribute( function in class:aapt::xml::XmlPullParser
H A DXmlPullParser.cpp290 Maybe<StringPiece> FindAttribute(const XmlPullParser* parser, function in namespace:aapt::xml
292 auto iter = parser->FindAttribute("", name);
301 auto iter = parser->FindAttribute("", name);
H A DXmlDom.h100 Attribute* FindAttribute(const android::StringPiece& ns, const android::StringPiece& name);
101 const Attribute* FindAttribute(const android::StringPiece& ns,
H A DXmlDom.cpp413 Attribute* Element::FindAttribute(const StringPiece& ns, const StringPiece& name) { function in class:aapt::xml::Element
414 return const_cast<Attribute*>(static_cast<const Element*>(this)->FindAttribute(ns, name));
417 const Attribute* Element::FindAttribute(const StringPiece& ns, const StringPiece& name) const { function in class:aapt::xml::Element
427 Attribute* attr = FindAttribute(ns, name);
461 const Attribute* attr = el->FindAttribute(attr_ns, attr_name);
/frameworks/base/tools/aapt2/compile/
H A DInlineXmlFormatParser.cpp52 xml::Attribute* attr = el->FindAttribute({}, "name");
/frameworks/base/tools/aapt2/optimize/
H A DMultiApkGenerator.cpp278 xml::Attribute* versionCode = manifest_el->FindAttribute(kSchemaAndroid, "versionCode");
300 uses_sdk_el->FindAttribute(xml::kSchemaAndroid, "minSdkVersion")) {
/frameworks/base/tools/aapt2/
H A DResourceParser.cpp786 xml::FindAttribute(parser, "formatted")) {
798 if (Maybe<StringPiece> translatable_attr = xml::FindAttribute(parser, "translatable")) {
1112 Maybe<StringPiece> maybe_format = xml::FindAttribute(parser, "format");
1124 if (Maybe<StringPiece> maybe_min_str = xml::FindAttribute(parser, "min")) {
1141 if (Maybe<StringPiece> maybe_max_str = xml::FindAttribute(parser, "max")) {
1322 Maybe<StringPiece> maybe_parent = xml::FindAttribute(parser, "parent");
1405 if (Maybe<StringPiece> translatable_attr = xml::FindAttribute(parser, "translatable")) {
/frameworks/base/tools/aapt2/configuration/
H A DConfigurationParser.cpp115 const xml::Attribute* version = element->FindAttribute("", "version-code-order");

Completed in 111 milliseconds