/frameworks/base/tools/aapt/ |
D | ZipEntry.cpp | 42 status_t ZipEntry::initFromCDE(FILE* fp) in initFromCDE() 115 void ZipEntry::initNew(const char* fileName, const char* comment) in initNew() 147 status_t ZipEntry::initFromExternal(const ZipFile* /* pZipFile */, in initFromExternal() 148 const ZipEntry* pEntry) in initFromExternal() 183 status_t ZipEntry::addPadding(int padding) in addPadding() 219 void ZipEntry::copyCDEtoLFH(void) in copyCDEtoLFH() 244 void ZipEntry::setDataInfo(long uncompLen, long compLen, unsigned long crc32, in setDataInfo() 265 bool ZipEntry::compareHeaders(void) const in compareHeaders() 323 time_t ZipEntry::getModWhen(void) const in getModWhen() 342 void ZipEntry::setModWhen(time_t when) { in setModWhen() [all …]
|
D | ZipFile.h | 81 ZipEntry** ppEntry) in add() 86 int compressionMethod, ZipEntry** ppEntry) in add() 89 ZipEntry::kCompressStored, in add() 99 ZipEntry** ppEntry) in addGzip() 102 ZipEntry::kCompressDeflated, in addGzip() 103 ZipEntry::kCompressDeflated, ppEntry); in addGzip() 112 int compressionMethod, ZipEntry** ppEntry) in add() 115 ZipEntry::kCompressStored, in add() 126 status_t add(const ZipFile* pSourceZip, const ZipEntry* pSourceEntry, 127 int padding, ZipEntry** ppEntry); [all …]
|
D | ZipFile.cpp | 135 ZipEntry* ZipFile::getEntryByIndex(int idx) const in getEntryByIndex() 146 ZipEntry* ZipFile::getEntryByName(const char* fileName) const in getEntryByName() 161 ZipEntry* pEntry = mEntries[idx]; in getEntryByName() 254 ZipEntry::getLongLE(&buf[i]) == EndOfCentralDir::kSignature) in readCentralDir() 309 ZipEntry* pEntry = new ZipEntry; in readCentralDir() 332 if (ZipEntry::getLongLE(checkBuf) != EndOfCentralDir::kSignature) { in readCentralDir() 360 ZipEntry** ppEntry) in addCommon() 362 ZipEntry* pEntry = NULL; in addCommon() 372 assert(compressionMethod == ZipEntry::kCompressDeflated || in addCommon() 373 compressionMethod == ZipEntry::kCompressStored); in addCommon() [all …]
|
D | ZipEntry.h | 47 class ZipEntry { 51 ZipEntry(void) in ZipEntry() function 54 ~ZipEntry(void) {} in ~ZipEntry() 175 status_t initFromExternal(const ZipFile* pZipFile, const ZipEntry* pEntry); 207 ZipEntry(const ZipEntry& src); 208 ZipEntry& operator=(const ZipEntry& src);
|
D | Package.cpp | 149 ZipEntry* entry = zip->getEntryByIndex(i); in writeAPK() 252 ZipEntry* entry; in processFile() 331 compressionMethod = ZipEntry::kCompressStored; in processFile() 342 if (entry->getCompressionMethod() == ZipEntry::kCompressStored) { in processFile() 410 ZipEntry* entry = jar->getEntryByIndex(i); in processJarFile()
|
/frameworks/base/core/java/android/util/jar/ |
D | StrictJarFile.java | 36 import java.util.zip.ZipEntry; 148 public Iterator<ZipEntry> iterator() throws IOException { in iterator() 152 public ZipEntry findEntry(String name) { in findEntry() 164 public Certificate[][] getCertificateChains(ZipEntry ze) { in getCertificateChains() 183 public Certificate[] getCertificates(ZipEntry ze) { in getCertificates() 207 public InputStream getInputStream(ZipEntry ze) { in getInputStream() 246 private InputStream getZipInputStream(ZipEntry ze) { in getZipInputStream() 247 if (ze.getMethod() == ZipEntry.STORED) { in getZipInputStream() 259 static final class EntryIterator implements Iterator<ZipEntry> { 261 private ZipEntry nextEntry; [all …]
|
/frameworks/multidex/library/test/src/androidx/multidex/ |
D | ZipUtilTest.java | 37 import java.util.zip.ZipEntry; 84 Map<String, ZipEntry> toCheck = new HashMap<String, ZipEntry>(); in testCrcRange() 88 ZipEntry entry = ZipEntryReader.readEntry(buffer); in testCrcRange() 94 Enumeration<? extends ZipEntry> ref = zip.entries(); in testCrcRange() 96 ZipEntry refEntry = ref.nextElement(); in testCrcRange() 97 ZipEntry checkEntry = toCheck.get(refEntry.getName()); in testCrcRange() 114 Enumeration<? extends ZipEntry> ref = zip.entries(); in testCrcValue() 117 ZipEntry refEntry = ref.nextElement(); in testCrcValue() 144 Enumeration<? extends ZipEntry> ref = zip.entries(); in testInvalidCrcValue() 147 ZipEntry refEntry = ref.nextElement(); in testInvalidCrcValue()
|
D | ZipEntryReader.java | 28 import java.util.zip.ZipEntry; 50 static ZipEntry readEntry(ByteBuffer in) throws IOException { in readEntry() 85 ZipEntry entry = new ZipEntry(name); in readEntry()
|
/frameworks/base/apct-tests/perftests/core/src/android/libcore/ |
D | ZipFileReadPerfTest.java | 40 import java.util.zip.ZipEntry; 60 for (Enumeration<? extends ZipEntry> e = zipFile.entries(); e.hasMoreElements(); ) { in setUp() 61 ZipEntry zipEntry = e.nextElement(); in setUp() 73 ZipEntry ze = new ZipEntry(Integer.toHexString(entry)); in writeEntries() 97 for (Enumeration<? extends ZipEntry> e = zipFile.entries(); e.hasMoreElements(); ) { in timeZipFileRead() 98 ZipEntry zipEntry = e.nextElement(); in timeZipFileRead()
|
D | ZipFilePerfTest.java | 38 import java.util.zip.ZipEntry; 58 for (Enumeration<? extends ZipEntry> e = zipFile.entries(); e.hasMoreElements(); ) { in setUp() 59 ZipEntry zipEntry = e.nextElement(); in setUp() 84 ZipEntry ze = new ZipEntry(Integer.toHexString(entry)); in writeEntries()
|
D | BufferedZipFilePerfTest.java | 35 import java.util.zip.ZipEntry; 56 out.putNextEntry(new ZipEntry("entry.data" + mCompressedSize[i])); in setUp() 75 ZipEntry entry = zipFile.getEntry("entry.data" + mCompressedSize[i]); in timeUnbufferedRead() 95 ZipEntry entry = zipFile.getEntry("entry.data" + mCompressedSize[i]); in timeBufferedRead()
|
/frameworks/base/tools/traceinjection/src/com/android/traceinjection/ |
D | Main.java | 28 import java.util.zip.ZipEntry; 90 Enumeration<? extends ZipEntry> srcEntries = zipSrc.entries(); in main() 92 ZipEntry entry = srcEntries.nextElement(); in main() 93 ZipEntry newEntry = new ZipEntry(entry.getName()); in main()
|
/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/ |
D | Main.java | 27 import java.util.zip.ZipEntry; 77 Enumeration<? extends ZipEntry> srcEntries = zipSrc.entries(); in main() 79 ZipEntry entry = srcEntries.nextElement(); in main() 80 ZipEntry newEntry = new ZipEntry(entry.getName()); in main()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | AbUpdateInstaller.java | 36 import java.util.zip.ZipEntry; 56 private Enumeration<? extends ZipEntry> mEntries; 217 ZipEntry entry = mEntries.nextElement(); in updateStateForPayload() 226 if (entry.getMethod() != ZipEntry.STORED) { in updateStateForPayload() 242 private long buildOffsetForEntry(ZipEntry entry, String name) { in buildOffsetForEntry() 247 private void updatePropertiesForEntry(ZipEntry entry) throws IOException { in updatePropertiesForEntry()
|
/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/ |
D | HostStubGen.kt | 42 import java.util.zip.ZipEntry in <lambda>() 251 entry: ZipEntry, in <lambda>() 300 entry: ZipEntry, in <lambda>() 305 val outEntry = ZipEntry(entry.name) in <lambda>() 319 entry: ZipEntry, in <lambda>() 340 val newEntry = ZipEntry(entry.name) in <lambda>() 353 val newEntry = ZipEntry(entry.name) in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | ArtStatsLogUtils.java | 39 import java.util.zip.ZipEntry; 201 Iterator<ZipEntry> it = jarFile.iterator(); in getDexBytes() 205 ZipEntry entry = it.next(); in getDexBytes() 263 Iterator<ZipEntry> it = jarFile.iterator(); in findFileName() 265 ZipEntry entry = it.next(); in findFileName()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/ |
D | ArtStatsLogUtilsTest.java | 41 import java.util.zip.ZipEntry; 305 ZipEntry zipEntry = new ZipEntry(file.getFileName().toString()); in zipFiles() 320 ZipEntry zipEntry = new ZipEntry(entryName); in createDexMetadata()
|
/frameworks/base/core/jni/ |
D | android_util_jar_StrictJarFile.cpp | 43 jobject newZipEntry(JNIEnv* env, const ZipEntry& entry, jstring entryName) { in newZipEntry() 114 ZipEntry data; in StrictJarFile_nativeNextEntry() 136 ZipEntry data; in StrictJarFile_nativeFindEntry()
|
/frameworks/base/tools/aapt2/io/ |
D | ZipArchive.h | 35 ZipFile(::ZipArchiveHandle handle, const ::ZipEntry& entry, const android::Source& source); 45 ::ZipEntry zip_entry_;
|
/frameworks/base/libs/androidfw/ |
D | ZipFileRO.cpp | 41 ZipEntry entry; 126 const ZipEntry& ze = zipEntry->entry; in getEntryInfo() 239 const ZipEntry& ze = zipEntry->entry; in createEntryFileMap() 264 const ZipEntry& ze = zipEntry->entry; in createEntryIncFsFileMap()
|
/frameworks/base/core/java/android/util/apk/ |
D | ApkSignatureVerifier.java | 60 import java.util.zip.ZipEntry; 436 final List<ZipEntry> toVerify = new ArrayList<>(); in verifyV1Signature() 440 final ZipEntry manifestEntry = jarFile.findEntry( in verifyV1Signature() 461 final Iterator<ZipEntry> i = jarFile.iterator(); in verifyV1Signature() 463 final ZipEntry entry = i.next(); in verifyV1Signature() 473 for (ZipEntry entry : toVerify) { in verifyV1Signature() 512 StrictJarFile jarFile, ZipEntry entry) { in loadCertificates()
|
/frameworks/native/cmds/dumpstate/tests/ |
D | dumpstate_smoke_test.cpp | 64 void GetEntry(const ZipArchiveHandle archive, const std::string_view entry_name, ZipEntry* data) { in GetEntry() 73 ZipEntry main_entry; in ExtractBugreport() 81 ZipEntry entry; in ExtractBugreport() 265 ZipEntry entry; in FileExists() 273 ZipEntry main_entry; in TEST_F() 287 ZipEntry entry; in TEST_F() 316 ZipEntry entry; in TEST_F()
|
/frameworks/multidex/library/src/androidx/multidex/ |
D | MultiDexExtractor.java | 37 import java.util.zip.ZipEntry; 263 ZipEntry dexFile = apk.getEntry(DEX_PREFIX + secondaryNumber + DEX_SUFFIX); in performExtractions() 380 private static void extract(ZipFile apk, ZipEntry dexFile, File extractTo, in extract() 392 ZipEntry classesDex = new ZipEntry("classes.dex"); in extract()
|
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/ |
D | InstallationAsyncTask.java | 53 import java.util.zip.ZipEntry; 568 Enumeration<? extends ZipEntry> entries = zipFile.entries(); in calculateNumberOfImagesInLocalZip() 570 ZipEntry entry = entries.nextElement(); in calculateNumberOfImagesInLocalZip() 583 ZipEntry entry = null; in installStreamingZipUpdate() 603 Enumeration<? extends ZipEntry> entries = mZipFile.entries(); in installLocalZipUpdate() 606 ZipEntry entry = entries.nextElement(); in installLocalZipUpdate() 620 private void installImageFromAnEntry(ZipEntry entry, InputStream is) in installImageFromAnEntry()
|
/frameworks/base/packages/overlays/tests/src/com/android/theme/icon/ |
D | IconPackOverlayTest.java | 48 import java.util.zip.ZipEntry; 274 Enumeration<? extends ZipEntry> entries = file.entries(); in getDrawablesFromOverlay() 276 ZipEntry element = entries.nextElement(); in getDrawablesFromOverlay()
|