/frameworks/base/cmds/idmap2/libidmap2/ |
D | ZipFile.cpp | 33 std::unique_ptr<const ZipFile> ZipFile::Open(const std::string& path) { in Open() 39 return std::unique_ptr<ZipFile>(new ZipFile(handle)); in Open() 42 ZipFile::~ZipFile() { in ~ZipFile() 46 std::unique_ptr<const MemoryChunk> ZipFile::Uncompress(const std::string& entryPath) const { in Uncompress() 60 Result<uint32_t> ZipFile::Crc(const std::string& entryPath) const { in Crc()
|
D | ResourceUtils.cpp | 31 using android::idmap2::ZipFile; 58 std::unique_ptr<const ZipFile> zip = ZipFile::Open(path); in ExtractOverlayManifestInfo()
|
D | Idmap.cpp | 122 Result<uint32_t> GetCrc(const ZipFile& zip) { in GetCrc() 154 const std::unique_ptr<const ZipFile> target_zip = ZipFile::Open(target_path_); in IsUpToDate() 169 const std::unique_ptr<const ZipFile> overlay_zip = ZipFile::Open(overlay_path_); in IsUpToDate() 359 const std::unique_ptr<const ZipFile> target_zip = ZipFile::Open(target_apk_path); in FromApkAssets() 364 const std::unique_ptr<const ZipFile> overlay_zip = ZipFile::Open(overlay_apk_path); in FromApkAssets()
|
/frameworks/base/cmds/idmap2/include/idmap2/ |
D | ZipFile.h | 40 class ZipFile { 42 static std::unique_ptr<const ZipFile> Open(const std::string& path); 47 ~ZipFile(); 50 explicit ZipFile(const ::ZipArchiveHandle handle) : handle_(handle) { in ZipFile() function 55 DISALLOW_COPY_AND_ASSIGN(ZipFile);
|
/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 …]
|
/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/cmds/idmap2/tests/ |
D | ZipFileTests.cpp | 32 auto zip = ZipFile::Open(GetTestDataPath() + "/target/target.apk"); in TEST() 36 auto fail = ZipFile::Open(GetTestDataPath() + "/does-not-exist"); in TEST() 41 auto zip = ZipFile::Open(GetTestDataPath() + "/target/target.apk"); in TEST() 53 auto zip = ZipFile::Open(GetTestDataPath() + "/target/target.apk"); in TEST()
|
D | XmlTests.cpp | 31 auto zip = ZipFile::Open(GetTestDataPath() + "/target/target.apk"); in TEST() 47 auto zip = ZipFile::Open(GetTestDataPath() + "/target/target.apk"); in TEST()
|
/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/tools/hiddenapi/ |
D | merge_csv.py | 24 from zipfile import ZipFile 49 with ZipFile(args.zip_input) as zip:
|
/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/services/core/java/com/android/server/ |
D | PinnerService.java | 78 import java.util.zip.ZipFile; 652 ZipFile fileAsZip = null; in pinFile() 679 private static ZipFile maybeOpenZip(String fileName) { in maybeOpenZip() 680 ZipFile zip = null; in maybeOpenZip() 682 zip = new ZipFile(fileName); in maybeOpenZip() 699 private static InputStream maybeOpenPinMetaInZip(ZipFile zipFile, String fileName) { in maybeOpenPinMetaInZip()
|
/frameworks/base/cmds/idmap2/idmap2/ |
D | Lookup.cpp | 61 using android::idmap2::ZipFile; 136 const auto zip = ZipFile::Open(apk_path); in GetTargetPackageNameFromManifest()
|
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/ |
D | InstallationAsyncTask.java | 43 import java.util.zip.ZipFile; 145 private ZipFile mZipFile; 273 mZipFile = new ZipFile(new File(new URL(mUrl).toURI())); in verifyAndPrepare()
|
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
D | AsmGeneratorTest.java | 45 import java.util.zip.ZipFile; 284 ZipFile zipFile = new ZipFile(mOsDestJar); in testMethodInjection()
|
/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()
|