Home
last modified time | relevance | path

Searched defs:zip (Results 1 – 23 of 23) sorted by relevance

/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DZFileNotificationTest.java115 try (ZFile zf = new ZFile(new File(mTemporaryFolder.getRoot(), "a.zip"))) { in notifyAddFile()
138 try (ZFile zf = new ZFile(new File(mTemporaryFolder.getRoot(), "a.zip"))) { in notifyRemoveFile()
161 try (ZFile zf = new ZFile(new File(mTemporaryFolder.getRoot(), "a.zip"))) { in notifyUpdateFile()
188 try (ZFile zf = new ZFile(new File(mTemporaryFolder.getRoot(), "a.zip"))) { in notifyOpenUpdateClose()
212 try (ZFile zf = new ZFile(new File(mTemporaryFolder.getRoot(), "a.zip"))) { in notifyOpenUpdate()
234 try (ZFile zf = new ZFile(new File(mTemporaryFolder.getRoot(), "a.zip"))) { in notifyUpdate()
259 try (ZFile zf = new ZFile(new File(mTemporaryFolder.getRoot(), "a.zip"))) { in removedListenersAreNotNotified()
281 try (ZFile zf = new ZFile(new File(mTemporaryFolder.getRoot(), "a.zip"))) { in actionsExecutedAtEndOfNotification()
DZFileTest.java544 File zip = new File(mTemporaryFolder.getRoot(), "z.zip"); in addingFileDoesNotAddDirectoriesAutomatically() local
558 File zip = mTemporaryFolder.newFile("f.zip"); in zipFileWithEocdSignatureInComment() local
605 File zip = new File(tdir, "f.zip"); in addFileRecursively() local
644 File zip = new File(tdir, "f.zip"); in addDirectoryRecursively() local
830 try (ZFile zip = new ZFile(zipFile)) { in changeExtraDirectoryOffset()
849 try (ZFile zip = new ZFile(zipFile)) { in computeOffsetWhenReadingEmptyFile()
853 try (ZFile zip = new ZFile(zipFile)) { in computeOffsetWhenReadingEmptyFile()
862 try (ZFile zip = new ZFile(zipFile)) { in computeOffsetWhenReadingNonEmptyFile()
867 try (ZFile zip = new ZFile(zipFile)) { in computeOffsetWhenReadingNonEmptyFile()
879 try (ZFile zip = new ZFile(zipFile)) { in obtainingCDAndEocdWhenEntriesWrittenOnEmptyZip()
[all …]
DZFileReadOnlyTest.java47 File zip = new File(temporaryFolder.getRoot(), "foo.zip"); in makeTestZip() local
120 try (ZFile toMerge = new ZFile(new File(temporaryFolder.getRoot(), "a.zip"))) { in cannotMergeInRoMode()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/sign/
DManifestGenerationTest.java46 File zip = new File(mTemporaryFolder.getRoot(), "f.zip"); in elementaryManifestGeneration() local
81 File zip = new File(mTemporaryFolder.getRoot(), "f.zip"); in manifestGenerationOnHalfWrittenFile() local
117 File zip = new File(mTemporaryFolder.getRoot(), "f.zip"); in manifestGenerationOnExistingFile() local
155 File zip = new File(mTemporaryFolder.getRoot(), "f.zip"); in manifestGenerationOnIncrementalNoChanges() local
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/compress/
DMultiCompressorTest.java62 File zip = new File(mTemporaryFolder.getRoot(), "test.zip"); in storeIsBest() local
79 File zip = new File(mTemporaryFolder.getRoot(), "test.zip"); in sameCompressionResultButBetterThanStore() local
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/util/
DBugreport.java81 try (ZipFile zip = new ZipFile(mBugreport)) { in getMainFile()
145 try (ZipFile zip = new ZipFile(mBugreport)) { in extractFileBugreport()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zfile/
DApkZFileCreator.java55 private final ZFile zip; field in ApkZFileCreator
109 public void writeZip(@Nonnull File zip, @Nullable Function<String, String> transform, in writeZip()
DApkCreator.java45 void writeZip( in writeZip()
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DZipUtil2.java98 try (ZipFile zip = new ZipFile(zipFile)) { in extractZip()
132 try (ZipFile zip = new ZipFile(zipFile)) { in extractZipToTemp()
DZipUtil.java358 try (ZipFile zip = new ZipFile(zipFile)) { in extractZipToTemp()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DInstallAllTestZipAppsSetupTest.java102 String zip = "zip"; in testGetZipFile() local
114 String zip = "zip"; in testGetZipFileDoesntExist() local
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DZipUtil2Test.java74 final File zip = getTestDataFile("permission-test"); in testExtractFileFromZip() local
89 final File zip = getTestDataFile("permission-test"); in testExtractZip() local
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DFolderSaver.java106 File zip = null; in tearDown() local
DInstallAllTestZipAppsSetup.java171 try (ZipFile zip = new ZipFile(testsZip)) { in extractZip()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterBuildProvider.java73 private void extractZip(File zip, File destDir) throws IOException { in extractZip()
DClusterLogSaver.java298 try (FileSystem zip = FileSystems.newFileSystem(uri, env)) { in appendFilesToContext()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDeviceImageZipFlashingTargetPreparer.java158 private static File extractZip(ITestDevice device, File zip) throws TargetSetupError { in extractZip()
DFastbootDeviceFlasher.java574 try (ZipFile zip = new ZipFile(deviceBuild.getDeviceImageFile())) { in flashUserDataFromDeviceImageFile()
/tools/apksig/src/main/java/com/android/apksig/internal/zip/
DZipUtils.java112 public static Pair<ByteBuffer, Long> findZipEndOfCentralDirectoryRecord(DataSource zip) in findZipEndOfCentralDirectoryRecord()
156 DataSource zip, int maxCommentSize) throws IOException { in findZipEndOfCentralDirectoryRecord()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DTfSuiteRunner.java106 ZipFile zip = null; in loadTests() local
/tools/tradefederation/core/tests/src/com/android/tradefed/build/
DLocalDeviceBuildProviderTest.java123 try (ZipFile zip = new ZipFile(buildImageZip)) { in testCreateBuildImageZip()
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/
DClusterLogSaverTest.java104 try (ZipInputStream zip = new ZipInputStream(new FileInputStream(file))) { in getZipEntries()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java2385 try (ZipFile zip = new ZipFile(bugreportzFile)) { in getBugreport()