Searched refs:zip (Results 1 - 25 of 81) sorted by relevance

1234

/frameworks/data-binding/integration-tests/App With Spaces/gradle/wrapper/
H A Dgradle-wrapper.properties22 distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip
/frameworks/data-binding/integration-tests/IndependentLibrary/gradle/wrapper/
H A Dgradle-wrapper.properties21 distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip
/frameworks/data-binding/integration-tests/MultiModuleTestApp/gradle/wrapper/
H A Dgradle-wrapper.properties22 distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip
/frameworks/base/core/java/android/app/
H A DApplicationLoaders.java36 ClassLoader getClassLoader(String zip, int targetSdkVersion, boolean isBundled, argument
39 // For normal usage the cache key used is the same as the zip path.
40 return getClassLoader(zip, targetSdkVersion, isBundled, librarySearchPath,
41 libraryPermittedPath, parent, zip, classLoaderName);
44 private ClassLoader getClassLoader(String zip, int targetSdkVersion, boolean isBundled, argument
64 * new ClassLoader for the zip archive.
72 Trace.traceBegin(Trace.TRACE_TAG_ACTIVITY_MANAGER, zip);
75 zip, librarySearchPath, libraryPermittedPath, parent,
89 Trace.traceBegin(Trace.TRACE_TAG_ACTIVITY_MANAGER, zip);
91 zip, nul
[all...]
/frameworks/base/core/java/android/util/apk/
H A DZipUtils.java54 static Pair<ByteBuffer, Long> findZipEndOfCentralDirectoryRecord(RandomAccessFile zip) argument
66 long fileSize = zip.length();
74 Pair<ByteBuffer, Long> result = findZipEndOfCentralDirectoryRecord(zip, 0);
82 return findZipEndOfCentralDirectoryRecord(zip, UINT16_MAX_VALUE);
98 RandomAccessFile zip, int maxCommentSize) throws IOException {
113 long fileSize = zip.length();
124 zip.seek(bufOffsetInFile);
125 zip.readFully(buf.array(), buf.arrayOffset(), buf.capacity());
189 RandomAccessFile zip, long zipEndOfCentralDirectoryPosition) throws IOException {
198 zip
97 findZipEndOfCentralDirectoryRecord( RandomAccessFile zip, int maxCommentSize) argument
188 isZip64EndOfCentralDirectoryLocatorPresent( RandomAccessFile zip, long zipEndOfCentralDirectoryPosition) argument
[all...]
/frameworks/base/tools/aapt/
H A DPackage.cpp40 ssize_t processAssets(Bundle* bundle, ZipFile* zip, const sp<const OutputSet>& outputSet);
41 bool processFile(Bundle* bundle, ZipFile* zip, String8 storageName, const sp<const AaptFile>& file);
43 ssize_t processJarFiles(Bundle* bundle, ZipFile* zip);
60 ZipFile* zip = NULL; local
100 zip = new ZipFile;
101 status = zip->open(outputFile.string(), ZipFile::kOpenReadWrite | ZipFile::kOpenCreate);
112 count = processAssets(bundle, zip, outputSet);
124 count = processJarFiles(bundle, zip);
133 printf("Included %d file%s from jar/zip files.\n", count, (count==1) ? "" : "s");
146 for (i = 0; i < zip
218 processAssets(Bundle* bundle, ZipFile* zip, const sp<const OutputSet>& outputSet) argument
245 processFile(Bundle* bundle, ZipFile* zip, String8 storageName, const sp<const AaptFile>& file) argument
427 processJarFiles(Bundle* bundle, ZipFile* zip) argument
[all...]
H A DCommand.cpp39 ZipFile* zip; local
42 zip = new ZipFile;
43 result = zip->open(fileName, ZipFile::kOpenReadOnly);
53 delete zip;
57 return zip;
68 ZipFile* zip = NULL; local
77 zip = new ZipFile;
78 result = zip->open(fileName, flags);
80 delete zip;
81 zip
126 ZipFile* zip = NULL; local
2385 ZipFile* zip = NULL; local
2456 ZipFile* zip = NULL; local
[all...]
/frameworks/multidex/library/test/src/androidx/multidex/
H A DZipUtilTest.java37 import java.util.zip.ZipEntry;
38 import java.util.zip.ZipException;
39 import java.util.zip.ZipFile;
53 // just verify the zip is valid
92 ZipFile zip = new ZipFile(zipFile);
93 Assert.assertEquals(zip.size(), toCheck.size());
94 Enumeration<? extends ZipEntry> ref = zip.entries();
108 zip.close();
113 ZipFile zip = new ZipFile(zipFile);
114 Enumeration<? extends ZipEntry> ref = zip
[all...]
H A DZipEntryReader.java28 import java.util.zip.ZipEntry;
29 import java.util.zip.ZipException;
/frameworks/rs/tests/java_api/
H A DAndroid.mk25 $(call dist-for-goals,RSUnbundledTests,$(my_package_zip):$(my_package_name).zip)
39 $(call dist-for-goals,RSUnbundledTests,$(my_package_zip):$(my_package_name).zip)
59 $(call dist-for-goals,RSTests,$(my_package_zip):$(my_package_name).zip)
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp156 // Manually close any fd paths for which we have not yet opened their zip (which
159 ALOGV("Cleaning path #%d: fd=%d, zip=%p", (int)i, mAssetPaths[i].rawFd,
160 mAssetPaths[i].zip.get());
161 if (mAssetPaths[i].rawFd >= 0 && mAssetPaths[i].zip == NULL) {
207 ap.type == kFileTypeDirectory ? "dir" : "zip", ap.path.string());
804 /* look inside the zip file */
811 ALOGV("GOT zip, checking NA '%s'", (const char*) path);
837 String8 sourceName("zip:");
863 ALOGV("getZipFileLocked() in %p: ap=%p zip=%p", this, &ap, ap.zip
1454 sp<SharedZip> zip = gOpen.valueFor(path).promote(); local
1590 sp<SharedZip> zip = mZipFile[idx]; local
1601 sp<SharedZip> zip = mZipFile[idx]; local
1613 sp<SharedZip> zip = mZipFile[idx]; local
1621 sp<SharedZip> zip = mZipFile[idx]; local
1633 sp<SharedZip> zip = mZipFile[idx]; local
1663 sp<SharedZip> zip = mZipFile[idx]; local
1669 sp<SharedZip> zip = SharedZip::get(path, false); local
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebViewZygote.java174 final String zip = (zipPaths.size() == 1) ? zipPaths.get(0) :
188 Log.d(LOGTAG, "Preloading package " + zip + " " + librarySearchPath);
189 sZygote.preloadPackageForAbi(zip, librarySearchPath, libFileName, cacheKey,
/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/
H A DMain.java24 import java.util.zip.ZipEntry;
25 import java.util.zip.ZipFile;
26 import java.util.zip.ZipOutputStream;
/frameworks/multidex/library/src/androidx/multidex/
H A DZipUtil.java26 import java.util.zip.CRC32;
27 import java.util.zip.ZipException;
30 * Tools to build a quick partial crc of zip files.
50 * the crc32 of each entries in the zip so the computed result is considered valid for the whole
51 * zip file. Does not support zip64 nor multidisk but it should be OK for now since ZipFile does
70 throw new ZipException("File too short to be a zip file: " + raf.length());
/frameworks/base/cmds/idmap/
H A Dcreate.cpp18 std::unique_ptr<ZipFileRO> zip(ZipFileRO::open(zip_path));
19 if (zip.get() == NULL) {
22 ZipEntryRO entry = zip->findEntryByName(entry_name);
26 if (!zip->getEntryInfo(entry, NULL, NULL, NULL, NULL, NULL, crc)) {
29 zip->releaseEntry(entry);
H A Dscan.cpp187 std::unique_ptr<ZipFileRO> zip(ZipFileRO::open(path));
188 if (zip.get() == NULL) {
189 ALOGW("%s: failed to open zip %s\n", __FUNCTION__, path);
193 if ((entry = zip->findEntryByName("AndroidManifest.xml")) == NULL) {
199 if (!zip->getEntryInfo(entry, &method, &uncompLen, NULL, NULL, NULL, NULL)) {
204 ALOGW("%s: cannot handle zip compression method %" PRIu16 "\n", __FUNCTION__, method);
207 FileMap *dataMap = zip->createEntryFileMap(entry);
/frameworks/base/tools/aapt2/cmd/
H A DDump.cpp131 std::unique_ptr<io::ZipFileCollection> zip = io::ZipFileCollection::Create(file_path, &err); local
132 if (zip) {
135 if (io::IFile* file = zip->FindFile("resources.pb")) {
150 if (!DeserializeTableFromPb(pb_table, zip.get(), &table, &err)) {
155 } else if (io::IFile* file = zip->FindFile("resources.arsc")) {
179 io::IFile* file = zip->FindFile(options.file_to_dump_path.value());
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp68 static const char OEM_BOOTANIMATION_FILE[] = "/oem/media/bootanimation.zip";
69 static const char PRODUCT_BOOTANIMATION_FILE[] = "/product/media/bootanimation.zip";
70 static const char SYSTEM_BOOTANIMATION_FILE[] = "/system/media/bootanimation.zip";
71 static const char PRODUCT_ENCRYPTED_BOOTANIMATION_FILE[] = "/product/media/bootanimation-encrypted.zip";
72 static const char SYSTEM_ENCRYPTED_BOOTANIMATION_FILE[] = "/system/media/bootanimation-encrypted.zip";
73 static const char OEM_SHUTDOWNANIMATION_FILE[] = "/oem/media/shutdownanimation.zip";
74 static const char PRODUCT_SHUTDOWNANIMATION_FILE[] = "/product/media/shutdownanimation.zip";
75 static const char SYSTEM_SHUTDOWNANIMATION_FILE[] = "/system/media/shutdownanimation.zip";
507 static bool readFile(ZipFileRO* zip, const char* name, String8& outString) argument
509 ZipEntryRO entry = zip
702 ZipFileRO* zip = animation.zip; local
1008 ZipFileRO *zip = ZipFileRO::open(fn); local
[all...]
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/
H A DAsmGeneratorTest.java45 import java.util.zip.ZipEntry;
46 import java.util.zip.ZipFile;
317 ZipFile zip = new ZipFile(jarPath);
318 Enumeration<? extends ZipEntry> entries = zip.entries();
323 ClassReader cr = new ClassReader(zip.getInputStream(entry));
327 filesFound.put(entry.getName(), zip.getInputStream(entry));
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/archive/
H A DArchive.kt32 import java.util.zip.ZipEntry
33 import java.util.zip.ZipInputStream
34 import java.util.zip.ZipOutputStream
37 * Represents an archive (zip, jar, aar ...)
46 val ARCHIVE_EXTENSIONS = listOf(".jar", ".zip", ".aar")
142 // iterates over entries in the zip file
156 // Cannot close the zip stream at this moment as that would close also any parent zip
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodSubtypeArray.java25 import java.util.zip.GZIPInputStream;
26 import java.util.zip.GZIPOutputStream;
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
H A DDumpTruck.java36 import java.util.zip.ZipEntry;
37 import java.util.zip.ZipOutputStream;
60 * Capture memory for the given processes and zip them up for sharing.
111 new File(dumpDir, String.format("hprof-%d.zip", System.currentTimeMillis()))
118 Log.e(TAG, "unable to zip up heapdumps", e);
119 body.append("\n** Could not zip up files: \n").append(e.toString()).append("\n");
148 shareIntent.setType("application/zip");
/frameworks/base/tools/sdkparcelables/src/com/android/sdkparcelables/
H A DMain.kt23 import java.util.zip.ZipFile
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests2/src/com/android/framework/multidexlegacytestservices/test2/
H A DServicesTests.java63 super(".zip");
321 // First attempt was to just overwrite zip entries but keep central directory, this was no
322 // trouble for Dalvik that was just ignoring those zip and using the odex files.
323 Log.i(TAG, "Tamper extracted zip files by overwriting all content by '\\0's.");
325 // Do not tamper tmp zip during their extraction.
326 for (File zip : getSecondaryFolder().listFiles(new ExtractedZipFilter())) {
327 long fileLength = zip.length();
329 zip.setWritable(true);
330 RandomAccessFile raf = new RandomAccessFile(zip, "rw");
/frameworks/base/core/java/android/app/backup/
H A DBlobBackupHelper.java31 import java.util.zip.CRC32;
32 import java.util.zip.DeflaterOutputStream;
33 import java.util.zip.InflaterInputStream;

Completed in 683 milliseconds

1234