Home
last modified time | relevance | path

Searched refs:ZipUtil (Results 1 – 13 of 13) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DZipUtilTest.java62 ZipUtil.isZipFileValid(getTestDataFile("normal"), false)); in testSimpleCorruptZipCheck()
64 ZipUtil.isZipFileValid(getTestDataFile("truncated"), false)); in testSimpleCorruptZipCheck()
66 ZipUtil.isZipFileValid(getTestDataFile("corrupt"), false)); in testSimpleCorruptZipCheck()
74 ZipUtil.isZipFileValid(getTestDataFile("normal"), true)); in testThoroughCorruptZipCheck()
76 ZipUtil.isZipFileValid(getTestDataFile("truncated"), true)); in testThoroughCorruptZipCheck()
78 ZipUtil.isZipFileValid(getTestDataFile("corrupt"), true)); in testThoroughCorruptZipCheck()
95 zipFile = ZipUtil.createZip(tmpParentDir); in testCreateAndExtractZip()
96 ZipUtil.extractZip(new ZipFile(zipFile), extractedDir); in testCreateAndExtractZip()
125 zipFile = ZipUtil.createZip(Arrays.asList(file1, file2)); in testCreateAndExtractZip_fromFiles()
126 ZipUtil.extractZip(new ZipFile(zipFile), extractedDir); in testCreateAndExtractZip_fromFiles()
[all …]
DBugreportTest.java63 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()
DTestMappingTest.java107 ZipUtil.createZip(srcDir, zipFile); in testGetTests()
/tools/tradefederation/core/src/com/android/tradefed/build/
DOtaZipfileBuildProvider.java21 import com.android.tradefed.util.ZipUtil;
89 ZipUtil.closeZip(otaZip); in getBuildPropContents()
DLocalDeviceBuildProvider.java25 import com.android.tradefed.util.ZipUtil;
166 zipFile = ZipUtil.createZip(buildFiles); in createBuildImageZip()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DFolderSaver.java31 import com.android.tradefed.util.ZipUtil;
91 zip = ZipUtil.createZip(tempDir); in tearDown()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DTestMappingSuiteRunnerTest.java31 import com.android.tradefed.util.ZipUtil;
125 ZipUtil.createZip(srcDir, zipFile); in testLoadTests_testMappingsZip()
176 ZipUtil.createZip(srcDir, zipFile); in testLoadTests_noTest()
DTfSuiteRunnerTest.java42 import com.android.tradefed.util.ZipUtil;
246 additionalTestsZipFile = ZipUtil.createZip(zipDir); in testLoadTests_additionalTestsZip()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DAtraceRunMetricCollector.java32 import com.android.tradefed.util.ZipUtil;
95 atraceZip = ZipUtil.createZip(testDirectory); in uploadTraceFiles()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DUiAutomatorTest.java38 import com.android.tradefed.util.ZipUtil;
338 File atraceZip = ZipUtil.createZip(testTmpDirectory); in logTraceFiles()
/tools/tradefederation/core/src/com/android/tradefed/util/
DZipUtil.java40 public class ZipUtil { class
/tools/tradefederation/core/prod-tests/src/com/android/performance/tests/
DAppTransitionTests.java41 import com.android.tradefed.util.ZipUtil;
375 zipFile = ZipUtil.createZip(tmpDestDir); in logTraceFiles()
/tools/tradefederation/core/src/com/android/tradefed/command/
DConsole.java37 import com.android.tradefed.util.ZipUtil;
1067 File zippedBugreport = ZipUtil.createZip(tmpBugreportDir, "tradefed_bugreport_"); in dumpTfBugreport()