/frameworks/base/tools/aapt/ |
D | ZipFile.h | 44 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);
|
D | Package.cpp | 40 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 …]
|
D | ZipFile.cpp | 59 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 …]
|
D | ZipEntry.h | 33 class ZipFile; variable 49 friend class ZipFile; 175 status_t initFromExternal(const ZipFile* pZipFile, const ZipEntry* pEntry);
|
D | Command.cpp | 37 ZipFile* openReadOnly(const char* fileName) in openReadOnly() 39 ZipFile* zip; in openReadOnly() 42 zip = new ZipFile; in openReadOnly() 43 result = zip->open(fileName, ZipFile::kOpenReadOnly); in openReadOnly() 66 ZipFile* openReadWrite(const char* fileName, bool okayToCreate) in openReadWrite() 68 ZipFile* zip = NULL; in openReadWrite() 72 flags = ZipFile::kOpenReadWrite; in openReadWrite() 74 flags |= ZipFile::kOpenCreate; in openReadWrite() 77 zip = new ZipFile; in openReadWrite() 126 ZipFile* zip = NULL; in doList() [all …]
|
D | Android.bp | 114 "ZipFile.cpp",
|
/frameworks/base/tools/aapt2/io/ |
D | ZipArchive.cpp | 32 ZipFile::ZipFile(ZipArchiveHandle handle, const ZipEntry& entry, in ZipFile() function in aapt::io::ZipFile 36 std::unique_ptr<IData> ZipFile::OpenAsData() { in OpenAsData() 67 std::unique_ptr<io::InputStream> ZipFile::OpenInputStream() { in OpenInputStream() 71 const Source& ZipFile::GetSource() const { in GetSource() 75 bool ZipFile::WasCompressed() { in WasCompressed() 134 std::unique_ptr<IFile> file = util::make_unique<ZipFile>(collection->handle_, zip_data, in Create()
|
D | ZipArchive.h | 33 class ZipFile : public IFile { 35 ZipFile(::ZipArchiveHandle handle, const ::ZipEntry& entry, const Source& source);
|
/frameworks/multidex/library/test/src/androidx/multidex/ |
D | ZipUtilTest.java | 39 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/sdkparcelables/src/com/android/sdkparcelables/ |
D | Main.kt | 23 import java.util.zip.ZipFile 33 val zipFile: ZipFile in main() 36 zipFile = ZipFile(zipFileName) in main()
|
/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/ |
D | Main.java | 28 import java.util.zip.ZipFile; 64 ZipFile zipSrc = new ZipFile(inJar); in main()
|
/frameworks/base/core/tests/coretests/src/android/util/apk/ |
D | SourceStampVerifierTest.java | 47 import java.util.zip.ZipFile; 243 ZipFile apkZipFile = new ZipFile(apk); in getSourceStampCertificateHashFromApk()
|
/frameworks/multidex/library/src/androidx/multidex/ |
D | MultiDexExtractor.java | 38 import java.util.zip.ZipFile; 258 final ZipFile apk = new ZipFile(sourceApk); in performExtractions() 380 private static void extract(ZipFile apk, ZipEntry dexFile, File extractTo, in extract()
|
D | MultiDex.java | 42 import java.util.zip.ZipFile; 603 elementClass.getConstructor(File.class, ZipFile.class, DexFile.class); in ICSElementConstructor() 611 return elementConstructor.newInstance(file, new ZipFile(file), dex); in newInstance() 761 ZipFile[] extraZips = new ZipFile[extraSize]; in install() 771 extraZips[index] = new ZipFile(additionalEntry); in install()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | AbUpdateInstaller.java | 38 import java.util.zip.ZipFile; 57 private ZipFile mPackedUpdateFile; 174 mPackedUpdateFile = new ZipFile(mCopiedUpdateFile); in setState()
|
/frameworks/base/packages/overlays/tests/src/com/android/theme/icon/ |
D | IconPackOverlayTest.java | 49 import java.util.zip.ZipFile; 273 ZipFile file = new ZipFile(applicationInfo.sourceDir); in getDrawablesFromOverlay()
|
/frameworks/layoutlib/create/tests/src/com/android/tools/layoutlib/create/ |
D | AsmGeneratorTest.java | 45 import java.util.zip.ZipFile; 284 ZipFile zipFile = new ZipFile(mOsDestJar); in testMethodInjection()
|
/frameworks/base/services/core/java/com/android/server/ |
D | PinnerService.java | 83 import java.util.zip.ZipFile; 798 ZipFile fileAsZip = null; in pinFile() 825 private static ZipFile maybeOpenZip(String fileName) { in maybeOpenZip() 826 ZipFile zip = null; in maybeOpenZip() 828 zip = new ZipFile(fileName); in maybeOpenZip() 845 private static InputStream maybeOpenPinMetaInZip(ZipFile zipFile, String fileName) { in maybeOpenPinMetaInZip()
|
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/ |
D | InstallationAsyncTask.java | 44 import java.util.zip.ZipFile; 145 private ZipFile mZipFile; 289 mZipFile = new ZipFile(new File(new URL(mUrl).toURI())); in verifyAndPrepare()
|
/frameworks/base/api/ |
D | api_versions_trimmer.py | 36 with zipfile.ZipFile(stubs) as z:
|
D | api_versions_trimmer_unittests.py | 28 with zipfile.ZipFile(f, "w") as z:
|
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/ |
D | DependencyFinder.java | 43 import java.util.zip.ZipFile; 156 ZipFile zip = new ZipFile(jarPath); in parseZip()
|
D | AsmAnalyzer.java | 53 import java.util.zip.ZipFile; 199 ZipFile zip = new ZipFile(jarPath); in parseZip()
|
/frameworks/base/core/java/android/os/ |
D | RecoverySystem.java | 75 import java.util.zip.ZipFile; 240 ZipFile zip = new ZipFile(keystore); in getTrustedCerts() 467 try (ZipFile zip = new ZipFile(packageFile)) { in readAndVerifyPackageCompatibilityEntry()
|
/frameworks/base/services/core/java/com/android/server/recoverysystem/ |
D | RecoverySystemService.java | 84 import java.util.zip.ZipFile; 921 try (ZipFile zipFile = new ZipFile(packageFile)) { in getCompressedApexInfoList()
|