Searched refs:manifest_el (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/tools/aapt2/xml/
H A DXmlActionExecutor_test.cpp31 Element* manifest_el = nullptr; local
33 manifest_el = manifest;
48 ASSERT_THAT(manifest_el, NotNull());
49 EXPECT_EQ(std::string("manifest"), manifest_el->name);
/frameworks/base/tools/aapt2/cmd/
H A DUtil.cpp159 std::unique_ptr<xml::Element> manifest_el = util::make_unique<xml::Element>(); local
160 manifest_el->namespace_decls.push_back(CreateAndroidNamespaceDecl());
161 manifest_el->name = "manifest";
162 manifest_el->attributes.push_back(xml::Attribute{"", "package", app_info.package});
166 manifest_el->attributes.push_back(xml::Attribute{
174 manifest_el->attributes.push_back(xml::Attribute{
190 manifest_el->attributes.push_back(xml::Attribute{"", "split", split_name.str()});
193 manifest_el->attributes.push_back(
202 manifest_el->attributes.push_back(xml::Attribute{"", "targetConfig", target_config_str.str()});
210 manifest_el
303 xml::Element* manifest_el = xml_res->root.get(); local
[all...]
H A DLink.cpp766 xml::Element* manifest_el = xml::FindRootElement(xml_res->root.get()); local
767 if (manifest_el == nullptr) {
773 if (!manifest_el->namespace_uri.empty() || manifest_el->name != "manifest") {
778 xml::Attribute* package_attr = manifest_el->FindAttribute({}, "package");
787 manifest_el->FindAttribute(xml::kSchemaAndroid, "versionCode")) {
790 diag->Error(DiagMessage(xml_res->file.source.WithLine(manifest_el->line_number))
798 manifest_el->FindAttribute(xml::kSchemaAndroid, "revisionCode")) {
801 diag->Error(DiagMessage(xml_res->file.source.WithLine(manifest_el->line_number))
808 if (xml::Attribute* split_name_attr = manifest_el
[all...]
/frameworks/base/tools/aapt2/link/
H A DManifestFixer.cpp373 static bool RenameManifestPackage(const StringPiece& package_override, xml::Element* manifest_el) {
374 xml::Attribute* attr = manifest_el->FindAttribute({}, "package");
384 manifest_el->Accept(&visitor);

Completed in 123 milliseconds