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.java177 public static File createZip(File dir) throws IOException { in createZip() method in ZipUtil
178 return createZip(dir, DEFAULT_DIRNAME); in createZip()
190 public static File createZip(File dir, String name) throws IOException { in createZip() method in ZipUtil
192 createZip(dir, zipFile); in createZip()
204 public static void createZip(File dir, File zipFile) throws IOException { in createZip() method in ZipUtil
228 public static File createZip(List<File> files) throws IOException { in createZip() method in ZipUtil
229 return createZip(files, DEFAULT_FILENAME); in createZip()
240 public static File createZip(List<File> files, String name) throws IOException { in createZip() method in ZipUtil
242 createZip(files, zipFile); in createZip()
253 public static void createZip(List<File> files, File zipFile) throws IOException { in createZip() method in ZipUtil
DFileUtil.java1137 public static File createZip(File dir) throws IOException { in createZip() method in FileUtil
1138 return ZipUtil.createZip(dir); in createZip()
1151 public static void createZip(File dir, File zipFile) throws IOException { in createZip() method in FileUtil
1152 ZipUtil.createZip(dir, zipFile); in createZip()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/
DTestMappingSuiteRunnerTest.java239 ZipUtil.createZip(filesToZip, zipFile); in testLoadTestsWhenRemoteTestTimeoutIsSet()
333 ZipUtil.createZip(filesToZip, zipFile); in testLoadTests_testMappingsZip()
398 ZipUtil.createZip(filesToZip, zipFile); in testLoadTests_testMappingsZipFoundTestsWithKeywords()
465 ZipUtil.createZip(filesToZip, zipFile); in testLoadTests_testMappingsZipFailWithKeywords()
511 ZipUtil.createZip(filesToZip, zipFile); in testLoadTests_testMappingsZipHostTests()
554 ZipUtil.createZip(srcDir, zipFile); in testLoadTests_shard()
594 ZipUtil.createZip(srcDir, zipFile); in testLoadTests_shardNoTest()
629 ZipUtil.createZip(srcDir, zipFile); in testLoadTests_noTest()
687 ZipUtil.createZip(filesToZip, zipFile); in testLoadTestsWithModule()
736 ZipUtil.createZip(filesToZip, zipFile); in testLoadTestsWithMultiModules()
[all …]
DTfSuiteRunnerTest.java286 additionalTestsZipFile = ZipUtil.createZip(zipDir); in testLoadTests_additionalTestsZip()
/tools/tradefederation/core/src/com/android/tradefed/util/
DZipCompressionStrategy.java33 return ZipUtil.createZip(source); in compress()
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DGkiDeviceFlashPreparerTest.java243 ZipUtil.createZip(List.of(tmpFile), otatoolsZip); in testValidateGkiBootImg_NoMkbootimgInOtatoolsZip()
264 ZipUtil.createZip(List.of(mkbootimgFile), otatoolsZip); in testValidateGkiBootImg_FailToGenerateBootImg()
308 ZipUtil.createZip(List.of(otaDir.listFiles()), otatoolsZip); in testAddHashFooter()
360 ZipUtil.createZip(List.of(tmpFile), otatoolsZip); in testSetUp_NoMkbootimgInOtatoolsZip()
474 ZipUtil.createZip(List.of(bootImg, vendorBootImg, vendorKernelBootImg, dtboImg), imgZip); in testSetup_Success_FromZip()
598 ZipUtil.createZip(List.of(otaDir.listFiles()), otatoolsZip); in testGetRequestedFile_VerifyExtractingFromZip()
652 ZipUtil.createZip(List.of(otaDir.listFiles()), otatoolsZip); in testBuildGkiSystemDlkmImg()
DDynamicSystemPreparerTest.java85 mTargetFilesZip = ZipUtil.createZip(mSystemImageDir, "system_target_files"); in setUp()
87 ZipUtil.createZip( in setUp()
91 ZipUtil.createZip( in setUp()
DGsiDeviceFlashPreparerTest.java174 ZipUtil.createZip(List.of(tmpFile), gsiZip); in testSetUp_NoSystemImageInGsiZip()
268 ZipUtil.createZip(List.of(systemImg, vbmetaImg), gsiZip); in testSetup_Success_FromZipFile()
365 ZipUtil.createZip(List.of(systemImg, vbmetaImg, bootImg), gsiZip); in testSetup_Success_WithGkiBootImgInZip()
/tools/tradefederation/core/javatests/com/android/tradefed/util/testmapping/
DTestMappingTest.java220 ZipUtil.createZip(filesToZip, zipFile); in testGetTests()
276 ZipUtil.createZip(filesToZip, zipFile); in testGetTests_matchKeywords()
316 ZipUtil.createZip(filesToZip, zipFile); in testGetTests_withIgnoreKeywords()
645 ZipUtil.createZip(filesToZip, zipFile); in testExtractTestMappingsZip()
757 ZipUtil.createZip(filesToZip, zipFile); in testIncludeImports()
855 ZipUtil.createZip(filesToZip, zipFile); in testExcludeImports()
923 ZipUtil.createZip(filesToZip, zipFile); in testGetTestMappingSources()
958 ZipUtil.createZip(filesToZip, zipFile); in testMergeMissedTestMappingZips()
1007 ZipUtil.createZip(filesToZip, zipFile); in testMergeTestMappingZipsWithDuplicateSources()
1051 ZipUtil.createZip(filesToZip, zipFile); in testGetTestsWithAdditionalTestMappingZips()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/util/
DBugreportTest.java68 mZipFile = ZipUtil.createZip(new File("")); in setUp()
161 zipFile = ZipUtil.createZip(new File("")); in testBugreportz_noMainFile()
DZipUtilTest.java121 zipFile = ZipUtil.createZip(tmpParentDir); in testCreateAndExtractZip()
152 zipFile = ZipUtil.createZip(Arrays.asList(file1, file2)); in testCreateAndExtractZip_fromFiles()
194 zipFile = ZipUtil.createZip(tmpParentDir); in testCreateAndExtractFileFromZip()
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DLocalAndroidVirtualDeviceTest.java177 mImageZip = ZipUtil.createZip(new ArrayList<File>()); in setUp()
221 mBootImageZip = ZipUtil.createZip(empty); in setUpExtraZips()
222 mSystemImageZip = ZipUtil.createZip(empty); in setUpExtraZips()
223 mOtaToolsZip = ZipUtil.createZip(empty); in setUpExtraZips()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DFolderSaver.java114 zip = ZipUtil.createZip(tempDir); in tearDown()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DGcovCodeCoverageCollector.java190 return ZipUtil.createZip(Arrays.asList(untarDir.listFiles()), "native_coverage"); in convertTarToZip()
DFilePullerDeviceMetricCollector.java164 File compressedFile = ZipUtil.createZip(pulledDirectory, in processMetricRequest()
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/
DAtraceRunMetricCollector.java95 atraceZip = ZipUtil.createZip(testDirectory); in uploadTraceFiles()
DPerfettoPullerMetricCollector.java626 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/javatests/com/android/tradefed/targetprep/multi/
DMixImageZipPreparerTest.java363 return ZipUtil.createZip(tempFiles); in createImageZip()
521 file = MixImageZipPreparer.createZip(data, compressionLevel); in runCreateZipTest()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/multi/
DMixImageZipPreparer.java326 mixedImageZip = createZip(files, mCompressionLevel); in setUp()
472 static File createZip(Map<String, ? extends InputStreamFactory> factories, int compressionLevel) in createZip() method in MixImageZipPreparer
/tools/tradefederation/core/javatests/com/android/tradefed/config/remote/
DGcsRemoteFileResolverTest.java128 File zipFile = ZipUtil.createZip(testDir); in testResolve_unzip()
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DCommonLogRemoteFileUtil.java366 File zipTombstones = ZipUtil.createZip(tombstonesDir); in fetchTombstones()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DUiAutomatorTest.java402 File atraceZip = ZipUtil.createZip(testTmpDirectory); in logTraceFiles()
/tools/tradefederation/core/javatests/com/android/tradefed/cluster/
DClusterBuildProviderTest.java81 mResourceFile = ZipUtil.createZip(filesInZip); in setUp()
/tools/tradefederation/core/javatests/com/android/tradefed/postprocessor/
DPerfettoGenericPostProcessorTest.java882 ZipUtil.createZip(decompressedFile, compressedFile); in compressFile()

12