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

Method addDir

tools/aapt/AaptAssets.cpp:1704–1711  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1702}
1703
1704status_t AaptDir::addDir(const String8& name, const sp<AaptDir>& dir)
1705{
1706 if (mDirs.indexOfKey(name) >= 0) {
1707 return ALREADY_EXISTS;
1708 }
1709 mDirs.add(name, dir);
1710 return NO_ERROR;
1711}
1712
1713sp<AaptDir> AaptDir::makeDir(const String8& path)
1714{

Callers 1

addFileMethod · 0.80

Calls 2

addMethod · 0.65
indexOfKeyMethod · 0.45

Tested by

no test coverage detected