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

Method flatten

tools/aapt/ResourceTable.cpp:2066–2071  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2064}
2065
2066sp<AaptFile> ResourceTable::flatten(Bundle* bundle)
2067{
2068 sp<AaptFile> data = new AaptFile(String8(), AaptGroupEntry(), String8());
2069 status_t err = flatten(bundle, data);
2070 return err == NO_ERROR ? data : NULL;
2071}
2072
2073inline uint32_t ResourceTable::getResId(const sp<Package>& p,
2074 const sp<Type>& t,

Callers 1

compileXmlFileFunction · 0.45

Calls 15

AaptGroupEntryClass · 0.85
strcpy16_htodFunction · 0.85
HexDumpClass · 0.85
getUTF16StringsOptionMethod · 0.80
setNameIndexMethod · 0.80
prepareFlattenMethod · 0.80
setTypeStringsMethod · 0.80
createStringBlockMethod · 0.80
setKeyStringsMethod · 0.80
getOutputAPKFileMethod · 0.80
sortByConfigMethod · 0.80
remapStringValueMethod · 0.80

Tested by

no test coverage detected