Home
last modified time | relevance | path

Searched refs:compressionMethod (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/tools/aapt2/
DZipFile.h83 status_t add(const char* fileName, int compressionMethod, in add() argument
86 return add(fileName, fileName, compressionMethod, ppEntry); in add()
89 int compressionMethod, ZipEntry** ppEntry) in add() argument
93 compressionMethod, ppEntry); in add()
115 int compressionMethod, ZipEntry** ppEntry) in add() argument
119 compressionMethod, ppEntry); in add()
123 int compressionMethod, ZipEntry** ppEntry);
233 const char* storageName, int sourceType, int compressionMethod,
DZipFile.cpp348 status_t ZipFile::add(const BigBuffer& buffer, const char* storageName, int compressionMethod, in add() argument
351 return add(data.get(), buffer.size(), storageName, compressionMethod, ppEntry); in add()
368 const char* storageName, int sourceType, int compressionMethod, in addCommon() argument
381 assert(compressionMethod == ZipEntry::kCompressDeflated || in addCommon()
382 compressionMethod == ZipEntry::kCompressStored); in addCommon()
424 if (compressionMethod == ZipEntry::kCompressDeflated) { in addCommon()
446 compressionMethod = ZipEntry::kCompressStored; in addCommon()
453 if (compressionMethod == ZipEntry::kCompressStored) { in addCommon()
471 assert(compressionMethod == ZipEntry::kCompressDeflated); in addCommon()
508 compressionMethod); in addCommon()
DZipEntry.cpp250 int compressionMethod) in setDataInfo() argument
252 mCDE.mCompressionMethod = compressionMethod; in setDataInfo()
256 mCDE.mCompressionMethod = compressionMethod; in setDataInfo()
257 if (compressionMethod == kCompressDeflated) { in setDataInfo()
DZipEntry.h189 int compressionMethod);
/frameworks/base/tools/aapt/
DZipFile.h80 status_t add(const char* fileName, int compressionMethod, in add() argument
83 return add(fileName, fileName, compressionMethod, ppEntry); in add()
86 int compressionMethod, ZipEntry** ppEntry) in add() argument
90 compressionMethod, ppEntry); in add()
112 int compressionMethod, ZipEntry** ppEntry) in add() argument
116 compressionMethod, ppEntry); in add()
225 const char* storageName, int sourceType, int compressionMethod,
DPackage.cpp327 int compressionMethod = bundle->getCompressionMethod(); in processFile() local
329 compressionMethod = ZipEntry::kCompressStored; in processFile()
331 result = zip->add(file->getSourceFile().string(), storageName.string(), compressionMethod, in processFile()
411 int compressionMethod = entry->getCompressionMethod(); in processJarFile() local
419 out->add(data, size, storageName, compressionMethod, NULL); in processJarFile()
DZipFile.cpp359 const char* storageName, int sourceType, int compressionMethod, in addCommon() argument
372 assert(compressionMethod == ZipEntry::kCompressDeflated || in addCommon()
373 compressionMethod == ZipEntry::kCompressStored); in addCommon()
415 if (compressionMethod == ZipEntry::kCompressDeflated) { in addCommon()
437 compressionMethod = ZipEntry::kCompressStored; in addCommon()
444 if (compressionMethod == ZipEntry::kCompressStored) { in addCommon()
462 assert(compressionMethod == ZipEntry::kCompressDeflated); in addCommon()
499 compressionMethod); in addCommon()
DZipEntry.cpp242 int compressionMethod) in setDataInfo() argument
244 mCDE.mCompressionMethod = compressionMethod; in setDataInfo()
248 mCDE.mCompressionMethod = compressionMethod; in setDataInfo()
249 if (compressionMethod == kCompressDeflated) { in setDataInfo()
DZipEntry.h186 int compressionMethod);
/frameworks/multidex/library/test/src/android/support/multidex/
DZipEntryReader.java64 int compressionMethod = in.getShort() & 0xffff; in readEntry() local
86 entry.setMethod(compressionMethod); in readEntry()
/frameworks/base/include/androidfw/
DAsset.h172 int compressionMethod, size_t compressedLength,
281 status_t openChunk(int fd, off64_t offset, int compressionMethod,
/frameworks/base/libs/androidfw/
DAsset.cpp260 int compressionMethod, size_t uncompressedLen, size_t compressedLen,
267 result = pAsset->openChunk(fd, offset, compressionMethod,
705 int compressionMethod, size_t uncompressedLen, size_t compressedLen) in openChunk() argument
713 if (compressionMethod != ZipFileRO::kCompressDeflated) { in openChunk()