Home
last modified time | relevance | path

Searched refs:zipFile (Results 1 – 19 of 19) sorted by relevance

/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()
178 if (!punchHolesInElf64(zipFile->getZipFileName(), offset)) { in copyFileIfChanged()
181 fileName, zipFile->getZipFileName(), offset); in copyFileIfChanged()
186 if (!punchHolesInZip(zipFile->getZipFileName(), offset, extraFieldLength)) { in copyFileIfChanged()
187 ALOGW("Failed to punch apk : %s at extra field", zipFile->getZipFileName()); in copyFileIfChanged()
249 if (!zipFile->uncompressEntry(zipEntry, fd)) { in copyFileIfChanged()
305 zipFile->getZipFileName()); in copyFileIfChanged()
[all …]
/frameworks/base/apct-tests/perftests/core/src/android/libcore/
DBufferedZipFilePerfTest.java74 ZipFile zipFile = new ZipFile(mFile); in timeUnbufferedRead() local
75 ZipEntry entry = zipFile.getEntry("entry.data" + mCompressedSize[i]); in timeUnbufferedRead()
76 InputStream in = zipFile.getInputStream(entry); in timeUnbufferedRead()
82 zipFile.close(); in timeUnbufferedRead()
94 ZipFile zipFile = new ZipFile(mFile); in timeBufferedRead() local
95 ZipEntry entry = zipFile.getEntry("entry.data" + mCompressedSize[i]); in timeBufferedRead()
96 InputStream in = new BufferedInputStream(zipFile.getInputStream(entry)); in timeBufferedRead()
102 zipFile.close(); in timeBufferedRead()
DZipFileReadPerfTest.java59 ZipFile zipFile = new ZipFile(mFile); in setUp() local
60 for (Enumeration<? extends ZipEntry> e = zipFile.entries(); e.hasMoreElements(); ) { in setUp()
63 zipFile.close(); in setUp()
96 ZipFile zipFile = new ZipFile(mFile); in timeZipFileRead() local
97 for (Enumeration<? extends ZipEntry> e = zipFile.entries(); e.hasMoreElements(); ) { in timeZipFileRead()
99 InputStream is = zipFile.getInputStream(zipEntry); in timeZipFileRead()
106 zipFile.close(); in timeZipFileRead()
DZipFilePerfTest.java57 ZipFile zipFile = new ZipFile(mFile); in setUp() local
58 for (Enumeration<? extends ZipEntry> e = zipFile.entries(); e.hasMoreElements(); ) { in setUp()
61 zipFile.close(); in setUp()
/frameworks/base/tools/sdkparcelables/src/com/android/sdkparcelables/
DMain.kt33 val zipFile: ZipFile in main() constant
36 zipFile = ZipFile(zipFileName) in main()
44 for (entry in zipFile.entries()) { in main()
46 val reader = ClassReader(zipFile.getInputStream(entry)) in main()
/frameworks/multidex/library/test/src/androidx/multidex/
DZipUtilTest.java49 private static final File zipFile = new File(System.getenv("ANDROID_BUILD_TOP"), field in ZipUtilTest
54 new ZipFile(zipFile).close(); in setupClass()
61 ZipUtil.getZipCrc(zipFile); in testCrcDoNotCrash()
68 RandomAccessFile raf = new RandomAccessFile(zipFile, "r"); in testCrcRange()
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/services/tests/servicestests/src/com/android/server/pm/dex/
DArtStatsLogUtilsTest.java301 Path zipFile = Files.createTempFile(null, suffix); in zipFiles() local
302 try (final OutputStream os = Files.newOutputStream(zipFile)) { in zipFiles()
312 return zipFile; in zipFiles()
316 Path zipFile = Files.createTempFile(null, ".dm"); in createDexMetadata() local
317 try (final OutputStream os = Files.newOutputStream(zipFile)) { in createDexMetadata()
327 return zipFile; in createDexMetadata()
/frameworks/layoutlib/create/tests/src/com/android/tools/layoutlib/create/
DAsmGeneratorTest.java295 ZipFile zipFile = new ZipFile(mOsDestJar); in testMethodInjection() local
296 ZipEntry entry = zipFile.getEntry(modifiedClassPath); in testMethodInjection()
299 try (InputStream inputStream = zipFile.getInputStream(entry)) { in testMethodInjection()
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/
DInstallationAsyncTask.java566 private int calculateNumberOfImagesInLocalZip(ZipFile zipFile) { in calculateNumberOfImagesInLocalZip() argument
568 Enumeration<? extends ZipEntry> entries = zipFile.entries(); in calculateNumberOfImagesInLocalZip()
/frameworks/base/services/core/java/com/android/server/
DPinnerService.java1086 private static InputStream maybeOpenPinMetaInZip(ZipFile zipFile, String fileName) { in maybeOpenPinMetaInZip() argument
1096 ZipEntry pinMetaEntry = zipFile.getEntry(PIN_META_FILENAME); in maybeOpenPinMetaInZip()
1103 pinMetaEntry = zipFile.getEntry("assets/" + PIN_META_FILENAME); in maybeOpenPinMetaInZip()
1112 pinMetaStream = zipFile.getInputStream(pinMetaEntry); in maybeOpenPinMetaInZip()
/frameworks/base/services/core/java/com/android/server/recoverysystem/
DRecoverySystemService.java979 try (ZipFile zipFile = new ZipFile(packageFile)) { in getCompressedApexInfoList() argument
980 final ZipEntry entry = zipFile.getEntry("apex_info.pb"); in getCompressedApexInfoList()
998 try (InputStream is = zipFile.getInputStream(entry)) { in getCompressedApexInfoList()
/frameworks/base/services/incremental/
DIncrementalService.cpp1913 std::shared_ptr<ZipArchive> zipFile(zipFileHandle, [](ZipArchiveHandle h) { CloseArchive(h); }); in configureNativeBinaries() local
1916 if (StartIteration(zipFile.get(), &cookie, libFilePrefix, constants().libSuffix)) { in configureNativeBinaries()
2025 jobQueue.emplace_back([this, zipFile, entry, ifs = std::weak_ptr<IncFsMount>(ifs), in configureNativeBinaries()
2028 extractZipFile(ifs.lock(), zipFile.get(), entry, libFileId, libPath, makeFileTs); in configureNativeBinaries()
2070 void IncrementalService::extractZipFile(const IfsMountPtr& ifs, ZipArchiveHandle zipFile, in extractZipFile() argument
2084 if (ExtractToMemory(zipFile, &entry, libData.get(), entry.uncompressed_length)) { in extractZipFile()
DIncrementalService.h460 void extractZipFile(const IfsMountPtr& ifs, ZipArchiveHandle zipFile, ZipEntry& entry,
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/frameworks/base/tests/UiBench/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/frameworks/multidex/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/frameworks/av/media/tests/SampleVideoEncoder/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/frameworks/base/startop/apps/ColorChanging/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/frameworks/base/tests/TouchLatency/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...