Searched defs:xmlRes (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/tools/aapt2/compile/
H A DXmlIdCollector.cpp63 bool XmlIdCollector::consume(IAaptContext* context, xml::XmlResource* xmlRes) { argument
64 xmlRes->file.exportedSymbols.clear();
65 IdCollector collector(&xmlRes->file.exportedSymbols);
66 xmlRes->root->accept(&collector);
H A DCompile.cpp330 std::unique_ptr<xml::XmlResource> xmlRes; local
338 xmlRes = xml::inflate(&fin, context->getDiagnostics(), pathData.source);
343 if (!xmlRes) {
349 if (!collector.consume(context, xmlRes.get())) {
353 xmlRes->file.name = ResourceName({}, *parseResourceType(pathData.resourceDir), pathData.name);
354 xmlRes->file.config = pathData.config;
355 xmlRes->file.source = pathData.source;
361 if (!flattener.consume(context, xmlRes.get())) {
365 if (!writeHeaderAndBufferToWriter(outputPath, xmlRes->file, buffer, writer,
/frameworks/base/tools/aapt2/link/
H A DLink.cpp175 static bool flattenXml(xml::XmlResource* xmlRes, const StringPiece& path, Maybe<size_t> maxSdkLevel, argument
182 if (!flattener.consume(context, xmlRes)) {
256 std::unique_ptr<xml::XmlResource> xmlRes = xml::inflate(xmlData, xmlDataLen, diag, source); local
257 if (!xmlRes) {
260 return xmlRes;
579 Maybe<AppInfo> extractAppInfoFromManifest(xml::XmlResource* xmlRes) { argument
581 if (xml::Element* manifestEl = xml::findRootElement(xmlRes->root.get())) {

Completed in 249 milliseconds