Home
last modified time | relevance | path

Searched refs:createZip (Results 1 – 25 of 29) sorted by relevance

12

/tools/tradefederation/core/common_util/com/android/tradefed/util/
DZipUtil.java147 public static File createZip(File dir) throws IOException { in createZip() method in ZipUtil
148 return createZip(dir, DEFAULT_DIRNAME); in createZip()
160 public static File createZip(File dir, String name) throws IOException { in createZip() method in ZipUtil
162 createZip(dir, zipFile); in createZip()
174 public static void createZip(File dir, File zipFile) throws IOException { in createZip() method in ZipUtil
198 public static File createZip(List<File> files) throws IOException { in createZip() method in ZipUtil
199 return createZip(files, DEFAULT_FILENAME); in createZip()
210 public static File createZip(List<File> files, String name) throws IOException { in createZip() method in ZipUtil
212 createZip(files, zipFile); in createZip()
223 public static void createZip(List<File> files, File zipFile) throws IOException { in createZip() method in ZipUtil
DFileUtil.java1016 public static File createZip(File dir) throws IOException { in createZip() method in FileUtil
1017 return ZipUtil.createZip(dir); in createZip()
1030 public static void createZip(File dir, File zipFile) throws IOException { in createZip() method in FileUtil
1031 ZipUtil.createZip(dir, zipFile); in createZip()
/tools/tradefederation/core/src/com/android/tradefed/util/
DZipCompressionStrategy.java33 return ZipUtil.createZip(source); in compress()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DGkiDeviceFlashPreparerTest.java185 ZipUtil.createZip(List.of(tmpFile), otatoolsZip); in testValidateGkiBootImg_NoMkbootimgInOtatoolsZip()
207 ZipUtil.createZip(List.of(mkbootimgFile), otatoolsZip); in testValidateGkiBootImg_FailToGenerateBootImg()
262 ZipUtil.createZip(List.of(tmpFile), otatoolsZip); in testSetUp_NoMkbootimgInOtatoolsZip()
305 ZipUtil.createZip(List.of(bootImg), gkiZip); in testSetup_Success_FromZip()
DGsiDeviceFlashPreparerTest.java169 ZipUtil.createZip(List.of(tmpFile), gsiZip); in testSetUp_NoSystemImageInGsiZip()
187 ZipUtil.createZip(List.of(systemImg), gsiZip); in testSetUp_NoVbmetaImageInGsiZip()
251 ZipUtil.createZip(List.of(systemImg, vbmetaImg), gsiZip); in testSetup_Success_FromZipFile()
351 ZipUtil.createZip(List.of(systemImg, vbmetaImg, bootImg), gsiZip); in testSetup_Success_WithGkiBootImgInZip()
DDynamicSystemPreparerTest.java92 return ZipUtil.createZip(tempFiles); in createImageZip()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DTestMappingSuiteRunnerTest.java257 ZipUtil.createZip(filesToZip, zipFile); in testLoadTests_testMappingsZip()
327 ZipUtil.createZip(filesToZip, zipFile); in testLoadTests_testMappingsZipFoundTestsWithKeywords()
399 ZipUtil.createZip(filesToZip, zipFile); in testLoadTests_testMappingsZipFailWithKeywords()
447 ZipUtil.createZip(filesToZip, zipFile); in testLoadTests_testMappingsZipHostTests()
494 ZipUtil.createZip(srcDir, zipFile); in testLoadTests_shard()
529 ZipUtil.createZip(srcDir, zipFile); in testLoadTests_noTest()
594 ZipUtil.createZip(filesToZip, zipFile); in testLoadTestsWithModule()
647 ZipUtil.createZip(filesToZip, zipFile); in testLoadTestsWithMultiModules()
795 ZipUtil.createZip(srcDir, zipFile); in testLoadTests_moduleDifferentoptions()
941 ZipUtil.createZip(filesToZip, zipFile); in createTestMappingZip()
DTfSuiteRunnerTest.java281 additionalTestsZipFile = ZipUtil.createZip(zipDir); in testLoadTests_additionalTestsZip()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DBugreportTest.java63 mZipFile = ZipUtil.createZip(new File("")); in setUp()
166 zipFile = ZipUtil.createZip(new File("")); in testBugreportz_noMainFile()
DZipUtilTest.java106 zipFile = ZipUtil.createZip(tmpParentDir); in testCreateAndExtractZip()
136 zipFile = ZipUtil.createZip(Arrays.asList(file1, file2)); in testCreateAndExtractZip_fromFiles()
177 zipFile = ZipUtil.createZip(tmpParentDir); in testCreateAndExtractFileFromZip()
DSubprocessTestResultsParserTest.java582 File zipLog = ZipUtil.createZip(logDir); in testParse_logAssociation_zipped()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DFolderSaver.java108 zip = ZipUtil.createZip(tempDir); in tearDown()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/remote/
DGcsRemoteFileResolverTest.java90 File zipFile = ZipUtil.createZip(testDir); in testResolve_unzip()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DNativeCodeCoverageListener.java164 return ZipUtil.createZip(Arrays.asList(untarDir.listFiles()), "native_coverage"); in convertTarToZip()
DUiAutomatorTest.java402 File atraceZip = ZipUtil.createZip(testTmpDirectory); in logTraceFiles()
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DCommonLogRemoteFileUtil.java192 File zipTombstones = ZipUtil.createZip(tombstonesDir); in fetchTombstones()
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/
DAtraceRunMetricCollector.java95 atraceZip = ZipUtil.createZip(testDirectory); in uploadTraceFiles()
DPerfettoPullerMetricCollector.java584 return ZipUtil.createZip(metricOutputFile, in getCompressedFile()
/tools/tradefederation/core/src/com/android/tradefed/build/
DLocalDeviceBuildProvider.java176 zipFile = ZipUtil.createZip(buildFiles); in createBuildImageZip()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/multi/
DMixImageZipPreparerTest.java308 return ZipUtil.createZip(tempFiles); in createImageZip()
441 file = MixImageZipPreparer.createZip(data, compressionLevel); in runCreateZipTest()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/multi/
DMixImageZipPreparer.java302 mixedImageZip = createZip(files, mCompressionLevel); in setUp()
448 static File createZip(Map<String, ? extends InputStreamFactory> factories, int compressionLevel) in createZip() method in MixImageZipPreparer
/tools/tradefederation/core/tests/src/com/android/tradefed/util/testmapping/
DTestMappingTest.java163 ZipUtil.createZip(filesToZip, zipFile); in testGetTests()
215 ZipUtil.createZip(filesToZip, zipFile); in testGetTests_matchKeywords()
545 ZipUtil.createZip(filesToZip, zipFile); in testExtractTestMappingsZip()
/tools/tradefederation/core/tests/src/com/android/tradefed/postprocessor/
DPerfettoGenericPostProcessorTest.java560 ZipUtil.createZip(decompressedFile, compressedFile); in compressFile()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DLocalAndroidVirtualDeviceTest.java157 mImageZip = ZipUtil.createZip(new ArrayList<File>()); in setUp()
/tools/tradefederation/contrib/src/com/android/performance/tests/
DAppTransitionTests.java465 zipFile = ZipUtil.createZip(tmpDestDir); in logTraceFiles()

12