/frameworks/base/tools/aapt/tests/ |
H A D | AaptGroupEntry_test.cpp | 26 static ::testing::AssertionResult TestParse(AaptGroupEntry& entry, const String8& dirName, argument 28 if (entry.initFromDirName(dirName, outType)) { 29 return ::testing::AssertionSuccess() << dirName << " was successfully parsed"; 31 return ::testing::AssertionFailure() << dirName << " could not be parsed";
|
/frameworks/base/include/androidfw/ |
H A D | AssetManager.h | 182 AssetDir* openDir(const char* dirName); 194 AssetDir* openNonAssetDir(const int32_t cookie, const char* dirName); 254 const String8& dirName, const String8& fileName); 262 const asset_path& path, const char* rootDir, const char* dirName); 265 const asset_path& path, const char* rootDir, const char* dirName); 271 const char* dirName); 275 const char* dirName);
|
/frameworks/base/libs/androidfw/ |
H A D | AssetManager.cpp | 1049 const String8& dirName, const String8& fileName) 1054 if (dirName.length() > 0) { 1055 sourceName.appendPath(dirName); 1192 AssetDir* AssetManager::openDir(const char* dirName) argument 1200 assert(dirName != NULL); 1202 //printf("+++ openDir(%s) in '%s'\n", dirName, (const char*) mAssetBase); 1225 ALOGV("Adding directory %s from zip %s", dirName, ap.path.string()); 1226 scanAndMergeZipLocked(pMergedInfo, ap, kAssetsRoot, dirName); 1228 ALOGV("Adding directory %s from dir %s", dirName, ap.path.string()); 1229 scanAndMergeDirLocked(pMergedInfo, ap, kAssetsRoot, dirName); 1048 createZipSourceNameLocked(const String8& zipFileName, const String8& dirName, const String8& fileName) argument 1255 openNonAssetDir(const int32_t cookie, const char* dirName) argument 1307 scanAndMergeDirLocked(SortedVector<AssetDir::FileInfo>* pMergedInfo, const asset_path& ap, const char* rootDir, const char* dirName) argument 1502 String8 sourceName, zipName, dirName; local 1758 fncScanLocked(SortedVector<AssetDir::FileInfo>* pMergedInfo, const char* dirName) argument 1781 fncScanAndMergeDirLocked( SortedVector<AssetDir::FileInfo>* pMergedInfo, const asset_path& ap, const char* locale, const char* vendor, const char* dirName) argument [all...] |
/frameworks/native/include/android/ |
H A D | asset_manager.h | 46 * pass in "" as the dirName. 50 AAssetDir* AAssetManager_openDir(AAssetManager* mgr, const char* dirName);
|
/frameworks/base/native/android/ |
H A D | asset_manager.cpp | 116 AAssetDir* AAssetManager_openDir(AAssetManager* amgr, const char* dirName) argument 119 return new AAssetDir(mgr->openDir(dirName));
|
/frameworks/base/tools/aapt/ |
H A D | AaptAssets.cpp | 372 String8 dirName(""); 374 dirName += language; 376 return dirName; 380 dirName += "-s"; 381 dirName += script; 385 dirName += "-r"; 386 dirName += region; 390 dirName += "-v"; 391 dirName += variant; 394 return dirName; 1267 String8 dirName = entryName.getPathDir(); local [all...] |
H A D | Resource.cpp | 3026 const String8& dirName = d->getLeaf(); local 3030 if ((dirName == String8("layout")) || (strncmp(dirName.string(), "layout-", 7) == 0)) { 3032 } else if ((dirName == String8("xml")) || (strncmp(dirName.string(), "xml-", 4) == 0)) { 3036 } else if ((dirName == String8("menu")) || (strncmp(dirName.string(), "menu-", 5) == 0)) { 3039 } else if (dirName == kTransition || (strncmp(dirName.string(), kTransitionPrefix.string(),
|
/frameworks/native/cmds/installd/ |
H A D | utils.c | 620 static int _add_cache_files(cache_t *cache, cache_dir_t *parentDir, const char *dirName, argument 627 CACHE_NOISY(ALOGI("_add_cache_files: parent=%p dirName=%s dir=%p pathBase=%s", 628 parentDir, dirName, dir, pathBase)); 636 cacheDir = _add_cache_dir_t(cache, parentDir, dirName); 663 cacheDir = _add_cache_dir_t(cache, parentDir, dirName); 666 // Update pathBase for the new path... this may change dirName 692 cacheDir = _add_cache_dir_t(cache, parentDir, dirName); 699 // Build final full path for file... this may change dirName
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | AppCacheTest.java | 58 void cleanUpDirectory(File pDir, String dirName) { argument 59 File testDir = new File(pDir, dirName);
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
H A D | BackupManagerService.java | 406 public String dirName; field in class:BackupManagerService.RestoreParams 418 dirName = _dirName; 432 dirName = _dirName; 446 dirName = _dirName; 701 String dirName = transport.transportDirName(); 702 PerformBackupTask pbt = new PerformBackupTask(transport, dirName, 2326 public PerformBackupTask(IBackupTransport transport, String dirName, argument 2332 mStateDir = new File(mBaseStateDir, dirName); 8812 String dirName = transport.transportDirName(); 8825 msg.obj = new RestoreParams(transport, dirName, nul [all...] |