Searched refs:zipFile (Results 1 – 5 of 5) sorted by relevance
/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/layoutlib/create/tests/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 | 699 private static InputStream maybeOpenPinMetaInZip(ZipFile zipFile, String fileName) { in maybeOpenPinMetaInZip() argument 700 ZipEntry pinMetaEntry = zipFile.getEntry(PIN_META_FILENAME); in maybeOpenPinMetaInZip() 704 pinMetaStream = zipFile.getInputStream(pinMetaEntry); in maybeOpenPinMetaInZip()
|