Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dcom_android_internal_content_NativeLibraryHelper.cpp156 sumFiles(JNIEnv*, void* arg, ZipFileRO* zipFile, ZipEntryRO zipEntry, const char*) in sumFiles() argument
161 if (!zipFile->getEntryInfo(zipEntry, NULL, &uncompLen, NULL, NULL, NULL, NULL)) { in sumFiles()
176 copyFileIfChanged(JNIEnv *env, void* arg, ZipFileRO* zipFile, ZipEntryRO zipEntry, const char* file… in copyFileIfChanged() argument
192 if (!zipFile->getEntryInfo(zipEntry, &method, &uncompLen, NULL, &offset, &when, &crc)) { in copyFileIfChanged()
263 if (!zipFile->uncompressEntry(zipEntry, fd)) { in copyFileIfChanged()
316 NativeLibrariesIterator(ZipFileRO* zipFile, void* cookie) in NativeLibrariesIterator() argument
317 : mZipFile(zipFile), mCookie(cookie), mLastSlash(NULL) { in NativeLibrariesIterator()
322 static NativeLibrariesIterator* create(ZipFileRO* zipFile) { in create() argument
325 if (!zipFile->startIteration(&cookie, APK_LIB, NULL /* suffix */)) { in create()
329 return new NativeLibrariesIterator(zipFile, cookie); in create()
[all …]
/frameworks/multidex/library/test/src/android/support/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/test-runner/src/junit/runner/
DTestCaseClassLoader.java158 ZipFile zipFile= null; in loadJarData() local
164 zipFile= new ZipFile(archive); in loadJarData()
168 ZipEntry entry= zipFile.getEntry(fileName); in loadJarData()
173 stream= zipFile.getInputStream(entry); in loadJarData()
180 zipFile.close(); in loadJarData()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/util/
DGenerationalClassUtil.java118 ZipFile zipFile = new ZipFile(file); in loadFomZipFile() local
119 Enumeration<? extends ZipEntry> entries = zipFile.entries(); in loadFomZipFile()
128 inputStream = zipFile.getInputStream(entry); in loadFomZipFile()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp292 ZipFileRO* zipFile = NULL; in readyToRun() local
295 ((zipFile = ZipFileRO::open(SYSTEM_ENCRYPTED_BOOTANIMATION_FILE)) != NULL)) || in readyToRun()
298 ((zipFile = ZipFileRO::open(OEM_BOOTANIMATION_FILE)) != NULL)) || in readyToRun()
301 ((zipFile = ZipFileRO::open(SYSTEM_BOOTANIMATION_FILE)) != NULL))) { in readyToRun()
302 mZip = zipFile; in readyToRun()
/frameworks/base/tools/aapt2/
DMain.cpp741 std::unique_ptr<ZipFile> zipFile = util::make_unique<ZipFile>(); in link() local
742 if (zipFile->open(source.path.data(), ZipFile::kOpenReadOnly) != android::NO_ERROR) { in link()
749 ZipEntry* entry = zipFile->getEntryByName("resources.arsc"); in link()
756 zipFile->uncompress(entry)); in link()
766 apkFiles[table] = StaticLibraryData{ source, std::move(zipFile) }; in link()
1170 std::unique_ptr<ZipFile> zipFile = util::make_unique<ZipFile>(); in doDump() local
1171 if (zipFile->open(source.path.data(), ZipFile::kOpenReadOnly) != android::NO_ERROR) { in doDump()
1181 ZipEntry* entry = zipFile->getEntryByName("resources.arsc"); in doDump()
1188 zipFile->uncompress(entry)); in doDump()
/frameworks/base/test-runner/src/android/test/
DClassPathPackageInfoSource.java251 ZipFile zipFile = new ZipFile(jarFile); in getJarEntries() local
252 Enumeration<? extends ZipEntry> entries = zipFile.entries(); in getJarEntries()
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
DAsmGeneratorTest.java423 ZipFile zipFile = new ZipFile(mOsDestJar); in testMethodInjection() local
424 ZipEntry entry = zipFile.getEntry(modifiedClassPath); in testMethodInjection()
427 final InputStream inputStream = zipFile.getInputStream(entry); in testMethodInjection()
/frameworks/multidex/library/src/android/support/multidex/
DMultiDexExtractor.java347 ZipFile zipFile = new ZipFile(file); in verifyZipFile() local
349 zipFile.close(); in verifyZipFile()
/frameworks/data-binding/integration-tests/TestApp/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/frameworks/support/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/frameworks/data-binding/compiler/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/frameworks/data-binding/developmentPlugins/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/frameworks/data-binding/integration-tests/IndependentLibrary/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/frameworks/data-binding/samples/BindingDemo/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/frameworks/data-binding/extensions/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/frameworks/data-binding/integration-tests/MultiModuleTestApp/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/frameworks/data-binding/developmentPlugins/bintrayPlugin/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/frameworks/data-binding/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/frameworks/data-binding/gradlePlugin/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/frameworks/data-binding/integration-tests/App With Spaces/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/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...