/frameworks/base/tools/aapt/ |
D | ZipEntry.cpp | 40 status_t ZipEntry::initFromCDE(FILE* fp) in initFromCDE() 113 void ZipEntry::initNew(const char* fileName, const char* comment) in initNew() 145 status_t ZipEntry::initFromExternal(const ZipFile* /* pZipFile */, in initFromExternal() 146 const ZipEntry* pEntry) in initFromExternal() 181 status_t ZipEntry::addPadding(int padding) in addPadding() 217 void ZipEntry::copyCDEtoLFH(void) in copyCDEtoLFH() 242 void ZipEntry::setDataInfo(long uncompLen, long compLen, unsigned long crc32, in setDataInfo() 263 bool ZipEntry::compareHeaders(void) const in compareHeaders() 321 time_t ZipEntry::getModWhen(void) const in getModWhen() 340 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 | 147 ZipEntry* entry = zip->getEntryByIndex(i); in writeAPK() 250 ZipEntry* entry; in processFile() 329 compressionMethod = ZipEntry::kCompressStored; in processFile() 340 if (entry->getCompressionMethod() == ZipEntry::kCompressStored) { in processFile() 408 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/tools/locked_region_code_injection/src/lockedregioncodeinjection/ |
D | Main.java | 24 import java.util.zip.ZipEntry; 73 Enumeration<? extends ZipEntry> srcEntries = zipSrc.entries(); in main() 75 ZipEntry entry = srcEntries.nextElement(); in main() 76 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/core/java/android/util/apk/ |
D | ApkSignatureVerifier.java | 48 import java.util.zip.ZipEntry; 177 final List<ZipEntry> toVerify = new ArrayList<>(); in verifyV1Signature() 181 final ZipEntry manifestEntry = jarFile.findEntry( in verifyV1Signature() 197 final Iterator<ZipEntry> i = jarFile.iterator(); in verifyV1Signature() 199 final ZipEntry entry = i.next(); in verifyV1Signature() 209 for (ZipEntry entry : toVerify) { in verifyV1Signature() 240 private static Certificate[][] loadCertificates(StrictJarFile jarFile, ZipEntry entry) in loadCertificates()
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | ZipFile.cpp | 47 ::ZipEntry entry; in Uncompress() 61 ::ZipEntry entry; in Crc()
|
/frameworks/base/tools/aapt2/io/ |
D | ZipArchive.h | 35 ZipFile(::ZipArchiveHandle handle, const ::ZipEntry& entry, const Source& source); 44 ::ZipEntry zip_entry_;
|
D | ZipArchive.cpp | 32 ZipFile::ZipFile(ZipArchiveHandle handle, const ZipEntry& entry, in ZipFile() 127 ZipEntry zip_data; in Create()
|
/frameworks/base/core/jni/ |
D | android_util_jar_StrictJarFile.cpp | 43 jobject newZipEntry(JNIEnv* env, const ZipEntry& entry, jstring entryName) { in newZipEntry() 122 ZipEntry data; in StrictJarFile_nativeNextEntry() 147 ZipEntry data; in StrictJarFile_nativeFindEntry()
|
/frameworks/multidex/library/src/androidx/multidex/ |
D | MultiDexExtractor.java | 36 import java.util.zip.ZipEntry; 258 ZipEntry dexFile = apk.getEntry(DEX_PREFIX + secondaryNumber + DEX_SUFFIX); in performExtractions() 375 private static void extract(ZipFile apk, ZipEntry dexFile, File extractTo, in extract() 387 ZipEntry classesDex = new ZipEntry("classes.dex"); in extract()
|
/frameworks/base/libs/androidfw/ |
D | ZipFileRO.cpp | 41 ZipEntry entry; 121 const ZipEntry& ze = zipEntry->entry; in getEntryInfo() 219 const ZipEntry& ze = zipEntry->entry; in createEntryFileMap()
|
D | ApkAssets.cpp | 129 ::ZipEntry entry; in LoadImpl() 169 ::ZipEntry entry; in Open() 223 ::ZipEntry entry; in ForEachFile()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
D | DumpTruck.java | 39 import java.util.zip.ZipEntry; 177 ZipEntry entry = new ZipEntry(filename); in zipUp()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | FileRotator.java | 30 import java.util.zip.ZipEntry; 157 final ZipEntry entry = new ZipEntry(name); in dumpAll()
|
/frameworks/native/cmds/dumpstate/tests/ |
D | dumpstate_smoke_test.cpp | 210 ZipEntry entry; in FileExists() 218 ZipEntry mainEntryLoc; in TEST_F() 231 ZipEntry entry; in TEST_F()
|
/frameworks/base/libs/androidfw/tests/ |
D | TestHelpers.cpp | 38 ::ZipEntry entry; in ReadFileFromZipToString()
|
/frameworks/base/core/java/android/os/ |
D | RecoverySystem.java | 63 import java.util.zip.ZipEntry; 164 Enumeration<? extends ZipEntry> entries = zip.entries(); in getTrustedCerts() 166 ZipEntry entry = entries.nextElement(); in getTrustedCerts() 363 ZipEntry entry; in verifyPackageCompatibility() 389 ZipEntry entry = zip.getEntry("compatibility.zip"); in readAndVerifyPackageCompatibilityEntry()
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | DexManager.java | 58 import java.util.zip.ZipEntry; 758 Iterator<ZipEntry> it = jarFile.iterator(); in auditUncompressedDexInApk() 761 ZipEntry entry = it.next(); in auditUncompressedDexInApk() 763 if (entry.getMethod() != ZipEntry.STORED) { in auditUncompressedDexInApk()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/dex/ |
D | DexMetadataHelperTest.java | 54 import java.util.zip.ZipEntry; 85 zipOs.putNextEntry(new ZipEntry("primary.prof")); in createDexMetadataFile()
|