Home
last modified time | relevance | path

Searched defs:zipFile (Results 1 – 24 of 24) sorted by relevance

/tools/tradefederation/core/common_util/com/android/tradefed/util/
DZipUtil2.java61 public static void extractZip(ZipFile zipFile, File destDir) throws IOException { in extractZip()
97 public static void extractZip(File zipFile, File destDir) throws IOException { in extractZip()
111 public static File extractFileFromZip(ZipFile zipFile, String filePath) throws IOException { in extractFileFromZip()
130 public static File extractZipToTemp(File zipFile, String nameHint) throws IOException { in extractZipToTemp()
147 public static void closeZip(ZipFile zipFile) { in closeZip()
DZipUtil.java72 public static boolean isZipFileValid(File zipFile, boolean thorough) throws IOException { in isZipFileValid()
105 public static void extractZip(ZipFile zipFile, File destDir) throws IOException { in extractZip()
128 public static File extractFileFromZip(ZipFile zipFile, String filePath) throws IOException { in extractFileFromZip()
161 File zipFile = FileUtil.createTempFile(name, ZIP_EXTENSION); in createZip() local
174 public static void createZip(File dir, File zipFile) throws IOException { in createZip()
211 File zipFile = FileUtil.createTempFile(name, ZIP_EXTENSION); in createZip() local
223 public static void createZip(List<File> files, File zipFile) throws IOException { in createZip()
282 public static void closeZip(ZipFile zipFile) { in closeZip()
355 public static File extractZipToTemp(File zipFile, String nameHint) in extractZipToTemp()
533 File zipFile = targetFile; in unzipPartialZipFile() local
[all …]
DFileUtil.java990 public static void extractZip(ZipFile zipFile, File destDir) throws IOException { in extractZip()
1004 public static File extractFileFromZip(ZipFile zipFile, String filePath) throws IOException { in extractFileFromZip()
1032 public static void createZip(File dir, File zipFile) throws IOException { in createZip()
1043 public static void closeZip(ZipFile zipFile) { in closeZip()
/tools/tradefederation/core/common_util/com/android/tradefed/util/zip/
DEndCentralDirectoryInfo.java70 public EndCentralDirectoryInfo(File zipFile) throws IOException { in EndCentralDirectoryInfo()
82 public EndCentralDirectoryInfo(File zipFile, boolean useZip64) throws IOException { in EndCentralDirectoryInfo()
150 private byte[] getEndCentralDirectoryInfo(File zipFile, byte[] signature) throws IOException { in getEndCentralDirectoryInfo()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DTestMappingSuiteRunnerTest.java257 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_testMappingsZip() local
327 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_testMappingsZipFoundTestsWithKeywords() local
399 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_testMappingsZipFailWithKeywords() local
447 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_testMappingsZipHostTests() local
494 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_shard() local
537 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_shardNoTest() local
581 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_noTest() local
646 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTestsWithModule() local
699 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTestsWithMultiModules() local
847 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_moduleDifferentoptions() local
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DZipUtil2Test.java76 ZipFile zipFile = null; in testExtractFileFromZip() local
91 ZipFile zipFile = null; in testExtractZip() local
125 final File zipFile = createTempFile(name, ".zip"); in getTestDataFile() local
DZipUtilTest.java62 final File zipFile = createTempFile(name, ".zip"); in getTestDataFile() local
99 File zipFile = null; in testCreateAndExtractZip() local
129 File zipFile = null; in testCreateAndExtractZip_fromFiles() local
170 File zipFile = null; in testCreateAndExtractFileFromZip() local
DZipUtilFuncTest.java92 ZipFile zipFile = new ZipFile(sLargeFile.getAbsolutePath()); in testCentralDirectoryInfos() local
172 ZipFile zipFile, List<CentralDirectoryInfo> zipEntries) { in validateCentralDirectoryInfos()
DRemoteZipTest.java81 File zipFile = FileUtil.createTempFileForRemote("zipfile", null); in setUp() local
DBugreportTest.java159 File zipFile = null; in testBugreportz_noMainFile() local
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DZFileTest.java828 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in changeExtraDirectoryOffset() local
847 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in computeOffsetWhenReadingEmptyFile() local
860 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in computeOffsetWhenReadingNonEmptyFile() local
874 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in obtainingCDAndEocdWhenEntriesWrittenOnEmptyZip() local
897 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in obtainingCDAndEocdWhenEntriesWrittenOnNonEmptyZip() local
988 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in utf8NamesSupportedOnWriting() local
1005 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in zipMemoryUsageIsZeroAfterClose() local
1026 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in unusedZipAreasAreClearedOnWrite() local
1062 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in deferredCompression() local
1110 File zipFile = new File(mTemporaryFolder.getRoot(), "x"); in zipFileWithEocdMarkerInComment() local
[all …]
DZFileNotificationTest.java345 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in canAddFilesDuringUpdateNotification() local
385 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in notifyOnceEntriesWritten() local
401 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in notifyTwiceEntriesWrittenIfCdChanged() local
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/sign/
DJarSigningTest.java48 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in signEmptyJar() local
76 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in signJarWithPrexistingSimpleTextFilePre18() local
133 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in signJarWithPrexistingSimpleTextFilePos18() local
192 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in v2SignAddsApkSigningBlock() local
215 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in v1ReSignOnFileChange() local
307 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in openSignedJarDoesNotForcesWriteIfSignatureIsNotCorrect() local
/tools/tradefederation/core/tests/src/com/android/tradefed/config/remote/
DGcsRemoteFileResolverTest.java88 File zipFile = ZipUtil.createZip(testDir); in testResolve_unzip() local
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DDynamicSystemPreparer.java68 ZipFile zipFile = null; in setUp() local
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterBuildProvider.java74 try (ZipFile zipFile = new ZipFile(zip)) { in extractZip()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/testmapping/
DTestMappingTest.java162 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testGetTests() local
216 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testGetTests_matchKeywords() local
546 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testExtractTestMappingsZip() local
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/multi/
DMixImageZipPreparer.java339 final ZipFile zipFile, Predicate<String> predicate) throws IOException { in getInputStreamFactoriesFromImageZip()
454 File zipFile = null; in createZip() local
/tools/tradefederation/core/src/com/android/tradefed/build/
DLocalDeviceBuildProvider.java170 File zipFile = null; in createBuildImageZip() local
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DFileSystemLogSaverTest.java168 ZipFile zipFile = null; in testSaveLogData_uncompressed() local
DLogFileSaverTest.java203 ZipFile zipFile = null; in testSaveAndZipLogData() local
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/multi/
DMixImageZipPreparerTest.java439 ZipFile zipFile = null; in runCreateZipTest() local
/tools/tradefederation/contrib/src/com/android/performance/tests/
DAppTransitionTests.java452 File zipFile = null; in logTraceFiles() local
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java2547 File zipFile = null; in getBugreportzInternal() local