Lines Matching refs:AaptDir
619 status_t AaptDir::addFile(const String8& name, const sp<AaptGroup>& file) in addFile()
628 status_t AaptDir::addDir(const String8& name, const sp<AaptDir>& dir) in addDir()
637 sp<AaptDir> AaptDir::makeDir(const String8& path) in makeDir()
642 sp<AaptDir> subdir = this; in makeDir()
651 sp<AaptDir> dir = new AaptDir(name, subdir->mPath.appendPathCopy(name)); in makeDir()
656 void AaptDir::removeFile(const String8& name) in removeFile()
661 void AaptDir::removeDir(const String8& name) in removeDir()
666 status_t AaptDir::addLeafFile(const String8& leafName, const sp<AaptFile>& file, in addLeafFile()
680 ssize_t AaptDir::slurpFullTree(Bundle* bundle, const String8& srcDir, in slurpFullTree()
732 sp<AaptDir> subdir; in slurpFullTree()
737 subdir = new AaptDir(fileNames[i], mPath.appendPathCopy(fileNames[i])); in slurpFullTree()
767 status_t AaptDir::validate() const in validate()
831 void AaptDir::print(const String8& prefix) const in print()
845 String8 AaptDir::getPrintableSource() const in getPrintableSource()
909 : AaptDir(String8(), String8()), in AaptAssets()
923 return AaptDir::addFile(name, file); in addFile()
931 sp<AaptDir> dir = this; in addFile()
964 sp<AaptDir> subdir = new AaptDir(rootStr, partialPath); in addFile()
982 sp<AaptDir> res = AaptDir::makeDir(kResString); in addResource()
984 sp<AaptDir> subdir = res->makeDir(dirname); in addResource()
1031 sp<AaptDir> assetAaptDir = makeDir(String8(kAssetDir)); in slurpFromArgs()
1147 ssize_t res = AaptDir::slurpFullTree(bundle, srcDir, kind, resType, fullResPaths, overwrite); in slurpFullTree()
1207 sp<AaptDir> dir = makeDir(resType); in slurpResourceTree()
1222 sp<AaptDir> rdir = resDir(resType); in slurpResourceTree()
1268 sp<AaptDir> dir = dirName == "" ? this : makeDir(dirName); in slurpResourceZip()
1368 const Vector<sp<AaptDir> >& resdirs = mResDirs; in filter()
1371 const sp<AaptDir>& dir = resdirs.itemAt(i); in filter()
1618 AaptDir::print(innerPrefix); in print()
1621 const Vector<sp<AaptDir> >& resdirs = mResDirs; in print()
1624 const sp<AaptDir>& d = resdirs.itemAt(i); in print()
1630 sp<AaptDir> AaptAssets::resDir(const String8& name) const in resDir()
1632 const Vector<sp<AaptDir> >& resdirs = mResDirs; in resDir()
1635 const sp<AaptDir>& d = resdirs.itemAt(i); in resDir()