/frameworks/base/core/jni/ |
D | com_android_internal_content_NativeLibraryHelper.cpp | 154 sumFiles(JNIEnv*, void* arg, ZipFileRO* zipFile, ZipEntryRO zipEntry, const char*) in sumFiles() argument 159 if (!zipFile->getEntryInfo(zipEntry, NULL, &uncompLen, NULL, NULL, NULL, NULL)) { in sumFiles() 174 copyFileIfChanged(JNIEnv *env, void* arg, ZipFileRO* zipFile, ZipEntryRO zipEntry, const char* file… in copyFileIfChanged() argument 189 if (!zipFile->getEntryInfo(zipEntry, &method, &uncompLen, NULL, &offset, &when, &crc)) { in copyFileIfChanged() 256 if (!zipFile->uncompressEntry(zipEntry, fd)) { in copyFileIfChanged() 309 NativeLibrariesIterator(ZipFileRO* zipFile, bool debuggable, void* cookie) in NativeLibrariesIterator() argument 310 : mZipFile(zipFile), mDebuggable(debuggable), mCookie(cookie), mLastSlash(NULL) { in NativeLibrariesIterator() 315 static NativeLibrariesIterator* create(ZipFileRO* zipFile, bool debuggable) { in create() argument 318 if (!zipFile->startIteration(&cookie, APK_LIB, NULL /* suffix */)) { in create() 322 return new NativeLibrariesIterator(zipFile, debuggable, cookie); in create() [all …]
|
/frameworks/base/tools/sdkparcelables/src/com/android/sdkparcelables/ |
D | Main.kt | 33 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/ |
D | ZipUtilTest.java | 49 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/ |
D | ArtStatsLogUtilsTest.java | 298 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()
|
/frameworks/layoutlib/create/tests/src/com/android/tools/layoutlib/create/ |
D | AsmGeneratorTest.java | 284 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()
|
/frameworks/base/services/core/java/com/android/server/ |
D | PinnerService.java | 845 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()
|
/frameworks/base/services/core/java/com/android/server/recoverysystem/ |
D | RecoverySystemService.java | 921 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()
|
/frameworks/base/services/incremental/ |
D | IncrementalService.cpp | 1893 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()
|
D | IncrementalService.h | 460 void extractZipFile(const IfsMountPtr& ifs, ZipArchiveHandle zipFile, ZipEntry& entry,
|