/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/ |
D | ZFileNotificationTest.java | 115 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()
|
D | ZFileTest.java | 544 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 …]
|
D | ZFileReadOnlyTest.java | 47 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/ |
D | ManifestGenerationTest.java | 46 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/ |
D | MultiCompressorTest.java | 62 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/ |
D | Bugreport.java | 81 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/ |
D | ApkZFileCreator.java | 55 private final ZFile zip; field in ApkZFileCreator 109 public void writeZip(@Nonnull File zip, @Nullable Function<String, String> transform, in writeZip()
|
D | ApkCreator.java | 45 void writeZip( in writeZip()
|
/tools/tradefederation/core/common_util/com/android/tradefed/util/ |
D | ZipUtil2.java | 98 try (ZipFile zip = new ZipFile(zipFile)) { in extractZip() 132 try (ZipFile zip = new ZipFile(zipFile)) { in extractZipToTemp()
|
D | ZipUtil.java | 358 try (ZipFile zip = new ZipFile(zipFile)) { in extractZipToTemp()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | InstallAllTestZipAppsSetupTest.java | 102 String zip = "zip"; in testGetZipFile() local 114 String zip = "zip"; in testGetZipFileDoesntExist() local
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | ZipUtil2Test.java | 74 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/ |
D | FolderSaver.java | 106 File zip = null; in tearDown() local
|
D | InstallAllTestZipAppsSetup.java | 171 try (ZipFile zip = new ZipFile(testsZip)) { in extractZip()
|
/tools/tradefederation/core/src/com/android/tradefed/cluster/ |
D | ClusterBuildProvider.java | 73 private void extractZip(File zip, File destDir) throws IOException { in extractZip()
|
D | ClusterLogSaver.java | 298 try (FileSystem zip = FileSystems.newFileSystem(uri, env)) { in appendFilesToContext()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | DeviceImageZipFlashingTargetPreparer.java | 158 private static File extractZip(ITestDevice device, File zip) throws TargetSetupError { in extractZip()
|
D | FastbootDeviceFlasher.java | 574 try (ZipFile zip = new ZipFile(deviceBuild.getDeviceImageFile())) { in flashUserDataFromDeviceImageFile()
|
/tools/apksig/src/main/java/com/android/apksig/internal/zip/ |
D | ZipUtils.java | 112 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/ |
D | TfSuiteRunner.java | 106 ZipFile zip = null; in loadTests() local
|
/tools/tradefederation/core/tests/src/com/android/tradefed/build/ |
D | LocalDeviceBuildProviderTest.java | 123 try (ZipFile zip = new ZipFile(buildImageZip)) { in testCreateBuildImageZip()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/ |
D | ClusterLogSaverTest.java | 104 try (ZipInputStream zip = new ZipInputStream(new FileInputStream(file))) { in getZipEntries()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | NativeDevice.java | 2385 try (ZipFile zip = new ZipFile(bugreportzFile)) { in getBugreport()
|