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

Method addIncludedResources

tools/aapt/AaptAssets.cpp:2645–2650  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2643}
2644
2645status_t AaptAssets::addIncludedResources(const sp<AaptFile>& file)
2646{
2647 const ResTable& res = getIncludedResources();
2648 // XXX dirty!
2649 return const_cast<ResTable&>(res).add(file->getData(), file->getSize(), NULL);
2650}
2651
2652const ResTable& AaptAssets::getIncludedResources() const
2653{

Callers 1

buildResourcesFunction · 0.45

Calls 3

addMethod · 0.65
getSizeMethod · 0.65
getDataMethod · 0.45

Tested by

no test coverage detected