Home
last modified time | relevance | path

Searched refs:FileUtil (Results 1 – 10 of 10) sorted by relevance

/platform_testing/libraries/compatibility-common-util/tests/src/com/android/compatibility/common/util/
DLightInvocationResultTest.java19 import com.android.tradefed.util.FileUtil;
34 resultsDir = FileUtil.createTempDir("results"); in setUp()
39 FileUtil.recursiveDelete(resultsDir); in tearDown()
DDynamicConfigTest.java19 import com.android.tradefed.util.FileUtil;
100 FileUtil.deleteFile(file); in testCorrectConfig()
113 FileUtil.deleteFile(file); in testConfigWithWrongNodeName()
DBusinessLogicTest.java30 import com.android.tradefed.util.FileUtil;
230 FileUtil.deleteFile(file); in testCorrectLogic()
240 FileUtil.deleteFile(file); in testLogicWithWrongNodeName()
DResultHandlerTest.java18 import com.android.tradefed.util.FileUtil;
185 resultsDir = FileUtil.createTempDir("results"); in setUp()
186 resultDir = FileUtil.createTempDir("12345", resultsDir); in setUp()
191 FileUtil.recursiveDelete(resultsDir); in tearDown()
264 String content = FileUtil.readStringFromFile(res); in testSerialization()
365 String content = FileUtil.readStringFromFile(res); in testSerialization_whenTestResultWithTestResultHistoryWithoutParsing()
440 resultDir = FileUtil.createTempDir("12345", resultsDir); in writeResultDir()
/platform_testing/tests/codecoverage/hosttest/src/android/platform/test/
DCoverageSmokeTest.java15 import com.android.tradefed.util.FileUtil;
70 FileUtil.deleteFile(coverageFile); in instrumentationTest_generatesJavaCoverage()
81 File jacocoReport = FileUtil.findFile(jacocoAllClassesJar, "jacoco-report-classes.jar"); in instrumentationTest_generatesJavaCoverage()
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DFileUtil.java30 public class FileUtil { class
/platform_testing/host_runners/power/src/com/android/power/
DPowerRunner.java31 import com.android.tradefed.util.FileUtil;
185 tmpDestDir = FileUtil.createTempDir("power-tests-tmp-results"); in parseInstrumentationResults()
212 FileUtil.recursiveDelete(tmpDestDir); in parseInstrumentationResults()
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/
DFridaUtils.java33 import com.android.tradefed.util.FileUtil;
112 File tmpOutput = FileUtil.createTempFile("STS", fridaExeName); in FridaUtils()
113 FileUtil.writeToFile(in, tmpOutput); in FridaUtils()
115 FileUtil.copyFile(tmpOutput, localFridaExe); in FridaUtils()
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/ghidra/
DGhidraScriptRunner.java20 import static com.android.tradefed.util.FileUtil.chmodRWXRecursively;
21 import static com.android.tradefed.util.FileUtil.createNamedTempDir;
22 import static com.android.tradefed.util.FileUtil.recursiveDelete;
DGhidraPreparer.java19 import static com.android.tradefed.util.FileUtil.chmodRWXRecursively;
20 import static com.android.tradefed.util.FileUtil.createNamedTempDir;
21 import static com.android.tradefed.util.FileUtil.recursiveDelete;