Home
last modified time | relevance | path

Searched refs:xml_res (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tools/aapt2/cmd/
DUtil.cpp278 Maybe<AppInfo> ExtractAppInfoFromBinaryManifest(xml::XmlResource* xml_res, IDiagnostics* diag) { in ExtractAppInfoFromBinaryManifest() argument
280 xml::Element* manifest_el = xml::FindRootElement(xml_res->root.get()); in ExtractAppInfoFromBinaryManifest()
288 diag->Error(DiagMessage(xml_res->file.source) << "root tag must be <manifest>"); in ExtractAppInfoFromBinaryManifest()
294 diag->Error(DiagMessage(xml_res->file.source) << "<manifest> must have a 'package' attribute"); in ExtractAppInfoFromBinaryManifest()
301 diag->Error(DiagMessage(xml_res->file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromBinaryManifest()
311 diag->Error(DiagMessage(xml_res->file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromBinaryManifest()
322 diag->Error(DiagMessage(xml_res->file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromBinaryManifest()
332 diag->Error(DiagMessage(xml_res->file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromBinaryManifest()
344 diag->Error(DiagMessage(xml_res->file.source.WithLine(uses_sdk_el->line_number)) in ExtractAppInfoFromBinaryManifest()
DUtil.h60 Maybe<AppInfo> ExtractAppInfoFromBinaryManifest(xml::XmlResource* xml_res, IDiagnostics* diag);
DLink.cpp251 static bool FlattenXml(IAaptContext* context, xml::XmlResource* xml_res, const StringPiece& path, in FlattenXml() argument
257 if (!flattener.Consume(context, xml_res)) { in FlattenXml()
758 Maybe<AppInfo> ExtractAppInfoFromManifest(xml::XmlResource* xml_res, IDiagnostics* diag) { in ExtractAppInfoFromManifest() argument
760 xml::Element* manifest_el = xml::FindRootElement(xml_res->root.get()); in ExtractAppInfoFromManifest()
768 diag->Error(DiagMessage(xml_res->file.source) << "root tag must be <manifest>"); in ExtractAppInfoFromManifest()
774 diag->Error(DiagMessage(xml_res->file.source) in ExtractAppInfoFromManifest()
784 diag->Error(DiagMessage(xml_res->file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromManifest()
795 diag->Error(DiagMessage(xml_res->file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromManifest()
/frameworks/base/tools/aapt2/compile/
DXmlIdCollector.h26 bool Consume(IAaptContext* context, xml::XmlResource* xml_res) override;