Home
last modified time | relevance | path

Searched refs:ZipFile (Results 1 – 20 of 20) 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.cpp36 ssize_t processAssets(Bundle* bundle, ZipFile* zip, const sp<AaptAssets>& assets);
37 ssize_t processAssets(Bundle* bundle, ZipFile* zip, const sp<AaptDir>& dir,
39 bool processFile(Bundle* bundle, ZipFile* zip,
42 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, in processAssets()
244 ssize_t processAssets(Bundle* bundle, ZipFile* zip, const sp<AaptDir>& dir, in processAssets()
293 bool processFile(Bundle* bundle, ZipFile* zip, in processFile()
[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);
DCommand.cpp40 ZipFile* openReadOnly(const char* fileName) in openReadOnly()
42 ZipFile* zip; in openReadOnly()
45 zip = new ZipFile; in openReadOnly()
46 result = zip->open(fileName, ZipFile::kOpenReadOnly); in openReadOnly()
68 ZipFile* openReadWrite(const char* fileName, bool okayToCreate) in openReadWrite()
70 ZipFile* zip = NULL; in openReadWrite()
74 flags = ZipFile::kOpenReadWrite; in openReadWrite()
76 flags |= ZipFile::kOpenCreate; in openReadWrite()
78 zip = new ZipFile; in openReadWrite()
125 ZipFile* zip = NULL; in doList()
[all …]
DAndroid.mk28 ZipFile.cpp
DMain.h51 ssize_t processAssets(Bundle* bundle, ZipFile* zip, const sp<AaptAssets>& assets);
DZipEntry.cpp144 status_t ZipEntry::initFromExternal(const ZipFile* pZipFile, in initFromExternal()
DAaptAssets.cpp2257 ZipFile* zip = new ZipFile; in slurpResourceZip()
2258 status_t err = zip->open(filename, ZipFile::kOpenReadOnly); in slurpResourceZip()
/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java33 import java.util.zip.ZipFile;
225 final ZipFile privateZip = new ZipFile(packagePath); in extractPublicFiles()
258 private static void copyZipEntry(ZipEntry zipEntry, ZipFile inZipFile, in copyZipEntry()
/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/android/os/
DRecoverySystem.java44 import java.util.zip.ZipFile;
101 ZipFile zip = new ZipFile(keystore); in getTrustedCerts()
/frameworks/base/test-runner/src/junit/runner/
DTestCaseClassLoader.java158 ZipFile zipFile= null; in loadJarData()
164 zipFile= new ZipFile(archive); in loadJarData()
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
DAsmAnalyzer.java40 import java.util.zip.ZipFile;
109 ZipFile zip = new ZipFile(jarPath); in parseZip()
/frameworks/base/
Dpreloaded-classes1832 java.util.zip.ZipFile
1833 java.util.zip.ZipFile$1
1834 java.util.zip.ZipFile$RAFStream
1835 java.util.zip.ZipFile$ZipInflaterInputStream
/frameworks/base/docs/html/
Dsitemap.txt808 http://developer.android.com/reference/java/util/zip/ZipFile.html
/frameworks/base/api/
D14.txt38330 public class JarFile extends java.util.zip.ZipFile {
39027 public class ZipFile {
39028 ctor public ZipFile(java.io.File) throws java.io.IOException, java.util.zip.ZipException;
39029 ctor public ZipFile(java.io.File, int) throws java.io.IOException;
39030 ctor public ZipFile(java.lang.String) throws java.io.IOException;
D15.txt38485 public class JarFile extends java.util.zip.ZipFile {
39182 public class ZipFile {
39183 ctor public ZipFile(java.io.File) throws java.io.IOException, java.util.zip.ZipException;
39184 ctor public ZipFile(java.io.File, int) throws java.io.IOException;
39185 ctor public ZipFile(java.lang.String) throws java.io.IOException;
Dcurrent.txt39768 public class JarFile extends java.util.zip.ZipFile {
40465 public class ZipFile {
40466 ctor public ZipFile(java.io.File) throws java.io.IOException, java.util.zip.ZipException;
40467 ctor public ZipFile(java.io.File, int) throws java.io.IOException;
40468 ctor public ZipFile(java.lang.String) throws java.io.IOException;
D16.txt39768 public class JarFile extends java.util.zip.ZipFile {
40465 public class ZipFile {
40466 ctor public ZipFile(java.io.File) throws java.io.IOException, java.util.zip.ZipException;
40467 ctor public ZipFile(java.io.File, int) throws java.io.IOException;
40468 ctor public ZipFile(java.lang.String) throws java.io.IOException;