Home
last modified time | relevance | path

Searched refs:ZipEntry (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/tools/aapt/
DZipEntry.cpp39 status_t ZipEntry::initFromCDE(FILE* fp) in initFromCDE()
112 void ZipEntry::initNew(const char* fileName, const char* comment) in initNew()
144 status_t ZipEntry::initFromExternal(const ZipFile* pZipFile, in initFromExternal()
145 const ZipEntry* pEntry) in initFromExternal()
198 status_t ZipEntry::addPadding(int padding) in addPadding()
234 void ZipEntry::copyCDEtoLFH(void) in copyCDEtoLFH()
259 void ZipEntry::setDataInfo(long uncompLen, long compLen, unsigned long crc32, in setDataInfo()
280 bool ZipEntry::compareHeaders(void) const in compareHeaders()
338 time_t ZipEntry::getModWhen(void) const in getModWhen()
357 void ZipEntry::setModWhen(time_t when) in setModWhen()
[all …]
DZipFile.h81 ZipEntry** ppEntry) in add()
86 int compressionMethod, ZipEntry** ppEntry) in add()
89 ZipEntry::kCompressStored, in add()
99 ZipEntry** ppEntry) in addGzip()
102 ZipEntry::kCompressDeflated, in addGzip()
103 ZipEntry::kCompressDeflated, ppEntry); in addGzip()
112 int compressionMethod, ZipEntry** ppEntry) in add()
115 ZipEntry::kCompressStored, in add()
126 status_t add(const ZipFile* pSourceZip, const ZipEntry* pSourceEntry,
127 int padding, ZipEntry** ppEntry);
[all …]
DZipFile.cpp135 ZipEntry* ZipFile::getEntryByIndex(int idx) const in getEntryByIndex()
146 ZipEntry* ZipFile::getEntryByName(const char* fileName) const in getEntryByName()
161 ZipEntry* pEntry = mEntries[idx]; in getEntryByName()
254 ZipEntry::getLongLE(&buf[i]) == EndOfCentralDir::kSignature) in readCentralDir()
309 ZipEntry* pEntry = new ZipEntry; in readCentralDir()
332 if (ZipEntry::getLongLE(checkBuf) != EndOfCentralDir::kSignature) { in readCentralDir()
360 ZipEntry** ppEntry) in addCommon()
362 ZipEntry* pEntry = NULL; in addCommon()
372 assert(compressionMethod == ZipEntry::kCompressDeflated || in addCommon()
373 compressionMethod == ZipEntry::kCompressStored); in addCommon()
[all …]
DZipEntry.h46 class ZipEntry {
50 ZipEntry(void) in ZipEntry() function
53 ~ZipEntry(void) {} in ~ZipEntry()
174 status_t initFromExternal(const ZipFile* pZipFile, const ZipEntry* pEntry);
206 ZipEntry(const ZipEntry& src);
207 ZipEntry& operator=(const ZipEntry& src);
DPackage.cpp147 ZipEntry* entry = zip->getEntryByIndex(i); in writeAPK()
250 ZipEntry* entry; in processFile()
329 compressionMethod = ZipEntry::kCompressStored; in processFile()
340 if (entry->getCompressionMethod() == ZipEntry::kCompressStored) { in processFile()
409 ZipEntry* entry = jar->getEntryByIndex(i); in processJarFile()
DAndroid.mk48 ZipEntry.cpp \
DMain.cpp256 bundle.setCompressionMethod(ZipEntry::kCompressDeflated); in main()
492 bundle.setCompressionMethod(ZipEntry::kCompressStored); in main()
DCommand.cpp113 if (method == ZipEntry::kCompressStored) { in compressionName()
115 } else if (method == ZipEntry::kCompressDeflated) { in compressionName()
145 const ZipEntry* entry; in doList()
2182 ZipEntry* entry; in doRemove()
DAaptAssets.h158 , mCompression(ZipEntry::kCompressStored) in AaptFile()
DAaptAssets.cpp1260 ZipEntry* entry = zip->getEntryByIndex(i); in slurpResourceZip()
DResource.cpp1112 outFile->setCompressionMethod(ZipEntry::kCompressDeflated); in generateAndroidManifestForSplit()
/frameworks/multidex/library/test/src/android/support/multidex/
DZipUtilTest.java37 import java.util.zip.ZipEntry;
84 Map<String, ZipEntry> toCheck = new HashMap<String, ZipEntry>(); in testCrcRange()
88 ZipEntry entry = ZipEntryReader.readEntry(buffer); in testCrcRange()
94 Enumeration<? extends ZipEntry> ref = zip.entries(); in testCrcRange()
96 ZipEntry refEntry = ref.nextElement(); in testCrcRange()
97 ZipEntry checkEntry = toCheck.get(refEntry.getName()); in testCrcRange()
114 Enumeration<? extends ZipEntry> ref = zip.entries(); in testCrcValue()
117 ZipEntry refEntry = ref.nextElement(); in testCrcValue()
144 Enumeration<? extends ZipEntry> ref = zip.entries(); in testInvalidCrcValue()
147 ZipEntry refEntry = ref.nextElement(); in testInvalidCrcValue()
DZipEntryReader.java28 import java.util.zip.ZipEntry;
50 static ZipEntry readEntry(ByteBuffer in) throws IOException { in readEntry()
85 ZipEntry entry = new ZipEntry(name); in readEntry()
/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java46 import java.util.zip.ZipEntry;
266 for (final ZipEntry zipEntry : Collections.list(privateZip.entries())) { in extractPublicFiles()
296 private static void copyZipEntry(ZipEntry zipEntry, ZipFile inZipFile, in copyZipEntry()
301 ZipEntry newEntry; in copyZipEntry()
302 if (zipEntry.getMethod() == ZipEntry.STORED) { in copyZipEntry()
304 newEntry = new ZipEntry(zipEntry); in copyZipEntry()
307 newEntry = new ZipEntry(zipEntry.getName()); in copyZipEntry()
/frameworks/base/libs/androidfw/
DZipFileRO.cpp49 ZipEntry entry;
108 const ZipEntry& ze = zipEntry->entry; in getEntryInfo()
196 const ZipEntry& ze = zipEntry->entry; in createEntryFileMap()
/frameworks/multidex/library/src/android/support/multidex/
DMultiDexExtractor.java37 import java.util.zip.ZipEntry;
179 ZipEntry dexFile = apk.getEntry(DEX_PREFIX + secondaryNumber + DEX_SUFFIX); in performExtractions()
305 private static void extract(ZipFile apk, ZipEntry dexFile, File extractTo, in extract()
316 ZipEntry classesDex = new ZipEntry("classes.dex"); in extract()
/frameworks/base/core/java/com/android/internal/util/
DFileRotator.java30 import java.util.zip.ZipEntry;
157 final ZipEntry entry = new ZipEntry(name); in dumpAll()
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
DAsmGeneratorTest.java46 import java.util.zip.ZipEntry;
311 Enumeration<? extends ZipEntry> entries = zip.entries(); in parseZip()
312 ZipEntry entry; in parseZip()
/frameworks/base/core/java/android/os/
DRecoverySystem.java44 import java.util.zip.ZipEntry;
105 Enumeration<? extends ZipEntry> entries = zip.entries(); in getTrustedCerts()
107 ZipEntry entry = entries.nextElement(); in getTrustedCerts()
/frameworks/base/test-runner/src/android/test/
DClassPathPackageInfoSource.java31 import java.util.zip.ZipEntry;
252 Enumeration<? extends ZipEntry> entries = zipFile.entries(); in getJarEntries()
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
DDependencyFinder.java43 import java.util.zip.ZipEntry;
158 Enumeration<? extends ZipEntry> entries = zip.entries(); in parseZip()
159 ZipEntry entry; in parseZip()
DAsmAnalyzer.java42 import java.util.zip.ZipEntry;
140 Enumeration<? extends ZipEntry> entries = zip.entries(); in parseZip()
141 ZipEntry entry; in parseZip()
/frameworks/base/test-runner/src/junit/runner/
DTestCaseClassLoader.java168 ZipEntry entry= zipFile.getEntry(fileName); in loadJarData()
/frameworks/base/docs/html/sdk/api_diff/21/
DmissingSinces.txt1102 NO DOC BLOCK: java.util.zip.ZipEntry Field CENATT
1106 NO DOC BLOCK: java.util.zip.ZipEntry Field CENATX
1110 NO DOC BLOCK: java.util.zip.ZipEntry Field CENCOM
1114 NO DOC BLOCK: java.util.zip.ZipEntry Field CENCRC
1118 NO DOC BLOCK: java.util.zip.ZipEntry Field CENDSK
1122 NO DOC BLOCK: java.util.zip.ZipEntry Field CENEXT
1126 NO DOC BLOCK: java.util.zip.ZipEntry Field CENFLG
1130 NO DOC BLOCK: java.util.zip.ZipEntry Field CENHDR
1134 NO DOC BLOCK: java.util.zip.ZipEntry Field CENHOW
1138 NO DOC BLOCK: java.util.zip.ZipEntry Field CENLEN
[all …]
/frameworks/base/core/java/android/content/pm/
DPackageParser.java82 import java.util.zip.ZipEntry;
590 private static Certificate[][] loadCertificates(StrictJarFile jarFile, ZipEntry entry) in loadCertificates()
1026 final ZipEntry je = jarFile.findEntry(ANDROID_MANIFEST_FILENAME); in collectManifestDigest()
1067 final ZipEntry manifestEntry = jarFile.findEntry(ANDROID_MANIFEST_FILENAME); in collectCertificates()
1073 final List<ZipEntry> toVerify = new ArrayList<>(); in collectCertificates()
1078 final Iterator<ZipEntry> i = jarFile.iterator(); in collectCertificates()
1080 final ZipEntry entry = i.next(); in collectCertificates()
1093 for (ZipEntry entry : toVerify) { in collectCertificates()

12