Home | History | Annotate | Download | only in aapt

Lines Matching refs:storageName

41 bool processFile(Bundle* bundle, ZipFile* zip, String8 storageName, const sp<const AaptFile>& file);
246 String8 storageName, const sp<const AaptFile>& file)
267 int fileNameLen = storageName.length();
270 && (0 == strcmp(storageName.string() + (fileNameLen - excludeExtensionLen),
272 fprintf(stderr, "warning: '%s' not added to Zip\n", storageName.string());
276 if (strcasecmp(storageName.getPathExtension().string(), ".gz") == 0) {
278 storageName = storageName.getBasePath();
282 entry = zip->getEntryByName(storageName.string());
302 printf(" (removing old '%s')\n", storageName.string());
309 printf(" (not updating '%s')\n", storageName.string());
324 result = zip->addGzip(file->getSourceFile().string(), storageName.string(), &entry);
328 if (!okayToCompress(bundle, storageName)) {
331 result = zip->add(file->getSourceFile().string(), storageName.string(), compressionMethod,
334 result = zip->add(file->getData(), file->getSize(), storageName.string(),
339 printf(" '%s'%s", storageName.string(), fromGzip ? " (from .gz)" : "");
409 const char* storageName = entry->getFileName();
410 if (endsWith(storageName, ".class")) {
416 storageName);
419 out->add(data, size, storageName, compressionMethod, NULL);