Home
last modified time | relevance | path

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

12

/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()
427 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()
538 status_t ZipFile::add(const ZipFile* pSourceZip, const ZipEntry* pSourceEntry, in add()
645 status_t ZipFile::copyFpToFp(FILE* dstFp, FILE* srcFp, unsigned long* pCRC32) in copyFpToFp()
675 status_t ZipFile::copyDataToFp(FILE* dstFp, in copyDataToFp()
698 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.mk48 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.cpp1225 ZipFile* zip = new ZipFile; in slurpResourceZip()
1226 status_t err = zip->open(filename, ZipFile::kOpenReadOnly); in slurpResourceZip()
DZipEntry.cpp144 status_t ZipEntry::initFromExternal(const ZipFile* /* pZipFile */, in initFromExternal() argument
/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/base/tools/aapt2/io/
DZipArchive.cpp27 ZipFile::ZipFile(ZipArchiveHandle handle, const ZipEntry& entry, const Source& source) : in ZipFile() function in aapt::io::ZipFile
31 std::unique_ptr<IData> ZipFile::openAsData() { in openAsData()
55 const Source& ZipFile::getSource() const { in getSource()
111 collection->mFiles[zipEntryPath] = util::make_unique<ZipFile>(collection->mHandle, in create()
DZipArchive.h33 class ZipFile : public IFile {
35 ZipFile(ZipArchiveHandle handle, const ZipEntry& entry, const Source& source);
/frameworks/multidex/library/src/android/support/multidex/
DMultiDexExtractor.java40 import java.util.zip.ZipFile;
219 final ZipFile apk = new ZipFile(sourceApk); in performExtractions()
332 private static void extract(ZipFile apk, ZipEntry dexFile, File extractTo, in extract()
374 ZipFile zipFile = new ZipFile(file); in verifyZipFile()
DMultiDex.java43 import java.util.zip.ZipFile;
522 ZipFile[] extraZips = new ZipFile[extraSize]; in install()
532 extraZips[index] = new ZipFile(additionalEntry); in install()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/util/
DGenerationalClassUtil.java37 import java.util.zip.ZipFile;
120 ZipFile zipFile = new ZipFile(file); in loadFomZipFile()
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
DAsmGeneratorTest.java45 import java.util.zip.ZipFile;
420 ZipFile zipFile = new ZipFile(mOsDestJar); in testMethodInjection()
457 ZipFile zip = new ZipFile(jarPath); in parseZip()
/frameworks/base/test-runner/src/android/test/
DClassPathPackageInfoSource.java32 import java.util.zip.ZipFile;
252 ZipFile zipFile = new ZipFile(jarFile); in getJarEntries()
/frameworks/base/core/java/android/webkit/
DWebViewFactory.java49 import java.util.zip.ZipFile;
443 try (ZipFile z = new ZipFile(split[0])) { in onWebViewProviderChanged()
483 try (ZipFile z = new ZipFile(apkPath)) { in getLoadFromApkPath()
/frameworks/base/test-runner/src/junit/runner/
DTestCaseClassLoader.java158 ZipFile zipFile= null; in loadJarData()
164 zipFile= new ZipFile(archive); in loadJarData()
/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java50 import java.util.zip.ZipFile;
267 final ZipFile privateZip = new ZipFile(apkFile.getAbsolutePath()); in extractPublicFiles()
300 private static void copyZipEntry(ZipEntry zipEntry, ZipFile inZipFile, in copyZipEntry()
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
DDependencyFinder.java43 import java.util.zip.ZipFile;
156 ZipFile zip = new ZipFile(jarPath); in parseZip()
DAsmAnalyzer.java42 import java.util.zip.ZipFile;
138 ZipFile zip = new ZipFile(jarPath); in parseZip()
/frameworks/support/documents-archive/src/android/support/provider/
DDocumentArchive.java57 import java.util.zip.ZipFile;
85 private final ZipFile mZipFile;
101 mZipFile = new ZipFile(file); in DocumentArchive()
/frameworks/base/core/java/android/os/
DRecoverySystem.java48 import java.util.zip.ZipFile;
126 ZipFile zip = new ZipFile(keystore); in getTrustedCerts()
/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/packages/Shell/src/com/android/shell/
DBugreportProgressService.java39 import java.util.zip.ZipFile;
1142 try (ZipFile oldZip = new ZipFile(info.bugreportFile); in addDetailsToZipFile()

12