Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt/
DPackage.cpp41 bool processFile(Bundle* bundle, ZipFile* zip, String8 storageName, const sp<const AaptFile>& file);
246 String8 storageName, const sp<const AaptFile>& file) in processFile() argument
267 int fileNameLen = storageName.length(); in processFile()
270 && (0 == strcmp(storageName.string() + (fileNameLen - excludeExtensionLen), in processFile()
272 fprintf(stderr, "warning: '%s' not added to Zip\n", storageName.string()); in processFile()
276 if (strcasecmp(storageName.getPathExtension().string(), ".gz") == 0) { in processFile()
278 storageName = storageName.getBasePath(); in processFile()
282 entry = zip->getEntryByName(storageName.string()); in processFile()
302 printf(" (removing old '%s')\n", storageName.string()); in processFile()
309 printf(" (not updating '%s')\n", storageName.string()); 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.cpp2498 String8 storageName = String8(fileName).getPathLeaf(); in doAdd() local
2500 ResTable::normalizeForOutput(storageName.string()).string()); in doAdd()
2501 result = zip->add(fileName, storageName.string(), in doAdd()