Lines Matching refs:Attribute
140 return xml::AaptAttribute(Attribute(), id); in CreateAttributeWithId()
185 manifest_el->attributes.push_back(xml::Attribute{"", "package", app_info.package}); in GenerateSplitManifest()
189 manifest_el->attributes.push_back(xml::Attribute{ in GenerateSplitManifest()
197 manifest_el->attributes.push_back(xml::Attribute{ in GenerateSplitManifest()
205 manifest_el->attributes.push_back(xml::Attribute{ in GenerateSplitManifest()
221 manifest_el->attributes.push_back(xml::Attribute{"", "split", split_name.str()}); in GenerateSplitManifest()
225 xml::Attribute{"", "configForSplit", app_info.split_name.value()}); in GenerateSplitManifest()
233 manifest_el->attributes.push_back(xml::Attribute{"", "targetConfig", target_config_str.str()}); in GenerateSplitManifest()
238 xml::Attribute{xml::kSchemaAndroid, "hasCode", "false", CreateAttributeWithId(kHasCode), in GenerateSplitManifest()
248 static Maybe<std::string> ExtractCompiledString(const xml::Attribute& attr, in ExtractCompiledString()
272 static Maybe<uint32_t> ExtractCompiledInt(const xml::Attribute& attr, std::string* out_error) { in ExtractCompiledInt()
296 static Maybe<int> ExtractSdkVersion(const xml::Attribute& attr, std::string* out_error) { in ExtractSdkVersion()
348 const xml::Attribute* package_attr = manifest_el->FindAttribute({}, "package"); in ExtractAppInfoFromBinaryManifest()
363 if (const xml::Attribute* version_code_attr = in ExtractAppInfoFromBinaryManifest()
374 if (const xml::Attribute* version_code_major_attr = in ExtractAppInfoFromBinaryManifest()
385 if (const xml::Attribute* revision_code_attr = in ExtractAppInfoFromBinaryManifest()
396 if (const xml::Attribute* split_name_attr = manifest_el->FindAttribute({}, "split")) { in ExtractAppInfoFromBinaryManifest()
407 if (const xml::Attribute* min_sdk = in ExtractAppInfoFromBinaryManifest()