Lines Matching refs:dirName
973 const String8& dirName, const String8& fileName) in createZipSourceNameLocked() argument
978 if (dirName.length() > 0) { in createZipSourceNameLocked()
979 sourceName.appendPath(dirName); in createZipSourceNameLocked()
1116 AssetDir* AssetManager::openDir(const char* dirName) in openDir() argument
1124 assert(dirName != NULL); in openDir()
1149 ALOGV("Adding directory %s from zip %s", dirName, ap.path.string()); in openDir()
1150 scanAndMergeZipLocked(pMergedInfo, ap, kAssetsRoot, dirName); in openDir()
1152 ALOGV("Adding directory %s from dir %s", dirName, ap.path.string()); in openDir()
1153 scanAndMergeDirLocked(pMergedInfo, ap, kAssetsRoot, dirName); in openDir()
1179 AssetDir* AssetManager::openNonAssetDir(void* cookie, const char* dirName) in openNonAssetDir() argument
1187 assert(dirName != NULL); in openNonAssetDir()
1203 ALOGV("Adding directory %s from zip %s", dirName, ap.path.string()); in openNonAssetDir()
1204 scanAndMergeZipLocked(pMergedInfo, ap, NULL, dirName); in openNonAssetDir()
1206 ALOGV("Adding directory %s from dir %s", dirName, ap.path.string()); in openNonAssetDir()
1207 scanAndMergeDirLocked(pMergedInfo, ap, NULL, dirName); in openNonAssetDir()
1232 const asset_path& ap, const char* rootDir, const char* dirName) in scanAndMergeDirLocked() argument
1251 if (dirName[0] != '\0') in scanAndMergeDirLocked()
1252 path.appendPath(dirName); in scanAndMergeDirLocked()
1296 if (dirName[0] != '\0') in scanAndMergeDirLocked()
1297 path.appendPath(dirName); in scanAndMergeDirLocked()
1426 String8 sourceName, zipName, dirName; in scanAndMergeZipLocked() local
1437 if (rootDir != NULL) dirName = rootDir; in scanAndMergeZipLocked()
1438 dirName.appendPath(baseDirName); in scanAndMergeZipLocked()
1456 int dirNameLen = dirName.length(); in scanAndMergeZipLocked()
1469 (strncmp(nameBuf, dirName.string(), dirNameLen) == 0 && in scanAndMergeZipLocked()
1487 createZipSourceNameLocked(zipName, dirName, info.getFileName())); in scanAndMergeZipLocked()
1517 createZipSourceNameLocked(zipName, dirName, info.getFileName())); in scanAndMergeZipLocked()
1676 const char* dirName) in fncScanLocked() argument
1682 fncScanAndMergeDirLocked(pMergedInfo, ap, NULL, NULL, dirName); in fncScanLocked()
1684 fncScanAndMergeDirLocked(pMergedInfo, ap, mLocale, NULL, dirName); in fncScanLocked()
1686 fncScanAndMergeDirLocked(pMergedInfo, ap, NULL, mVendor, dirName); in fncScanLocked()
1688 fncScanAndMergeDirLocked(pMergedInfo, ap, mLocale, mVendor, dirName); in fncScanLocked()
1701 const char* dirName) in fncScanAndMergeDirLocked() argument
1711 if (dirName[0] != '\0') { in fncScanAndMergeDirLocked()
1712 partialPath.appendPath(dirName); in fncScanAndMergeDirLocked()
1727 String8 subdir(dirName); in fncScanAndMergeDirLocked()
1738 if (dirName[0] == '\0') { in fncScanAndMergeDirLocked()