Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/cmd/
DUtil.cpp333 Maybe<AppInfo> ExtractAppInfoFromBinaryManifest(const xml::XmlResource& xml_res, in ExtractAppInfoFromBinaryManifest() argument
336 const xml::Element* manifest_el = xml_res.root.get(); in ExtractAppInfoFromBinaryManifest()
344 diag->Error(DiagMessage(xml_res.file.source) << "root tag must be <manifest>"); in ExtractAppInfoFromBinaryManifest()
350 diag->Error(DiagMessage(xml_res.file.source) << "<manifest> must have a 'package' attribute"); in ExtractAppInfoFromBinaryManifest()
357 diag->Error(DiagMessage(xml_res.file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromBinaryManifest()
367 diag->Error(DiagMessage(xml_res.file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromBinaryManifest()
378 diag->Error(DiagMessage(xml_res.file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromBinaryManifest()
389 diag->Error(DiagMessage(xml_res.file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromBinaryManifest()
399 diag->Error(DiagMessage(xml_res.file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromBinaryManifest()
411 diag->Error(DiagMessage(xml_res.file.source.WithLine(uses_sdk_el->line_number)) in ExtractAppInfoFromBinaryManifest()
DUtil.h62 Maybe<AppInfo> ExtractAppInfoFromBinaryManifest(const xml::XmlResource& xml_res,
DLink.cpp223 static bool FlattenXml(IAaptContext* context, const xml::XmlResource& xml_res, in FlattenXml() argument
240 if (!flattener.Consume(context, &xml_res)) { in FlattenXml()
254 SerializeXmlResourceToPb(xml_res, &pb_node); in FlattenXml()
907 Maybe<AppInfo> ExtractAppInfoFromManifest(xml::XmlResource* xml_res, IDiagnostics* diag) { in ExtractAppInfoFromManifest() argument
910 xml::Element* manifest_el = xml::FindRootElement(xml_res->root.get()); in ExtractAppInfoFromManifest()
918 diag->Error(DiagMessage(xml_res->file.source) << "root tag must be <manifest>"); in ExtractAppInfoFromManifest()
924 diag->Error(DiagMessage(xml_res->file.source) in ExtractAppInfoFromManifest()
934 diag->Error(DiagMessage(xml_res->file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromManifest()
945 diag->Error(DiagMessage(xml_res->file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromManifest()
957 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;