Lines Matching refs:el
96 static xml::Attribute* FindAttribute(xml::Element *el, uint32_t resd_id) { in FindAttribute() argument
97 for (auto& a : el->attributes) { in FindAttribute()
108 static xml::Attribute* FindAttribute(xml::Element *el, const std::string &package, in FindAttribute() argument
110 return el->FindAttribute(package, name); in FindAttribute()
126 static std::unique_ptr<Element> Inflate(ManifestExtractor* extractor, xml::Element* el);
150 virtual void Extract(xml::Element* el) { } in Extract() argument
1743 ForEachChild(this, [&printer, &first](ManifestExtractor::Element* el){ in Print() argument
1744 if (auto screen = ElementCast<Screen>(el)) { in Print()
1778 static void Print(ManifestExtractor::Element* el, text::Printer* printer) { in Print() argument
1779 el->Print(printer); in Print()
1780 for (auto &child : el->children()) { in Print()
1815 ForEachChild(manifest, [&printer](ManifestExtractor::Element* el) -> void { in Dump() argument
1816 el->Print(printer); in Dump()
1863 return FindElement(root, [&](ManifestExtractor::Element* el) -> bool { in Dump() argument
1864 if (UsesPermission* permission = ElementCast<UsesPermission>(el)) { in Dump()
1933 ForEachChild(root.get(), [&feature_groups](ManifestExtractor::Element* el) -> void { in Dump() argument
1934 if (auto feature_group = ElementCast<FeatureGroup>(el)) { in Dump()
1953 ForEachChild(root.get(), [&components](ManifestExtractor::Element* el) -> void { in Dump() argument
1954 if (ElementCast<Action>(el)) { in Dump()
1955 auto action = ElementCast<Action>(el); in Dump()
1962 if (ElementCast<Category>(el)) { in Dump()
1963 auto category = ElementCast<Category>(el); in Dump()
1973 ForEachChild(root.get(), [&apk, &components, &diag](ManifestExtractor::Element* el) -> void { in Dump() argument
1974 if (auto service = ElementCast<Service>(el)) { in Dump()
1976 [&](ManifestExtractor::Element* el) -> bool { in Dump() argument
1977 if (auto action = ElementCast<Action>(el)) { in Dump()
1984 [&](ManifestExtractor::Element* el) -> bool { in Dump() argument
1985 if (auto action = ElementCast<Action>(el)) { in Dump()
1992 &offhost_apdu_action](ManifestExtractor::Element* el) -> void { in Dump() argument
1993 if (auto meta_data = ElementCast<MetaData>(el)) { in Dump()
2056 FindElement(root.get(), [&printer](ManifestExtractor::Element* el) -> bool { in Dump() argument
2057 if (auto activity = ElementCast<Activity>(el)) { in Dump()
2066 FindElement(root.get(), [&printer](ManifestExtractor::Element* el) -> bool { in Dump() argument
2067 if (auto receiver = ElementCast<Receiver>(el)) { in Dump()
2076 FindElement(root.get(), [&printer](ManifestExtractor::Element* el) -> bool { in Dump() argument
2077 if (auto service = ElementCast<Service>(el)) { in Dump()
2088 [&](ManifestExtractor::Element* el) -> bool { in Dump() argument
2089 return ElementCast<SupportsScreen>(el) != nullptr; in Dump()
2138 auto has_multi_arch = FindElement(root.get(), [&](ManifestExtractor::Element* el) -> bool { in Dump() argument
2139 if (auto application = ElementCast<Application>(el)) { in Dump()
2247 ManifestExtractor* extractor, xml::Element* el) { in Inflate() argument
2286 auto check = kTagCheck.find(el->name); in Inflate()
2294 element->tag_ = el->name; in Inflate()
2295 element->Extract(el); in Inflate()
2299 std::unique_ptr<ManifestExtractor::Element> ManifestExtractor::Visit(xml::Element* el) { in Visit() argument
2300 auto element = ManifestExtractor::Element::Inflate(this, el); in Visit()
2304 for (xml::Element* child : el->GetChildElements()) { in Visit()