/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | ZipUtilTest.java | 73 ZipUtil.isZipFileValid(getTestDataFile("normal"), false)); in testSimpleCorruptZipCheck() 75 ZipUtil.isZipFileValid(getTestDataFile("truncated"), false)); in testSimpleCorruptZipCheck() 77 ZipUtil.isZipFileValid(getTestDataFile("corrupt"), false)); in testSimpleCorruptZipCheck() 85 ZipUtil.isZipFileValid(getTestDataFile("normal"), true)); in testThoroughCorruptZipCheck() 87 ZipUtil.isZipFileValid(getTestDataFile("truncated"), true)); in testThoroughCorruptZipCheck() 89 ZipUtil.isZipFileValid(getTestDataFile("corrupt"), true)); in testThoroughCorruptZipCheck() 106 zipFile = ZipUtil.createZip(tmpParentDir); in testCreateAndExtractZip() 107 ZipUtil.extractZip(new ZipFile(zipFile), extractedDir); in testCreateAndExtractZip() 136 zipFile = ZipUtil.createZip(Arrays.asList(file1, file2)); in testCreateAndExtractZip_fromFiles() 137 ZipUtil.extractZip(new ZipFile(zipFile), extractedDir); in testCreateAndExtractZip_fromFiles() [all …]
|
D | BugreportTest.java | 63 mZipFile = ZipUtil.createZip(new File("")); in setUp() 66 ZipUtil.addToZip(out, bugreport, new LinkedList<String>()); in setUp() 67 ZipUtil.addToZip(out, new File(tempDir, "main_entry.txt"), new LinkedList<String>()); in setUp() 166 zipFile = ZipUtil.createZip(new File("")); in testBugreportz_noMainFile() 169 ZipUtil.addToZip(out, bugreport, new LinkedList<String>()); in testBugreportz_noMainFile()
|
D | ZipUtilFuncTest.java | 94 ZipUtil.getZipCentralDirectoryInfos( in testCentralDirectoryInfos() 114 ZipUtil.getZipCentralDirectoryInfos( in testCentralDirectoryInfosWithoutUseZip64()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | TestMappingSuiteRunnerTest.java | 41 import com.android.tradefed.util.ZipUtil; 258 ZipUtil.createZip(filesToZip, zipFile); in testLoadTests_testMappingsZip() 328 ZipUtil.createZip(filesToZip, zipFile); in testLoadTests_testMappingsZipFoundTestsWithKeywords() 400 ZipUtil.createZip(filesToZip, zipFile); in testLoadTests_testMappingsZipFailWithKeywords() 448 ZipUtil.createZip(filesToZip, zipFile); in testLoadTests_testMappingsZipHostTests() 495 ZipUtil.createZip(srcDir, zipFile); in testLoadTests_shard() 538 ZipUtil.createZip(srcDir, zipFile); in testLoadTests_shardNoTest() 582 ZipUtil.createZip(srcDir, zipFile); in testLoadTests_noTest() 647 ZipUtil.createZip(filesToZip, zipFile); in testLoadTestsWithModule() 700 ZipUtil.createZip(filesToZip, zipFile); in testLoadTestsWithMultiModules() [all …]
|
D | TfSuiteRunnerTest.java | 46 import com.android.tradefed.util.ZipUtil; 281 additionalTestsZipFile = ZipUtil.createZip(zipDir); in testLoadTests_additionalTestsZip()
|
/tools/tradefederation/core/common_util/com/android/tradefed/util/ |
D | FileUtil.java | 991 ZipUtil.extractZip(zipFile, destDir); in extractZip() 1005 return ZipUtil.extractFileFromZip(zipFile, filePath); in extractFileFromZip() 1019 return ZipUtil.createZip(dir); in createZip() 1033 ZipUtil.createZip(dir, zipFile); in createZip() 1044 ZipUtil.closeZip(zipFile); in closeZip() 1057 ZipUtil.gzipFile(file, gzipFile); in gzipFile()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | GkiDeviceFlashPreparerTest.java | 38 import com.android.tradefed.util.ZipUtil; 185 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()
|
D | GsiDeviceFlashPreparerTest.java | 38 import com.android.tradefed.util.ZipUtil; 169 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()
|
D | DynamicSystemPreparerTest.java | 30 import com.android.tradefed.util.ZipUtil; 92 return ZipUtil.createZip(tempFiles); in createImageZip()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/multi/ |
D | MixImageZipPreparerTest.java | 34 import com.android.tradefed.util.ZipUtil; 308 return ZipUtil.createZip(tempFiles); in createImageZip() 329 File mixedImageDir = ZipUtil.extractZipToTemp(mixedImageZip, "verifyImages"); in verifyImages() 461 ZipUtil.closeZip(zipFile); in runCreateZipTest()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/testmapping/ |
D | TestMappingTest.java | 24 import com.android.tradefed.util.ZipUtil; 163 ZipUtil.createZip(filesToZip, zipFile); in testGetTests() 217 ZipUtil.createZip(filesToZip, zipFile); in testGetTests_matchKeywords() 547 ZipUtil.createZip(filesToZip, zipFile); in testExtractTestMappingsZip()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | LocalAndroidVirtualDevice.java | 37 import com.android.tradefed.util.ZipUtil; 188 } else if (ZipUtil.isZipFileValid(file, false)) { in extractArchive() 189 file = ZipUtil.extractZipToTemp(file, file.getName()); in extractArchive()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/multi/ |
D | MixImageZipPreparer.java | 37 import com.android.tradefed.util.ZipUtil; 312 ZipUtil.closeZip(deviceImageZip); in setUp() 313 ZipUtil.closeZip(systemImageZip); in setUp()
|
/tools/tradefederation/core/src/com/android/tradefed/build/ |
D | OtaZipfileBuildProvider.java | 23 import com.android.tradefed.util.ZipUtil; 95 ZipUtil.closeZip(otaZip); in getBuildPropContents()
|
D | LocalDeviceBuildProvider.java | 26 import com.android.tradefed.util.ZipUtil; 176 zipFile = ZipUtil.createZip(buildFiles); in createBuildImageZip()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/ |
D | FolderSaver.java | 31 import com.android.tradefed.util.ZipUtil; 108 zip = ZipUtil.createZip(tempDir); in tearDown()
|
D | DynamicSystemPreparer.java | 29 import com.android.tradefed.util.ZipUtil; 78 ZipUtil.gzipFile(systemImage, systemImageGZ); in setUp()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/remote/ |
D | GcsRemoteFileResolverTest.java | 28 import com.android.tradefed.util.ZipUtil; 88 File zipFile = ZipUtil.createZip(testDir); in testResolve_unzip()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | NativeCodeCoverageListener.java | 33 import com.android.tradefed.util.ZipUtil; 164 return ZipUtil.createZip(Arrays.asList(untarDir.listFiles()), "native_coverage"); in convertTarToZip()
|
D | ClangCodeCoverageListener.java | 43 import com.android.tradefed.util.ZipUtil; 257 mLlvmProfdataTool = ZipUtil.extractZipToTemp(profileToolZip, "llvm-profdata"); in getProfileTool()
|
D | UiAutomatorTest.java | 39 import com.android.tradefed.util.ZipUtil; 402 File atraceZip = ZipUtil.createZip(testTmpDirectory); in logTraceFiles()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | RemoteZip.java | 128 ZipUtil.getZipCentralDirectoryInfos( in getZipEntries() 190 ZipUtil.unzipPartialZipFile( in downloadFiles()
|
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/ |
D | CommonLogRemoteFileUtil.java | 29 import com.android.tradefed.util.ZipUtil; 192 File zipTombstones = ZipUtil.createZip(tombstonesDir); in fetchTombstones()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/ |
D | AtraceRunMetricCollector.java | 32 import com.android.tradefed.util.ZipUtil; 95 atraceZip = ZipUtil.createZip(testDirectory); in uploadTraceFiles()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/postprocessor/ |
D | PerfettoGenericPostProcessorTest.java | 33 import com.android.tradefed.util.ZipUtil; 560 ZipUtil.createZip(decompressedFile, compressedFile); in compressFile()
|