/tools/tradefederation/core/common_util/com/android/tradefed/util/ |
D | ZipUtil.java | 177 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
|
D | FileUtil.java | 1137 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/ |
D | TestMappingSuiteRunnerTest.java | 239 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 …]
|
D | TfSuiteRunnerTest.java | 286 additionalTestsZipFile = ZipUtil.createZip(zipDir); in testLoadTests_additionalTestsZip()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | ZipCompressionStrategy.java | 33 return ZipUtil.createZip(source); in compress()
|
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/ |
D | GkiDeviceFlashPreparerTest.java | 243 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()
|
D | DynamicSystemPreparerTest.java | 85 mTargetFilesZip = ZipUtil.createZip(mSystemImageDir, "system_target_files"); in setUp() 87 ZipUtil.createZip( in setUp() 91 ZipUtil.createZip( in setUp()
|
D | GsiDeviceFlashPreparerTest.java | 174 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/ |
D | TestMappingTest.java | 220 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/ |
D | BugreportTest.java | 68 mZipFile = ZipUtil.createZip(new File("")); in setUp() 161 zipFile = ZipUtil.createZip(new File("")); in testBugreportz_noMainFile()
|
D | ZipUtilTest.java | 121 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/ |
D | LocalAndroidVirtualDeviceTest.java | 177 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/ |
D | FolderSaver.java | 114 zip = ZipUtil.createZip(tempDir); in tearDown()
|
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | GcovCodeCoverageCollector.java | 190 return ZipUtil.createZip(Arrays.asList(untarDir.listFiles()), "native_coverage"); in convertTarToZip()
|
D | FilePullerDeviceMetricCollector.java | 164 File compressedFile = ZipUtil.createZip(pulledDirectory, in processMetricRequest()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/ |
D | AtraceRunMetricCollector.java | 95 atraceZip = ZipUtil.createZip(testDirectory); in uploadTraceFiles()
|
D | PerfettoPullerMetricCollector.java | 626 return ZipUtil.createZip(metricOutputFile, in getCompressedFile()
|
/tools/tradefederation/core/src/com/android/tradefed/build/ |
D | LocalDeviceBuildProvider.java | 176 zipFile = ZipUtil.createZip(buildFiles); in createBuildImageZip()
|
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/multi/ |
D | MixImageZipPreparerTest.java | 363 return ZipUtil.createZip(tempFiles); in createImageZip() 521 file = MixImageZipPreparer.createZip(data, compressionLevel); in runCreateZipTest()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/multi/ |
D | MixImageZipPreparer.java | 326 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/ |
D | GcsRemoteFileResolverTest.java | 128 File zipFile = ZipUtil.createZip(testDir); in testResolve_unzip()
|
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/ |
D | CommonLogRemoteFileUtil.java | 366 File zipTombstones = ZipUtil.createZip(tombstonesDir); in fetchTombstones()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | UiAutomatorTest.java | 402 File atraceZip = ZipUtil.createZip(testTmpDirectory); in logTraceFiles()
|
/tools/tradefederation/core/javatests/com/android/tradefed/cluster/ |
D | ClusterBuildProviderTest.java | 81 mResourceFile = ZipUtil.createZip(filesInZip); in setUp()
|
/tools/tradefederation/core/javatests/com/android/tradefed/postprocessor/ |
D | PerfettoGenericPostProcessorTest.java | 882 ZipUtil.createZip(decompressedFile, compressedFile); in compressFile()
|