/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zfile/ |
D | ApkZFileCreator.java | 19 import com.android.tools.build.apkzlib.zip.AlignmentRule; 20 import com.android.tools.build.apkzlib.zip.AlignmentRules; 21 import com.android.tools.build.apkzlib.zip.StoredEntry; 22 import com.android.tools.build.apkzlib.zip.ZFile; 23 import com.android.tools.build.apkzlib.zip.ZFileOptions; 55 private final ZFile zip; field in ApkZFileCreator 95 zip = ZFiles.apk( in ApkZFileCreator() 109 public void writeZip(@Nonnull File zip, @Nullable Function<String, String> transform, in writeZip() argument 112 Preconditions.checkArgument(zip.isFile(), "!zip.isFile()"); in writeZip() 116 ZFile toMerge = closer.register(new ZFile(zip)); in writeZip() [all …]
|
D | ZFiles.java | 21 import com.android.tools.build.apkzlib.zip.AlignmentRule; 22 import com.android.tools.build.apkzlib.zip.AlignmentRules; 23 import com.android.tools.build.apkzlib.zip.ZFile; 24 import com.android.tools.build.apkzlib.zip.ZFileOptions;
|
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/ |
D | ZFileTest.java | 17 package com.android.tools.build.apkzlib.zip; 31 import com.android.tools.build.apkzlib.zip.compress.DeflateExecutionCompressor; 32 import com.android.tools.build.apkzlib.zip.utils.CloseableByteSource; 33 import com.android.tools.build.apkzlib.zip.utils.RandomAccessFileUtils; 53 import java.util.zip.Deflater; 54 import java.util.zip.ZipEntry; 55 import java.util.zip.ZipFile; 56 import java.util.zip.ZipInputStream; 57 import java.util.zip.ZipOutputStream; 544 File zip = new File(mTemporaryFolder.getRoot(), "z.zip"); in addingFileDoesNotAddDirectoriesAutomatically() local [all …]
|
D | ZFileReadOnlyTest.java | 17 package com.android.tools.build.apkzlib.zip; 47 File zip = new File(temporaryFolder.getRoot(), "foo.zip"); in makeTestZip() local 48 try (ZFile zf = new ZFile(zip)) { in makeTestZip() 52 return zip; in makeTestZip()
|
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/sign/ |
D | ManifestGenerationTest.java | 24 import com.android.tools.build.apkzlib.zip.StoredEntry; 25 import com.android.tools.build.apkzlib.zip.ZFile; 46 File zip = new File(mTemporaryFolder.getRoot(), "f.zip"); in elementaryManifestGeneration() local 48 try (ZFile zf = new ZFile(zip)) { in elementaryManifestGeneration() 81 File zip = new File(mTemporaryFolder.getRoot(), "f.zip"); in manifestGenerationOnHalfWrittenFile() local 83 ZFile zf = closer.register(new ZFile(zip)); in manifestGenerationOnHalfWrittenFile() 117 File zip = new File(mTemporaryFolder.getRoot(), "f.zip"); in manifestGenerationOnExistingFile() local 119 ZFile zf = closer.register(new ZFile(zip)); in manifestGenerationOnExistingFile() 155 File zip = new File(mTemporaryFolder.getRoot(), "f.zip"); in manifestGenerationOnIncrementalNoChanges() local 157 ZFile zf = closer.register(new ZFile(zip)); in manifestGenerationOnIncrementalNoChanges() [all …]
|
D | FullApkSignTest.java | 24 import com.android.tools.build.apkzlib.zip.AlignmentRule; 25 import com.android.tools.build.apkzlib.zip.AlignmentRules; 26 import com.android.tools.build.apkzlib.zip.StoredEntry; 27 import com.android.tools.build.apkzlib.zip.ZFile; 28 import com.android.tools.build.apkzlib.zip.ZFileOptions; 29 import com.android.tools.build.apkzlib.zip.ZFileTestConstants;
|
/tools/test/connectivity/ |
D | Android.mk | 24 ACTS_DISTRO := $(HOST_OUT)/acts-dist/acts.zip 29 @rm -f $(HOST_OUT)/acts-dist/acts.zip 30 …$(hide) zip $(HOST_OUT)/acts-dist/acts.zip $(shell find tools/test/connectivity/acts/* ! -wholenam… 39 ACTS_TESTS_DISTRO := $(ACTS_TESTS_DISTRO_DIR)/acts_tests.zip 51 …_TESTS_DISTRO_DIR) && find . ! -wholename "*__pycache__*" -printf "%P\n" | xargs zip acts_tests.zip 61 WTS_ACTS_DISTRO_ARCHIVE := $(WTS_ACTS_DISTRO_DIR)/wts-acts.zip 73 $(hide) zip -r $(WTS_ACTS_DISTRO_ARCHIVE) -j tools/test/connectivity/wts-acts/*.py 75 …$(hide) echo '#!/usr/bin/env python' | cat - $(WTS_ACTS_DISTRO_DIR)/wts-acts.zip > $(WTS_ACTS_DIST…
|
/tools/treble/vf/ |
D | merge.sh | 45 mv -f ${DIST_DIR}/${TARGET}-*.zip ${SYSTEM_DIR} 57 --framework-target-files ${SYSTEM_DIR}/${TARGET}-target_files*.zip \ 58 --vendor-target-files ${VENDOR_DIR}/*-target_files-*.zip \ 60 --output-target-files ${DIST_DIR}/${TARGET}-target_files-${BUILD_ID}.zip \ 61 --output-img ${DIST_DIR}/${TARGET}-img-${BUILD_ID}.zip \ 62 --output-ota ${DIST_DIR}/${TARGET}-ota-${BUILD_ID}.zip \ 74 cp ${VENDOR_DIR}/otatools.zip ${DIST_DIR}/otatools_vendor.zip 78 ${VENDOR_DIR}/*-target_files-*.zip \
|
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/compress/ |
D | MultiCompressorTest.java | 17 package com.android.tools.build.apkzlib.zip.compress; 24 import com.android.tools.build.apkzlib.zip.CentralDirectoryHeaderCompressInfo; 25 import com.android.tools.build.apkzlib.zip.CompressionMethod; 26 import com.android.tools.build.apkzlib.zip.StoredEntry; 27 import com.android.tools.build.apkzlib.zip.ZFile; 28 import com.android.tools.build.apkzlib.zip.ZFileOptions; 32 import java.util.zip.Deflater; 62 File zip = new File(mTemporaryFolder.getRoot(), "test.zip"); in storeIsBest() local 64 try (ZFile zf = new ZFile(zip)) { in storeIsBest() 79 File zip = new File(mTemporaryFolder.getRoot(), "test.zip"); in sameCompressionResultButBetterThanStore() local [all …]
|
/tools/apksig/src/main/java/com/android/apksig/internal/zip/ |
D | ZipUtils.java | 17 package com.android.apksig.internal.zip; 22 import com.android.apksig.zip.ZipFormatException; 23 import com.android.apksig.zip.ZipSections; 31 import java.util.zip.CRC32; 32 import java.util.zip.Deflater; 132 public static Pair<ByteBuffer, Long> findZipEndOfCentralDirectoryRecord(DataSource zip) in findZipEndOfCentralDirectoryRecord() argument 144 long fileSize = zip.size(); in findZipEndOfCentralDirectoryRecord() 152 Pair<ByteBuffer, Long> result = findZipEndOfCentralDirectoryRecord(zip, 0); in findZipEndOfCentralDirectoryRecord() 160 return findZipEndOfCentralDirectoryRecord(zip, UINT16_MAX_VALUE); in findZipEndOfCentralDirectoryRecord() 176 DataSource zip, int maxCommentSize) throws IOException { in findZipEndOfCentralDirectoryRecord() argument [all …]
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/compress/ |
D | DeflateExecutionCompressor.java | 17 package com.android.tools.build.apkzlib.zip.compress; 19 import com.android.tools.build.apkzlib.zip.CompressionMethod; 20 import com.android.tools.build.apkzlib.zip.CompressionResult; 21 import com.android.tools.build.apkzlib.zip.utils.ByteTracker; 22 import com.android.tools.build.apkzlib.zip.utils.CloseableByteSource; 25 import java.util.zip.Deflater; 26 import java.util.zip.DeflaterOutputStream;
|
D | BestAndDefaultDeflateExecutorCompressor.java | 17 package com.android.tools.build.apkzlib.zip.compress; 19 import com.android.tools.build.apkzlib.zip.CompressionResult; 20 import com.android.tools.build.apkzlib.zip.utils.ByteTracker; 21 import com.android.tools.build.apkzlib.zip.utils.CloseableByteSource; 24 import java.util.zip.Deflater;
|
D | ExecutorCompressor.java | 17 package com.android.tools.build.apkzlib.zip.compress; 19 import com.android.tools.build.apkzlib.zip.CompressionResult; 20 import com.android.tools.build.apkzlib.zip.Compressor; 21 import com.android.tools.build.apkzlib.zip.utils.CloseableByteSource;
|
/tools/ndkports/ |
D | Dockerfile | 9 RUN curl -o ndk.zip \ 10 https://dl.google.com/android/repository/android-ndk-r21e-linux-x86_64.zip 11 RUN unzip ndk.zip 13 RUN curl -L -o platform-tools.zip \ 14 https://dl.google.com/android/repository/platform-tools-latest-linux.zip 15 RUN unzip platform-tools.zip platform-tools/adb
|
/tools/test/connectivity/tools/ |
D | read_acts_results.py | 104 widths = [max(map(len, col)) for col in zip(*master_results_data)] 107 print(' '.join((val.ljust(width) for val, width in zip(row, 120 print(' '.join((val.ljust(width) for val, width in zip(row, 126 print(' '.join((val.ljust(width) for val, width in zip(row, 133 for val, width in zip(row, widths))))
|
/tools/aadevtools/avd/resource/ |
D | avd_img_list.csv | 1 name,api,zip 2 avd_car,30,$HOME/Downloads/sdk-repo-linux-system-images-eng.USER.zip 3 sdk_gcar,30,$HOME/Downloads/sdk-repo-linux-system-images-7157940.zip 4 sdk_gcar,29,$HOME/Downloads/sdk-repo-linux-system-images-7086261.zip
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/ |
D | InflaterByteSource.java | 17 package com.android.tools.build.apkzlib.zip; 19 import com.android.tools.build.apkzlib.zip.utils.CloseableByteSource; 24 import java.util.zip.Inflater; 25 import java.util.zip.InflaterInputStream;
|
D | ZFileOptions.java | 17 package com.android.tools.build.apkzlib.zip; 19 import com.android.tools.build.apkzlib.zip.compress.DeflateExecutionCompressor; 20 import com.android.tools.build.apkzlib.zip.utils.ByteTracker; 22 import java.util.zip.Deflater;
|
/tools/apksig/src/main/java/com/android/apksig/apk/ |
D | ApkUtils.java | 23 import com.android.apksig.internal.zip.CentralDirectoryRecord; 24 import com.android.apksig.internal.zip.LocalFileRecord; 25 import com.android.apksig.internal.zip.ZipUtils; 27 import com.android.apksig.zip.ZipFormatException; 60 com.android.apksig.zip.ZipSections zipSections = ApkUtilsLite.findZipSections(apk); in findZipSections() 72 public static class ZipSections extends com.android.apksig.zip.ZipSections {
|
D | ApkUtilsLite.java | 20 import com.android.apksig.internal.zip.ZipUtils; 22 import com.android.apksig.zip.ZipFormatException; 23 import com.android.apksig.zip.ZipSections;
|
/tools/ndkports/buildSrc/src/main/kotlin/com/android/ndkports/ |
D | PrefabTask.kt | 19 import java.util.zip.ZipFile in <lambda>() 66 ZipFile(aar).use { zip -> in <lambda>() method 67 zip.entries().asSequence().forEach { entry -> in <lambda>() 68 zip.getInputStream(entry).use { input -> in <lambda>()
|
/tools/aadevtools/avd/ |
D | batch_add_avd_img.sh | 37 while IFS=',' read -r name api zip others || [ -n "${name}" ]; do 40 header="${name},${api},${zip}" 42 addAvdImgCmd="VARIANT=${name} API_LEVEL=${api} OEM_AVD_ZIP=${zip} ${SCRIPT_DIR}/add_avd_img.sh"
|
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zfile/ |
D | ApkAlignmentTest.java | 24 import com.android.tools.build.apkzlib.zip.CompressionMethod; 25 import com.android.tools.build.apkzlib.zip.StoredEntry; 26 import com.android.tools.build.apkzlib.zip.ZFile; 27 import com.android.tools.build.apkzlib.zip.ZFileOptions;
|
/tools/test/graphicsbenchmark/ |
D | README | 23 gamecore.zip 25 To create a gamecore.zip for distribution, run: 28 This will create a gamecore.zip in the 'dist' directory.
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/sign/ |
D | ManifestGenerationExtension.java | 22 import com.android.tools.build.apkzlib.zip.StoredEntry; 23 import com.android.tools.build.apkzlib.zip.ZFile; 24 import com.android.tools.build.apkzlib.zip.ZFileExtension;
|