Home
last modified time | relevance | path

Searched refs:dirName (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/tools/aapt2/
DLocale.cpp228 std::string dirName; in toDirName() local
230 dirName += language; in toDirName()
232 return dirName; in toDirName()
236 dirName += "-s"; in toDirName()
237 dirName += script; in toDirName()
241 dirName += "-r"; in toDirName()
242 dirName += region; in toDirName()
246 dirName += "-v"; in toDirName()
247 dirName += variant; in toDirName()
250 return dirName; in toDirName()
/frameworks/base/tools/aapt/tests/
DAaptGroupEntry_test.cpp26 static ::testing::AssertionResult TestParse(AaptGroupEntry& entry, const String8& dirName, in TestParse() argument
28 if (entry.initFromDirName(dirName, outType)) { in TestParse()
29 return ::testing::AssertionSuccess() << dirName << " was successfully parsed"; in TestParse()
31 return ::testing::AssertionFailure() << dirName << " could not be parsed"; in TestParse()
/frameworks/base/libs/androidfw/
DAssetManager.cpp1046 const String8& dirName, const String8& fileName) in createZipSourceNameLocked() argument
1051 if (dirName.length() > 0) { in createZipSourceNameLocked()
1052 sourceName.appendPath(dirName); in createZipSourceNameLocked()
1187 AssetDir* AssetManager::openDir(const char* dirName) in openDir() argument
1195 assert(dirName != NULL); in openDir()
1220 ALOGV("Adding directory %s from zip %s", dirName, ap.path.string()); in openDir()
1221 scanAndMergeZipLocked(pMergedInfo, ap, kAssetsRoot, dirName); in openDir()
1223 ALOGV("Adding directory %s from dir %s", dirName, ap.path.string()); in openDir()
1224 scanAndMergeDirLocked(pMergedInfo, ap, kAssetsRoot, dirName); in openDir()
1250 AssetDir* AssetManager::openNonAssetDir(const int32_t cookie, const char* dirName) in openNonAssetDir() argument
[all …]
/frameworks/base/include/androidfw/
DAssetManager.h184 AssetDir* openDir(const char* dirName);
196 AssetDir* openNonAssetDir(const int32_t cookie, const char* dirName);
260 const String8& dirName, const String8& fileName);
268 const asset_path& path, const char* rootDir, const char* dirName);
271 const asset_path& path, const char* rootDir, const char* dirName);
277 const char* dirName);
281 const char* dirName);
/frameworks/base/native/android/
Dasset_manager.cpp116 AAssetDir* AAssetManager_openDir(AAssetManager* amgr, const char* dirName) in AAssetManager_openDir() argument
119 return new AAssetDir(mgr->openDir(dirName)); in AAssetManager_openDir()
/frameworks/native/include/android/
Dasset_manager.h88 AAssetDir* AAssetManager_openDir(AAssetManager* mgr, const char* dirName);
/frameworks/native/cmds/installd/
Dutils.cpp674 static int _add_cache_files(cache_t *cache, cache_dir_t *parentDir, const char *dirName, in _add_cache_files() argument
682 parentDir, dirName, dir, pathBase)); in _add_cache_files()
690 cacheDir = _add_cache_dir_t(cache, parentDir, dirName); in _add_cache_files()
717 cacheDir = _add_cache_dir_t(cache, parentDir, dirName); in _add_cache_files()
746 cacheDir = _add_cache_dir_t(cache, parentDir, dirName); in _add_cache_files()
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/
DLayoutXmlProcessor.java273 public static String generateExportFileName(String fileName, String dirName) { in generateExportFileName() argument
274 return fileName + '-' + dirName + ".xml"; in generateExportFileName()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java439 public String dirName; field in BackupManagerService.RestoreParams
453 dirName = _dirName; in RestoreParams()
468 dirName = _dirName; in RestoreParams()
484 dirName = _dirName; in RestoreParams()
500 dirName = _dirName; in RestoreParams()
575 public String dirName; field in BackupManagerService.BackupParams
581 BackupParams(IBackupTransport transport, String dirName, ArrayList<String> kvPackages, in BackupParams() argument
584 this.dirName = dirName; in BackupParams()
795 String dirName = transport.transportDirName(); in handleMessage() local
796 PerformBackupTask pbt = new PerformBackupTask(transport, dirName, in handleMessage()
[all …]
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/loaders/
DLoaderDicom.java266 public static Volume buildVolume(String dirName) { in buildVolume() argument
267 return buildVolume(new File(dirName)); in buildVolume()
/frameworks/base/tools/aapt/
DResource.cpp3102 const String8& dirName = d->getLeaf(); in writeProguardForLayouts() local
3105 if ((dirName == String8("layout")) || (strncmp(dirName.string(), "layout-", 7) == 0)) { in writeProguardForLayouts()
3107 } else if ((dirName == String8("xml")) || (strncmp(dirName.string(), "xml-", 4) == 0)) { in writeProguardForLayouts()
3111 } else if ((dirName == String8("menu")) || (strncmp(dirName.string(), "menu-", 5) == 0)) { in writeProguardForLayouts()
3114 } else if (dirName == kTransition || (strncmp(dirName.string(), kTransitionPrefix.string(), in writeProguardForLayouts()
DAaptAssets.cpp1243 String8 dirName = entryName.getPathDir(); in slurpResourceZip() local
1244 sp<AaptDir> dir = dirName == "" ? this : makeDir(dirName); in slurpResourceZip()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DAppCacheTest.java59 void cleanUpDirectory(File pDir, String dirName) { in cleanUpDirectory() argument
60 File testDir = new File(pDir, dirName); in cleanUpDirectory()