Home
last modified time | relevance | path

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

/aosp14/frameworks/base/tools/aapt/
H A DPackage.cpp246 String8 storageName, const sp<const AaptFile>& file) in processFile() argument
267 int fileNameLen = storageName.length(); 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()
328 if (!okayToCompress(bundle, storageName)) { in processFile()
334 result = zip->add(file->getData(), file->getSize(), storageName.string(), in processFile()
409 const char* storageName = entry->getFileName(); in processJarFile() local
410 if (endsWith(storageName, ".class")) { in processJarFile()
416 storageName); in processJarFile()
[all …]
H A 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,
H A 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()
H A DCommand.cpp2494 String8 storageName = String8(fileName).getPathLeaf(); in doAdd() local
2496 ResTable::normalizeForOutput(storageName.string()).string()); in doAdd()
2497 result = zip->add(fileName, storageName.string(), in doAdd()