Home
last modified time | relevance | path

Searched refs:child_el (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/tools/aapt2/java/
DManifestClassGenerator.cpp102 for (xml::Element* child_el : children) { in GenerateManifestClass()
103 if (child_el->namespace_uri.empty()) { in GenerateManifestClass()
104 if (child_el->name == "permission") { in GenerateManifestClass()
105 error |= !WriteSymbol(res->file.source, diag, child_el, permission_class.get()); in GenerateManifestClass()
106 } else if (child_el->name == "permission-group") { in GenerateManifestClass()
107 error |= !WriteSymbol(res->file.source, diag, child_el, permission_group_class.get()); in GenerateManifestClass()
/frameworks/base/tools/aapt2/xml/
DXmlActionExecutor.cpp58 for (Element* child_el : el->GetChildElements()) { in Execute()
59 if (child_el->namespace_uri.empty()) { in Execute()
60 std::map<std::string, XmlNodeAction>::const_iterator iter = map_.find(child_el->name); in Execute()
64 error |= !iter->second.Execute(policy, bread_crumb, diag, child_el); in Execute()
70 DiagMessage error_msg(child_el->line_number); in Execute()
72 PrintElementToDiagMessage(child_el, &error_msg); in Execute()
/frameworks/base/tools/aapt2/link/
DManifestFixer.cpp504 for (xml::Element* child_el : application_el->GetChildElements()) { in RenameManifestPackage()
505 if (child_el->namespace_uri.empty()) { in RenameManifestPackage()
506 if (child_el->name == "activity" || child_el->name == "activity-alias" || in RenameManifestPackage()
507 child_el->name == "provider" || child_el->name == "receiver" || in RenameManifestPackage()
508 child_el->name == "service") { in RenameManifestPackage()
509 FullyQualifyClassName(original_package, xml::kSchemaAndroid, "name", child_el); in RenameManifestPackage()
512 if (child_el->name == "activity-alias") { in RenameManifestPackage()
513 FullyQualifyClassName(original_package, xml::kSchemaAndroid, "targetActivity", child_el); in RenameManifestPackage()
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize_test.cpp259 const xml::Element* child_el = xml::NodeCast<xml::Element>(actual_el.children[1].get()); in TEST() local
260 ASSERT_THAT(child_el, NotNull()); in TEST()
266 EXPECT_THAT(child_el->name, StrEq("child")); in TEST()
267 ASSERT_THAT(child_el->children, SizeIs(1u)); in TEST()
269 child_text = xml::NodeCast<xml::Text>(child_el->children[0].get()); in TEST()
DProtoDeserialize.cpp1010 std::unique_ptr<xml::Element> child_el = util::make_unique<xml::Element>(); in DeserializeXmlFromPb() local
1011 if (!DeserializeXmlFromPb(pb_child, child_el.get(), value_pool, out_error)) { in DeserializeXmlFromPb()
1014 out_el->AppendChild(std::move(child_el)); in DeserializeXmlFromPb()
DProtoSerialize.cpp715 if (const xml::Element* child_el = xml::NodeCast<xml::Element>(child.get())) { in SerializeXmlToPb() local
716 SerializeXmlToPb(*child_el, pb_element->add_child()); in SerializeXmlToPb()
/frameworks/base/tools/aapt2/cmd/
DLink.cpp977 for (const xml::Element* child_el : manifest_el->GetChildElements()) { in ExtractAppInfoFromManifest() local
978 if (child_el->namespace_uri.empty() && child_el->name == "uses-split") { in ExtractAppInfoFromManifest()
980 child_el->FindAttribute(xml::kSchemaAndroid, "name")) { in ExtractAppInfoFromManifest()