Home
last modified time | relevance | path

Searched refs:ZipFile (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/tools/aapt/
DZipFile.h44 class ZipFile {
46 ZipFile(void) in ZipFile() function
49 ~ZipFile(void) { in ~ZipFile()
126 status_t add(const ZipFile* pSourceZip, const ZipEntry* pSourceEntry,
169 ZipFile(const ZipFile& src);
170 ZipFile& operator=(const ZipFile& src);
DPackage.cpp40 ssize_t processAssets(Bundle* bundle, ZipFile* zip, const sp<const OutputSet>& outputSet);
41 bool processFile(Bundle* bundle, ZipFile* zip, String8 storageName, const sp<const AaptFile>& file);
43 ssize_t processJarFiles(Bundle* bundle, ZipFile* zip);
60 ZipFile* zip = NULL; in writeAPK()
100 zip = new ZipFile; in writeAPK()
101 status = zip->open(outputFile.string(), ZipFile::kOpenReadWrite | ZipFile::kOpenCreate); in writeAPK()
218 ssize_t processAssets(Bundle* bundle, ZipFile* zip, const sp<const OutputSet>& outputSet) in processAssets()
245 bool processFile(Bundle* bundle, ZipFile* zip, in processFile()
403 ssize_t processJarFile(ZipFile* jar, ZipFile* out) in processJarFile()
428 ssize_t processJarFiles(Bundle* bundle, ZipFile* zip) in processJarFiles()
[all …]
DZipFile.cpp59 status_t ZipFile::open(const char* zipFileName, int flags) in open()
135 ZipEntry* ZipFile::getEntryByIndex(int idx) const in getEntryByIndex()
146 ZipEntry* ZipFile::getEntryByName(const char* fileName) const in getEntryByName()
175 void ZipFile::discardEntries(void) in discardEntries()
204 status_t ZipFile::readCentralDir(void) in readCentralDir()
358 status_t ZipFile::addCommon(const char* fileName, const void* data, size_t size, in addCommon()
539 status_t ZipFile::add(const ZipFile* pSourceZip, const ZipEntry* pSourceEntry, in add()
646 status_t ZipFile::copyFpToFp(FILE* dstFp, FILE* srcFp, unsigned long* pCRC32) in copyFpToFp()
676 status_t ZipFile::copyDataToFp(FILE* dstFp, in copyDataToFp()
701 status_t ZipFile::copyPartialFpToFp(FILE* dstFp, FILE* srcFp, long length, in copyPartialFpToFp()
[all …]
DZipEntry.h32 class ZipFile; variable
48 friend class ZipFile;
174 status_t initFromExternal(const ZipFile* pZipFile, const ZipEntry* pEntry);
DAndroid.mk49 ZipFile.cpp
DCommand.cpp55 ZipFile* openReadOnly(const char* fileName) in openReadOnly()
57 ZipFile* zip; in openReadOnly()
60 zip = new ZipFile; in openReadOnly()
61 result = zip->open(fileName, ZipFile::kOpenReadOnly); in openReadOnly()
84 ZipFile* openReadWrite(const char* fileName, bool okayToCreate) in openReadWrite()
86 ZipFile* zip = NULL; in openReadWrite()
90 flags = ZipFile::kOpenReadWrite; in openReadWrite()
92 flags |= ZipFile::kOpenCreate; in openReadWrite()
95 zip = new ZipFile; in openReadWrite()
144 ZipFile* zip = NULL; in doList()
[all …]
DAaptAssets.cpp1249 ZipFile* zip = new ZipFile; in slurpResourceZip()
1250 status_t err = zip->open(filename, ZipFile::kOpenReadOnly); in slurpResourceZip()
DZipEntry.cpp144 status_t ZipEntry::initFromExternal(const ZipFile* pZipFile, in initFromExternal()
/frameworks/multidex/library/test/src/android/support/multidex/
DZipUtilTest.java39 import java.util.zip.ZipFile;
54 new ZipFile(zipFile).close(); in setupClass()
92 ZipFile zip = new ZipFile(zipFile); in testCrcRange()
113 ZipFile zip = new ZipFile(zipFile); in testCrcValue()
143 ZipFile zip = new ZipFile(zipFile); in testInvalidCrcValue()
/frameworks/multidex/library/src/android/support/multidex/
DMultiDexExtractor.java39 import java.util.zip.ZipFile;
174 final ZipFile apk = new ZipFile(sourceApk); in performExtractions()
305 private static void extract(ZipFile apk, ZipEntry dexFile, File extractTo, in extract()
347 ZipFile zipFile = new ZipFile(file); in verifyZipFile()
DMultiDex.java43 import java.util.zip.ZipFile;
485 ZipFile[] extraZips = new ZipFile[extraSize]; in install()
495 extraZips[index] = new ZipFile(additionalEntry); in install()
/frameworks/base/test-runner/src/android/test/
DClassPathPackageInfoSource.java32 import java.util.zip.ZipFile;
251 ZipFile zipFile = new ZipFile(jarFile); in getJarEntries()
/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java47 import java.util.zip.ZipFile;
263 final ZipFile privateZip = new ZipFile(apkFile.getAbsolutePath()); in extractPublicFiles()
296 private static void copyZipEntry(ZipEntry zipEntry, ZipFile inZipFile, in copyZipEntry()
/frameworks/base/test-runner/src/junit/runner/
DTestCaseClassLoader.java158 ZipFile zipFile= null; in loadJarData()
164 zipFile= new ZipFile(archive); in loadJarData()
/frameworks/webview/chromium/tools/
Djar_check.py43 with contextlib.closing(zipfile.ZipFile(jar_path)) as jar:
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
DAsmGeneratorTest.java47 import java.util.zip.ZipFile;
310 ZipFile zip = new ZipFile(jarPath); in parseZip()
/frameworks/base/core/java/android/os/
DRecoverySystem.java45 import java.util.zip.ZipFile;
102 ZipFile zip = new ZipFile(keystore); in getTrustedCerts()
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
DDependencyFinder.java44 import java.util.zip.ZipFile;
157 ZipFile zip = new ZipFile(jarPath); in parseZip()
DAsmAnalyzer.java43 import java.util.zip.ZipFile;
139 ZipFile zip = new ZipFile(jarPath); in parseZip()
/frameworks/base/docs/html/sdk/api_diff/21/
DmissingSinces.txt1103 NO DOC BLOCK: java.util.zip.ZipFile Field CENATT
1107 NO DOC BLOCK: java.util.zip.ZipFile Field CENATX
1111 NO DOC BLOCK: java.util.zip.ZipFile Field CENCOM
1115 NO DOC BLOCK: java.util.zip.ZipFile Field CENCRC
1119 NO DOC BLOCK: java.util.zip.ZipFile Field CENDSK
1123 NO DOC BLOCK: java.util.zip.ZipFile Field CENEXT
1127 NO DOC BLOCK: java.util.zip.ZipFile Field CENFLG
1131 NO DOC BLOCK: java.util.zip.ZipFile Field CENHDR
1135 NO DOC BLOCK: java.util.zip.ZipFile Field CENHOW
1139 NO DOC BLOCK: java.util.zip.ZipFile Field CENLEN
[all …]
/frameworks/base/
Dpreloaded-classes2618 java.util.zip.ZipFile$1
2619 java.util.zip.ZipFile$RAFStream
/frameworks/base/docs/html/
Dsitemap.txt2984 http://developer.android.com/reference/java/util/zip/ZipFile.html
/frameworks/base/api/
Dsystem-current.txt52874 public class JarFile extends java.util.zip.ZipFile {
53621 public class ZipFile implements java.io.Closeable {
53622 ctor public ZipFile(java.io.File) throws java.io.IOException, java.util.zip.ZipException;
53623 ctor public ZipFile(java.lang.String) throws java.io.IOException;
53624 ctor public ZipFile(java.io.File, int) throws java.io.IOException;
Dcurrent.txt50345 public class JarFile extends java.util.zip.ZipFile {
51092 public class ZipFile implements java.io.Closeable {
51093 ctor public ZipFile(java.io.File) throws java.io.IOException, java.util.zip.ZipException;
51094 ctor public ZipFile(java.lang.String) throws java.io.IOException;
51095 ctor public ZipFile(java.io.File, int) throws java.io.IOException;