/frameworks/base/tools/aapt/ |
D | Package.cpp | 40 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; in writeAPK() local 100 zip = new ZipFile; in writeAPK() 101 status = zip->open(outputFile.string(), ZipFile::kOpenReadWrite | ZipFile::kOpenCreate); in writeAPK() 112 count = processAssets(bundle, zip, outputSet); in writeAPK() 124 count = processJarFiles(bundle, zip); in writeAPK() 146 for (i = 0; i < zip->getNumEntries(); i++) { in writeAPK() 147 ZipEntry* entry = zip->getEntryByIndex(i); in writeAPK() [all …]
|
D | Command.cpp | 57 ZipFile* zip; in openReadOnly() local 60 zip = new ZipFile; in openReadOnly() 61 result = zip->open(fileName, ZipFile::kOpenReadOnly); in openReadOnly() 71 delete zip; in openReadOnly() 75 return zip; in openReadOnly() 86 ZipFile* zip = NULL; in openReadWrite() local 95 zip = new ZipFile; in openReadWrite() 96 result = zip->open(fileName, flags); in openReadWrite() 98 delete zip; in openReadWrite() 99 zip = NULL; in openReadWrite() [all …]
|
/frameworks/multidex/library/test/src/android/support/multidex/ |
D | ZipUtilTest.java | 37 import java.util.zip.ZipEntry; 38 import java.util.zip.ZipException; 39 import java.util.zip.ZipFile; 92 ZipFile zip = new ZipFile(zipFile); in testCrcRange() local 93 Assert.assertEquals(zip.size(), toCheck.size()); in testCrcRange() 94 Enumeration<? extends ZipEntry> ref = zip.entries(); in testCrcRange() 108 zip.close(); in testCrcRange() 113 ZipFile zip = new ZipFile(zipFile); in testCrcValue() local 114 Enumeration<? extends ZipEntry> ref = zip.entries(); in testCrcValue() 120 InputStream in = zip.getInputStream(refEntry); in testCrcValue() [all …]
|
D | ZipEntryReader.java | 28 import java.util.zip.ZipEntry; 29 import java.util.zip.ZipException;
|
/frameworks/base/core/java/android/util/apk/ |
D | ZipUtils.java | 54 static Pair<ByteBuffer, Long> findZipEndOfCentralDirectoryRecord(RandomAccessFile zip) in findZipEndOfCentralDirectoryRecord() argument 66 long fileSize = zip.length(); in findZipEndOfCentralDirectoryRecord() 74 Pair<ByteBuffer, Long> result = findZipEndOfCentralDirectoryRecord(zip, 0); in findZipEndOfCentralDirectoryRecord() 82 return findZipEndOfCentralDirectoryRecord(zip, UINT16_MAX_VALUE); in findZipEndOfCentralDirectoryRecord() 98 RandomAccessFile zip, int maxCommentSize) throws IOException { in findZipEndOfCentralDirectoryRecord() argument 113 long fileSize = zip.length(); in findZipEndOfCentralDirectoryRecord() 124 zip.seek(bufOffsetInFile); in findZipEndOfCentralDirectoryRecord() 125 zip.readFully(buf.array(), buf.arrayOffset(), buf.capacity()); in findZipEndOfCentralDirectoryRecord() 189 RandomAccessFile zip, long zipEndOfCentralDirectoryPosition) throws IOException { in isZip64EndOfCentralDirectoryLocatorPresent() argument 198 zip.seek(locatorPosition); in isZip64EndOfCentralDirectoryLocatorPresent() [all …]
|
/frameworks/base/core/java/android/app/ |
D | ApplicationLoaders.java | 31 ClassLoader getClassLoader(String zip, int targetSdkVersion, boolean isBundled, in getClassLoader() argument 35 return getClassLoader(zip, targetSdkVersion, isBundled, librarySearchPath, in getClassLoader() 36 libraryPermittedPath, parent, zip, classLoaderName); in getClassLoader() 39 private ClassLoader getClassLoader(String zip, int targetSdkVersion, boolean isBundled, in getClassLoader() argument 67 Trace.traceBegin(Trace.TRACE_TAG_ACTIVITY_MANAGER, zip); in getClassLoader() 70 zip, librarySearchPath, libraryPermittedPath, parent, in getClassLoader() 83 Trace.traceBegin(Trace.TRACE_TAG_ACTIVITY_MANAGER, zip); in getClassLoader() 85 zip, null, parent, classLoaderName); in getClassLoader()
|
/frameworks/base/libs/androidfw/ |
D | AssetManager.cpp | 1382 sp<SharedZip> zip = gOpen.valueFor(path).promote(); in get() local 1383 if (zip != NULL && zip->mModWhen == modWhen) { in get() 1384 return zip; in get() 1386 if (zip == NULL && !createIfNotPresent) { in get() 1389 zip = new SharedZip(path, modWhen); in get() 1390 gOpen.add(path, zip); in get() 1391 return zip; in get() 1510 sp<SharedZip> zip = mZipFile[idx]; in getZip() local 1511 if (zip == NULL) { in getZip() 1512 zip = SharedZip::get(path); in getZip() [all …]
|
/frameworks/base/cmds/bootanimation/ |
D | FORMAT.md | 7 /system/media/bootanimation-encrypted.zip (if getprop("vold.decrypt") = '1') 8 /system/media/bootanimation.zip 9 /oem/media/bootanimation.zip 13 The `bootanimation.zip` archive file includes: 44 There is also a special TYPE, `$SYSTEM`, that loads `/system/media/bootanimation.zip` 49 Each part is scanned and loaded directly from the zip archive. Within a part directory, every file 52 named sequentially (e.g. `part000.png`, `part001.png`, ...) and added to the zip archive in that 98 zip -0qry -i \*.txt \*.png \*.wav @ ../bootanimation.zip *.txt part*
|
D | BootAnimation.cpp | 498 static bool readFile(ZipFileRO* zip, const char* name, String8& outString) in readFile() argument 500 ZipEntryRO entry = zip->findEntryByName(name); in readFile() 506 FileMap* entryMap = zip->createEntryFileMap(entry); in readFile() 507 zip->releaseEntry(entry); in readFile() 624 if (!readFile(animation.zip, "desc.txt", desString)) { in parseAnimationDesc() 693 ZipFileRO* zip = animation.zip; in preloadZip() local 694 if (!zip->startIteration(&cookie)) { in preloadZip() 700 while ((entry = zip->nextEntry(cookie)) != NULL) { in preloadZip() 701 const int foundEntryName = zip->getEntryFileName(entry, name, ANIM_ENTRY_NAME_MAX); in preloadZip() 712 FileMap* map = zip->createEntryFileMap(entry); in preloadZip() [all …]
|
/frameworks/rs/tests/java_api/ |
D | Android.mk | 25 $(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/native/cmds/dumpstate/ |
D | bugreport-format.md | 20 _bugreport-DATE.txt_ file, but then **Shell** creates a zip file called 25 On _Android N (Nougat)_, `dumpstate` generates a zip file directly (unless there 29 The zip file is by default called _bugreport-BUILD_ID-DATE.zip_ and it contains a 34 The zip file also contains 2 metadata entries generated by `dumpstate`: 40 `dumpstate` can also copy files from the device’s filesystem into the zip file 42 would generate a `FS/dirA/dirB/fileC` entry in the zip file. 44 When systrace is enabled, the zip file will contain a `systrace.txt` file as well. 48 - Tombstone files were removed and added to the zip file.
|
/frameworks/base/cmds/idmap/ |
D | create.cpp | 18 std::unique_ptr<ZipFileRO> zip(ZipFileRO::open(zip_path)); in get_zip_entry_crc() local 19 if (zip.get() == NULL) { in get_zip_entry_crc() 22 ZipEntryRO entry = zip->findEntryByName(entry_name); in get_zip_entry_crc() 26 if (!zip->getEntryInfo(entry, NULL, NULL, NULL, NULL, NULL, crc)) { in get_zip_entry_crc() 29 zip->releaseEntry(entry); in get_zip_entry_crc()
|
D | scan.cpp | 187 std::unique_ptr<ZipFileRO> zip(ZipFileRO::open(path)); in parse_apk() local 188 if (zip.get() == NULL) { in parse_apk() 193 if ((entry = zip->findEntryByName("AndroidManifest.xml")) == NULL) { in parse_apk() 199 if (!zip->getEntryInfo(entry, &method, &uncompLen, NULL, NULL, NULL, NULL)) { in parse_apk() 207 FileMap *dataMap = zip->createEntryFileMap(entry); in parse_apk()
|
/frameworks/opt/setupwizard/tools/gradle/ |
D | dist-unit-tests.gradle | 8 * failures, and will create a zip of the XML test reports for each test run, and copy them to 14 // If unit tests are run as part of the build, dist the test XML reports to host-test-reports/*.zip 25 // Create a zip file of the XML test reports 28 archiveName = task.name + 'Result.zip'
|
/frameworks/base/tools/aapt2/cmd/ |
D | Dump.cpp | 53 std::unique_ptr<io::ZipFileCollection> zip = io::ZipFileCollection::Create(file_path, &err); in TryDumpFile() local 54 if (zip) { in TryDumpFile() 55 io::IFile* file = zip->FindFile("resources.arsc.flat"); in TryDumpFile() 77 file = zip->FindFile("resources.arsc"); in TryDumpFile()
|
/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/ |
D | Main.java | 24 import java.util.zip.ZipEntry; 25 import java.util.zip.ZipFile; 26 import java.util.zip.ZipOutputStream;
|
/frameworks/base/core/java/android/webkit/ |
D | WebViewZygote.java | 218 final String zip = (zipPaths.size() == 1) ? zipPaths.get(0) : in connectToZygoteIfNeededLocked() local 223 Log.d(LOGTAG, "Preloading package " + zip + " " + librarySearchPath); in connectToZygoteIfNeededLocked() 224 sZygote.preloadPackageForAbi(zip, librarySearchPath, sPackageCacheKey, in connectToZygoteIfNeededLocked()
|
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
D | AsmGeneratorTest.java | 45 import java.util.zip.ZipEntry; 46 import java.util.zip.ZipFile; 317 ZipFile zip = new ZipFile(jarPath); in parseZip() local 318 Enumeration<? extends ZipEntry> entries = zip.entries(); in parseZip() 323 ClassReader cr = new ClassReader(zip.getInputStream(entry)); in parseZip() 327 filesFound.put(entry.getName(), zip.getInputStream(entry)); in parseZip()
|
/frameworks/multidex/library/src/android/support/multidex/ |
D | ZipUtil.java | 26 import java.util.zip.CRC32; 27 import java.util.zip.ZipException;
|
/frameworks/base/core/java/android/os/ |
D | RecoverySystem.java | 64 import java.util.zip.ZipEntry; 65 import java.util.zip.ZipFile; 66 import java.util.zip.ZipInputStream; 159 ZipFile zip = new ZipFile(keystore); in getTrustedCerts() local 162 Enumeration<? extends ZipEntry> entries = zip.entries(); in getTrustedCerts() 165 InputStream is = zip.getInputStream(entry); in getTrustedCerts() 173 zip.close(); in getTrustedCerts() 385 try (ZipFile zip = new ZipFile(packageFile)) { in readAndVerifyPackageCompatibilityEntry() argument 386 ZipEntry entry = zip.getEntry("compatibility.zip"); in readAndVerifyPackageCompatibilityEntry() 390 InputStream inputStream = zip.getInputStream(entry); in readAndVerifyPackageCompatibilityEntry()
|
/frameworks/native/vulkan/libvulkan/ |
D | layers_extensions.cpp | 347 ZipArchiveHandle zip = nullptr; in ForEachFileInZip() local 348 if ((err = OpenArchive(zipname.c_str(), &zip)) != 0) { in ForEachFileInZip() 355 if ((err = StartIteration(zip, &iter_cookie, &prefix_str, nullptr)) != 0) { in ForEachFileInZip() 358 CloseArchive(zip); in ForEachFileInZip() 381 CloseArchive(zip); in ForEachFileInZip()
|
/frameworks/multidex/gradle/wrapper/ |
D | gradle-wrapper.properties | 6 distributionUrl=../../../../tools/external/gradle/gradle-3.3-bin.zip
|
/frameworks/support/app-toolkit/gradle/wrapper/ |
D | gradle-wrapper.properties | 6 distributionUrl=../../../../../tools/external/gradle/gradle-4.1-bin.zip
|
/frameworks/support/gradle/wrapper/ |
D | gradle-wrapper.properties | 6 distributionUrl=../../../../tools/external/gradle/gradle-4.1-bin.zip
|
/frameworks/support/development/checkstyle/gradle/wrapper/ |
D | gradle-wrapper.properties | 6 distributionUrl=../../../../../../tools/external/gradle/gradle-4.1-bin.zip
|