MCPcopy Create free account
hub / github.com/CyanogenMod/android_frameworks_base / compileXmlFile

Function compileXmlFile

tools/aapt/ResourceTable.cpp:21–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19#define NOISY(x) //x
20
21status_t compileXmlFile(const sp<AaptAssets>& assets,
22 const sp<AaptFile>& target,
23 ResourceTable* table,
24 int options)
25{
26 sp<XMLNode> root = XMLNode::parse(target);
27 if (root == NULL) {
28 return UNKNOWN_ERROR;
29 }
30
31 return compileXmlFile(assets, root, target, table, options);
32}
33
34status_t compileXmlFile(const sp<AaptAssets>& assets,
35 const sp<AaptFile>& target,

Callers 2

postProcessImageFunction · 0.85
buildResourcesFunction · 0.85

Calls 11

printXMLBlockFunction · 0.85
removeWhitespaceMethod · 0.80
setUTF8Method · 0.80
parseValuesMethod · 0.80
getSizeMethod · 0.65
assignResourceIdsMethod · 0.45
printMethod · 0.45
flattenMethod · 0.45
setToMethod · 0.45
getDataMethod · 0.45
setCompressionMethodMethod · 0.45

Tested by

no test coverage detected