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

/frameworks/base/tools/aapt2/link/
H A DManifestFixer.cpp55 if (xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "name")) {
62 if (xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "name")) {
71 if (xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "name")) {
81 if (el->FindAttribute(xml::kSchemaAndroid, attr) == nullptr) {
94 xml::Attribute* attr = el->FindAttribute({}, kFeatureSplit);
101 xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, kIsFeatureSplit);
121 xml::Attribute* attr = el->FindAttribute({}, "package");
137 attr = el->FindAttribute({}, "split");
151 if (xml::Attribute* attr = el->FindAttribute("", "coreApp")) {
165 if (xml::Attribute* attr = el->FindAttribute(xm
[all...]
H A DManifestFixer_test.cpp128 attr = el->FindAttribute(xml::kSchemaAndroid, "minSdkVersion");
131 attr = el->FindAttribute(xml::kSchemaAndroid, "targetSdkVersion");
147 attr = el->FindAttribute(xml::kSchemaAndroid, "minSdkVersion");
150 attr = el->FindAttribute(xml::kSchemaAndroid, "targetSdkVersion");
166 attr = el->FindAttribute(xml::kSchemaAndroid, "minSdkVersion");
169 attr = el->FindAttribute(xml::kSchemaAndroid, "targetSdkVersion");
183 attr = el->FindAttribute(xml::kSchemaAndroid, "minSdkVersion");
186 attr = el->FindAttribute(xml::kSchemaAndroid, "targetSdkVersion");
255 attr = manifestEl->FindAttribute({}, "package");
262 attr = applicationEl->FindAttribute(xm
[all...]
H A DXmlCompatVersioner.cpp37 xml::Attribute* dst_attr = dst_el->FindAttribute(src_attr.namespace_uri, src_attr.name);
/frameworks/base/tools/aapt2/java/
H A DProguardRules.cpp127 node->FindAttribute(xml::kSchemaAndroid, "fragment");
150 xml::Attribute* attr = node->FindAttribute({}, "class");
172 xml::Attribute* attr = node->FindAttribute({}, "package");
179 node->FindAttribute(xml::kSchemaAndroid, "backupAgent");
189 node->FindAttribute(xml::kSchemaAndroid, "process");
200 node->FindAttribute(xml::kSchemaAndroid, "process");
211 xml::Attribute* attr = node->FindAttribute(xml::kSchemaAndroid, "name");
H A DManifestClassGenerator.cpp67 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;
191 Maybe<android::StringPiece> FindAttribute(const XmlPullParser* parser,
299 inline XmlPullParser::const_iterator XmlPullParser::FindAttribute( function in class:aapt::xml::XmlPullParser
H A DXmlPullParser.cpp285 Maybe<StringPiece> FindAttribute(const XmlPullParser* parser, function in namespace:aapt::xml
287 auto iter = parser->FindAttribute("", name);
296 auto iter = parser->FindAttribute("", name);
H A DXmlDom.h114 Attribute* FindAttribute(const android::StringPiece& ns, const android::StringPiece& name);
115 const Attribute* FindAttribute(const android::StringPiece& ns,
H A DXmlDom.cpp404 Attribute* Element::FindAttribute(const StringPiece& ns, function in class:aapt::xml::Element
414 const Attribute* Element::FindAttribute(const StringPiece& ns, const StringPiece& name) const { function in class:aapt::xml::Element
447 Attribute* attr = el->FindAttribute(attr_ns, attr_name);
/frameworks/base/tools/aapt2/cmd/
H A DUtil.cpp292 xml::Attribute* package_attr = manifest_el->FindAttribute({}, "package");
308 manifest_el->FindAttribute(xml::kSchemaAndroid, "versionCode")) {
319 manifest_el->FindAttribute(xml::kSchemaAndroid, "revisionCode")) {
329 if (xml::Attribute* split_name_attr = manifest_el->FindAttribute({}, "split")) {
341 uses_sdk_el->FindAttribute(xml::kSchemaAndroid, "minSdkVersion")) {
H A DLink.cpp772 xml::Attribute* package_attr = manifest_el->FindAttribute({}, "package");
781 manifest_el->FindAttribute(xml::kSchemaAndroid, "versionCode")) {
792 manifest_el->FindAttribute(xml::kSchemaAndroid, "revisionCode")) {
802 if (xml::Attribute* split_name_attr = manifest_el->FindAttribute({}, "split")) {
810 uses_sdk_el->FindAttribute(xml::kSchemaAndroid, "minSdkVersion")) {
/frameworks/base/tools/aapt2/compile/
H A DInlineXmlFormatParser.cpp58 xml::Attribute* attr = el->FindAttribute({}, "name");
/frameworks/base/tools/aapt2/
H A DResourceParser.cpp643 xml::FindAttribute(parser, "formatted")) {
655 if (Maybe<StringPiece> translatable_attr = xml::FindAttribute(parser, "translatable")) {
887 Maybe<StringPiece> maybe_format = xml::FindAttribute(parser, "format");
900 if (Maybe<StringPiece> maybe_min_str = xml::FindAttribute(parser, "min")) {
918 if (Maybe<StringPiece> maybe_max_str = xml::FindAttribute(parser, "max")) {
1109 Maybe<StringPiece> maybe_parent = xml::FindAttribute(parser, "parent");
1196 if (Maybe<StringPiece> translatable_attr = xml::FindAttribute(parser, "translatable")) {

Completed in 151 milliseconds