Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/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.java55 public static boolean isZipFileValid(File zipFile, boolean thorough) throws IOException { in isZipFileValid()
88 public static void extractZip(ZipFile zipFile, File destDir) throws IOException { in extractZip()
111 public static File extractFileFromZip(ZipFile zipFile, String filePath) throws IOException { in extractFileFromZip()
144 File zipFile = FileUtil.createTempFile(name, ZIP_EXTENSION); in createZip() local
157 public static void createZip(File dir, File zipFile) throws IOException { in createZip()
194 File zipFile = FileUtil.createTempFile(name, ZIP_EXTENSION); in createZip() local
206 public static void createZip(List<File> files, File zipFile) throws IOException { in createZip()
265 public static void closeZip(ZipFile zipFile) { in closeZip()
338 public static File extractZipToTemp(File zipFile, String nameHint) in extractZipToTemp()
DFileUtil.java955 public static void extractZip(ZipFile zipFile, File destDir) throws IOException { in extractZip()
969 public static File extractFileFromZip(ZipFile zipFile, String filePath) throws IOException { in extractFileFromZip()
997 public static void createZip(File dir, File zipFile) throws IOException { in createZip()
1008 public static void closeZip(ZipFile zipFile) { in closeZip()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DZipUtilTest.java51 final File zipFile = createTempFile(name, ".zip"); in getTestDataFile() local
88 File zipFile = null; in testCreateAndExtractZip() local
118 File zipFile = null; in testCreateAndExtractZip_fromFiles() local
159 File zipFile = null; in testCreateAndExtractFileFromZip() local
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
DBugreportTest.java159 File zipFile = null; in testBugreportz_noMainFile() local
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DTestMappingSuiteRunnerTest.java157 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_testMappingsZip() local
244 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_testMappingsZipFoundTestsWithKeywords() local
316 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_testMappingsZipFailWithKeywords() local
365 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_testMappingsZipHostTests() local
413 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_shard() local
445 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_noTest() 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/util/testmapping/
DTestMappingTest.java159 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testGetTests() local
213 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testGetTests_matchKeywords() local
456 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testExtractTestMappingsZip() local
/tools/tradefederation/core/src/com/android/tradefed/build/
DLocalDeviceBuildProvider.java160 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/contrib/src/com/android/performance/tests/
DAppTransitionTests.java452 File zipFile = null; in logTraceFiles() local
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java2440 File zipFile = null; in getBugreportzInternal() local