Home
last modified time | relevance | path

Searched refs:zipEntry (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/libs/androidfw/
DZipFileRO.cpp125 const _ZipEntryRO* zipEntry = reinterpret_cast<_ZipEntryRO*>(entry); in getEntryInfo() local
126 const ZipEntry& ze = zipEntry->entry; in getEntryInfo()
219 const _ZipEntryRO* zipEntry = reinterpret_cast<_ZipEntryRO*>(entry); in getEntryFileName() local
220 const uint16_t requiredSize = zipEntry->name.length() + 1; in getEntryFileName()
227 memcpy(buffer, zipEntry->name.data(), requiredSize - 1); in getEntryFileName()
238 const _ZipEntryRO *zipEntry = reinterpret_cast<_ZipEntryRO*>(entry); in createEntryFileMap() local
239 const ZipEntry& ze = zipEntry->entry; in createEntryFileMap()
263 const _ZipEntryRO *zipEntry = reinterpret_cast<_ZipEntryRO*>(entry); in createEntryIncFsFileMap() local
264 const ZipEntry& ze = zipEntry->entry; in createEntryIncFsFileMap()
289 _ZipEntryRO *zipEntry = reinterpret_cast<_ZipEntryRO*>(entry); in uncompressEntry() local
[all …]
/frameworks/base/apct-tests/perftests/core/src/android/libcore/
DZipFileReadPerfTest.java61 ZipEntry zipEntry = e.nextElement(); in setUp() local
98 ZipEntry zipEntry = e.nextElement(); in timeZipFileRead() local
99 InputStream is = zipFile.getInputStream(zipEntry); in timeZipFileRead()
DZipFilePerfTest.java59 ZipEntry zipEntry = e.nextElement(); in setUp() local
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DArtStatsLogUtilsTest.java305 ZipEntry zipEntry = new ZipEntry(file.getFileName().toString()); in zipFiles() local
306 zos.putNextEntry(zipEntry); in zipFiles()
320 ZipEntry zipEntry = new ZipEntry(entryName); in createDexMetadata() local
321 zos.putNextEntry(zipEntry); in createDexMetadata()
/frameworks/base/core/java/android/util/apk/
DSourceStampVerifier.java420 ZipEntry zipEntry = apkJar.findEntry(SOURCE_STAMP_CERTIFICATE_HASH_ZIP_ENTRY_NAME); in getSourceStampCertificateDigest() local
421 if (zipEntry == null) { in getSourceStampCertificateDigest()
426 return Streams.readFully(apkJar.getInputStream(zipEntry)); in getSourceStampCertificateDigest()
430 ZipEntry zipEntry = apkJar.findEntry(JarFile.MANIFEST_NAME); in getManifestBytes() local
431 if (zipEntry == null) { in getManifestBytes()
434 return Streams.readFully(apkJar.getInputStream(zipEntry)); in getManifestBytes()
/frameworks/base/core/java/android/content/pm/dex/
DDexMetadataHelper.java225 ZipEntry zipEntry = jarFile.findEntry("manifest.json"); in validateDexMetadataManifest() local
226 if (zipEntry == null) { in validateDexMetadataManifest()
230 InputStream inputStream = jarFile.getInputStream(zipEntry); in validateDexMetadataManifest()
/frameworks/base/core/jni/
Dcom_android_internal_content_NativeLibraryHelper.cpp113 sumFiles(JNIEnv*, void* arg, ZipFileRO* zipFile, ZipEntryRO zipEntry, const char*) in sumFiles() argument
118 if (!zipFile->getEntryInfo(zipEntry, nullptr, &uncompLen, nullptr, nullptr, nullptr, nullptr, in sumFiles()
134 copyFileIfChanged(JNIEnv *env, void* arg, ZipFileRO* zipFile, ZipEntryRO zipEntry, const char* file… in copyFileIfChanged() argument
151 if (!zipFile->getEntryInfo(zipEntry, &method, &uncompLen, nullptr, &offset, &when, &crc, in copyFileIfChanged()
249 if (!zipFile->uncompressEntry(zipEntry, fd)) { in copyFileIfChanged()
/frameworks/base/tools/protologtool/src/com/android/protolog/tool/
DProtoLogTool.kt81 private fun zipEntry(path: String): ZipEntry { in <lambda>() method
111 outJar.putNextEntry(zipEntry(protologImplPath)) in <lambda>()
142 outJar.putNextEntry(zipEntry(path)) in <lambda>()