Home
last modified time | relevance | path

Searched refs:storageName (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tools/aapt/
DPackage.cpp43 bool processFile(Bundle* bundle, ZipFile* zip, String8 storageName, const sp<const AaptFile>& file);
248 String8 storageName, const sp<const AaptFile>& file) in processFile() argument
269 int fileNameLen = storageName.length(); in processFile()
272 && (0 == strcmp(storageName.c_str() + (fileNameLen - excludeExtensionLen), in processFile()
274 fprintf(stderr, "warning: '%s' not added to Zip\n", storageName.c_str()); in processFile()
278 if (strcasecmp(getPathExtension(storageName).c_str(), ".gz") == 0) { in processFile()
280 storageName = getBasePath(storageName); in processFile()
284 entry = zip->getEntryByName(storageName.c_str()); in processFile()
304 printf(" (removing old '%s')\n", storageName.c_str()); in processFile()
311 printf(" (not updating '%s')\n", storageName.c_str()); in processFile()
[all …]
DZipFile.h85 status_t add(const char* fileName, const char* storageName, in add() argument
88 return addCommon(fileName, NULL, 0, storageName, in add()
98 status_t addGzip(const char* fileName, const char* storageName, in addGzip() argument
101 return addCommon(fileName, NULL, 0, storageName, in addGzip()
111 status_t add(const void* data, size_t size, const char* storageName, in add() argument
114 return addCommon(NULL, data, size, storageName, in add()
225 const char* storageName, int sourceType, int compressionMethod,
DZipFile.cpp359 const char* storageName, int sourceType, int compressionMethod, in addCommon() argument
380 if (getEntryByName(storageName) != NULL) in addCommon()
395 pEntry->initNew(storageName, NULL); in addCommon()
DCommand.cpp2495 String8 storageName = getPathLeaf(String8(fileName)); in doAdd() local
2497 ResTable::normalizeForOutput(storageName.c_str()).c_str()); in doAdd()
2498 result = zip->add(fileName, storageName.c_str(), in doAdd()