Home
last modified time | relevance | path

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

12

/aosp12/frameworks/base/core/jni/
H A Dcom_android_internal_content_NativeLibraryHelper.cpp256 if (!zipFile->uncompressEntry(zipEntry, fd)) { in copyFileIfChanged()
391 ZipFileRO* zipFile = reinterpret_cast<ZipFileRO*>(apkHandle); in iterateOverNativeFiles() local
392 if (zipFile == NULL) { in iterateOverNativeFiles()
441 ZipFileRO* zipFile = reinterpret_cast<ZipFileRO*>(apkHandle); in findSupportedAbi() local
442 if (zipFile == NULL) { in findSupportedAbi()
531 while ((next = zipFile->nextEntry(cookie)) != NULL) { in com_android_internal_content_NativeLibraryHelper_hasRenderscriptBitcode()
538 zipFile->endIteration(cookie); in com_android_internal_content_NativeLibraryHelper_hasRenderscriptBitcode()
543 zipFile->endIteration(cookie); in com_android_internal_content_NativeLibraryHelper_hasRenderscriptBitcode()
551 ZipFileRO* zipFile = ZipFileRO::open(filePath.c_str()); in com_android_internal_content_NativeLibraryHelper_openApk() local
553 return reinterpret_cast<jlong>(zipFile); in com_android_internal_content_NativeLibraryHelper_openApk()
[all …]
/aosp12/frameworks/multidex/library/test/src/androidx/multidex/
H A 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()
/aosp12/art/test/656-annotation-lookup-generic-jni/src-art/
H A DMain.java31 ZipFile zipFile = new ZipFile(jarFilename); in main() local
32 ZipEntry zipEntry = zipFile.getEntry("classes.dex"); in main()
33 InputStream inputStream = zipFile.getInputStream(zipEntry); in main()
54 zipFile.close(); in main()
/aosp12/frameworks/base/tools/sdkparcelables/src/com/android/sdkparcelables/
H A DMain.kt33 val zipFile: ZipFile
36 zipFile = ZipFile(zipFileName)
44 for (entry in zipFile.entries()) {
46 val reader = ClassReader(zipFile.getInputStream(entry))
/aosp12/build/make/tools/zipalign/
H A DZipAlign.cpp142 ZipFile zipFile; in verify() local
148 if (zipFile.open(fileName, ZipFile::kOpenReadOnly) != OK) { in verify()
153 int numEntries = zipFile.getNumEntries(); in verify()
157 pEntry = zipFile.getEntryByIndex(i); in verify()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
H A DArtStatsLogUtilsTest.java298 Path zipFile = Files.createTempFile(null, suffix); in zipFiles() local
299 try (final OutputStream os = Files.newOutputStream(zipFile)) { in zipFiles()
309 return zipFile; in zipFiles()
313 Path zipFile = Files.createTempFile(null, ".dm"); in createDexMetadata() local
314 try (final OutputStream os = Files.newOutputStream(zipFile)) { in createDexMetadata()
324 return zipFile; in createDexMetadata()
/aosp12/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
H A DZipUtils.java48 try (ZipFile zipFile = new ZipFile(file)) { in extractZippedFileToZipStream() argument
49 Enumeration<? extends ZipEntry> entries = zipFile.entries(); in extractZippedFileToZipStream()
52 try (InputStream stream = zipFile.getInputStream(entry)) { in extractZippedFileToZipStream()
/aosp12/packages/apps/Car/SystemUpdater/src/com/android/car/systemupdater/
H A DUpdateParser.java59 try (ZipFile zipFile = new ZipFile(file)) { in parse() argument
60 Enumeration<? extends ZipEntry> entries = zipFile.entries(); in parse()
78 new InputStreamReader(zipFile.getInputStream(entry)))) { in parse()
/aosp12/packages/modules/common/tools/
H A Dfinalize_sdk.py95 with zipfile.ZipFile(os.path.join(tmpdir, f)) as zipFile:
96 zipFile.extractall(target_dir)
/aosp12/build/soong/android/
H A Dpackaging_test.go92 zipFile := PathForModuleOut(ctx, "myzip.zip")
93 m.entries = m.CopyDepsToZip(ctx, zipFile)
/aosp12/frameworks/layoutlib/create/tests/src/com/android/tools/layoutlib/create/
H A DAsmGeneratorTest.java284 ZipFile zipFile = new ZipFile(mOsDestJar); in testMethodInjection() local
285 ZipEntry entry = zipFile.getEntry(modifiedClassPath); in testMethodInjection()
288 try (InputStream inputStream = zipFile.getInputStream(entry)) { in testMethodInjection()
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
H A DArchiveHandle.java316 ZipFile zipFile = new ZipFile(zipFileChannel); in create() local
318 zipFile); in create()
/aosp12/build/soong/sdk/
H A Dupdate.go418 var zipFile android.OutputPath
421 zipFile = outputZipFile
425 zipFile = android.PathForModuleOut(ctx, intermediatePath).OutputPath
433 Output: zipFile,
443 Input: zipFile,
/aosp12/frameworks/base/services/core/java/com/android/server/recoverysystem/
H A DRecoverySystemService.java921 try (ZipFile zipFile = new ZipFile(packageFile)) { in getCompressedApexInfoList() argument
922 final ZipEntry entry = zipFile.getEntry("apex_info.pb"); in getCompressedApexInfoList()
940 try (InputStream is = zipFile.getInputStream(entry)) { in getCompressedApexInfoList()
/aosp12/frameworks/base/services/core/java/com/android/server/
H A DPinnerService.java845 private static InputStream maybeOpenPinMetaInZip(ZipFile zipFile, String fileName) { in maybeOpenPinMetaInZip() argument
853 ZipEntry pinMetaEntry = zipFile.getEntry(PIN_META_FILENAME); in maybeOpenPinMetaInZip()
857 pinMetaStream = zipFile.getInputStream(pinMetaEntry); in maybeOpenPinMetaInZip()
/aosp12/frameworks/base/services/incremental/
H A DIncrementalService.cpp1893 std::shared_ptr<ZipArchive> zipFile(zipFileHandle, [](ZipArchiveHandle h) { CloseArchive(h); }); in configureNativeBinaries() local
1896 if (StartIteration(zipFile.get(), &cookie, libFilePrefix, constants().libSuffix)) { in configureNativeBinaries()
2005 jobQueue.emplace_back([this, zipFile, entry, ifs = std::weak_ptr<IncFsMount>(ifs), in configureNativeBinaries()
2008 extractZipFile(ifs.lock(), zipFile.get(), entry, libFileId, libPath, makeFileTs); in configureNativeBinaries()
2050 void IncrementalService::extractZipFile(const IfsMountPtr& ifs, ZipArchiveHandle zipFile, in extractZipFile() argument
2064 if (ExtractToMemory(zipFile, &entry, libData.get(), entry.uncompressed_length)) { in extractZipFile()
H A DIncrementalService.h460 void extractZipFile(const IfsMountPtr& ifs, ZipArchiveHandle zipFile, ZipEntry& entry,
/aosp12/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/gradle/wrapper/
H A Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/aosp12/system/extras/power_profile/gps_on/gradle/wrapper/
H A Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/aosp12/system/extras/power_profile/camera_avg/gradle/wrapper/
H A Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/aosp12/system/extras/power_profile/camera_flashlight/gradle/wrapper/
H A Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/aosp12/frameworks/base/tests/UiBench/gradle/wrapper/
H A Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/aosp12/packages/inputmethods/LatinIME/gradle/wrapper/
H A Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/aosp12/system/extras/simpleperf/demo/CppApi/gradle/wrapper/
H A Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/aosp12/system/extras/simpleperf/demo/SimpleperfExampleOfKotlin/gradle/wrapper/
H A Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...

12