Home
last modified time | relevance | path

Searched refs:srcFile (Results 1 – 6 of 6) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/util/testmapping/
DTestMappingTest.java77 String srcFile = File.separator + TEST_DATA_DIR + File.separator + "test_mapping_1"; in testparseTestMapping() local
78 InputStream resourceStream = this.getClass().getResourceAsStream(srcFile); in testparseTestMapping()
206 String srcFile = File.separator + TEST_DATA_DIR + File.separator + "test_mapping_1"; in testGetTests() local
207 InputStream resourceStream = this.getClass().getResourceAsStream(srcFile); in testGetTests()
210 srcFile = File.separator + TEST_DATA_DIR + File.separator + "test_mapping_2"; in testGetTests()
211 resourceStream = this.getClass().getResourceAsStream(srcFile); in testGetTests()
213 srcFile = File.separator + TEST_DATA_DIR + File.separator + DISABLED_PRESUBMIT_TESTS; in testGetTests()
214 resourceStream = this.getClass().getResourceAsStream(srcFile); in testGetTests()
262 String srcFile = File.separator + TEST_DATA_DIR + File.separator + "test_mapping_1"; in testGetTests_matchKeywords() local
263 InputStream resourceStream = this.getClass().getResourceAsStream(srcFile); in testGetTests_matchKeywords()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/
DTestMappingSuiteRunnerTest.java223 String srcFile = in testLoadTestsWhenRemoteTestTimeoutIsSet() local
225 InputStream resourceStream = this.getClass().getResourceAsStream(srcFile); in testLoadTestsWhenRemoteTestTimeoutIsSet()
228 srcFile = File.separator + TEST_DATA_DIR + File.separator + "test_mapping_1"; in testLoadTestsWhenRemoteTestTimeoutIsSet()
229 resourceStream = this.getClass().getResourceAsStream(srcFile); in testLoadTestsWhenRemoteTestTimeoutIsSet()
232 srcFile = File.separator + TEST_DATA_DIR + File.separator + "test_mapping_2"; in testLoadTestsWhenRemoteTestTimeoutIsSet()
233 resourceStream = this.getClass().getResourceAsStream(srcFile); in testLoadTestsWhenRemoteTestTimeoutIsSet()
317 String srcFile = in testLoadTests_testMappingsZip() local
319 InputStream resourceStream = this.getClass().getResourceAsStream(srcFile); in testLoadTests_testMappingsZip()
322 srcFile = File.separator + TEST_DATA_DIR + File.separator + "test_mapping_1"; in testLoadTests_testMappingsZip()
323 resourceStream = this.getClass().getResourceAsStream(srcFile); in testLoadTests_testMappingsZip()
[all …]
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DMixKernelTargetPreparer.java144 File srcFile = buildInfo.getFile(fileKey); in setUp() local
147 copyLabelFileToDir(fileKey, srcFile, tmpKernelDir); in setUp()
150 copyLabelFileToDir(fileKey, srcFile, tmpGkiDir); in setUp()
153 copyLabelFileToDir(fileKey, srcFile, tmpDeviceDir); in setUp()
155 copyDeviceImageToDir(srcFile, tmpDeviceDir); in setUp()
192 void copyDeviceImageToDir(File srcFile, File destDir) throws IOException { in copyDeviceImageToDir() argument
194 String srcFileName = srcFile.getName(); in copyDeviceImageToDir()
211 CLog.i("Copy %s to %s", srcFile.toString(), dstFile.toString()); in copyDeviceImageToDir()
212 FileUtil.hardlinkFile(srcFile, dstFile); in copyDeviceImageToDir()
226 void copyLabelFileToDir(String fileKey, File srcFile, File destDir) throws IOException { in copyLabelFileToDir() argument
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DMixKernelTargetPreparerTest.java60 File srcFile = FileUtil.createTempFile(deviceImageName + "_", ".zip", oldDir); in testCopyDeviceImageToDir() local
63 mk.copyDeviceImageToDir(srcFile, newDir); in testCopyDeviceImageToDir()
68 srcFile, in testCopyDeviceImageToDir()
/tools/tradefederation/contrib/src/com/android/uicd/tests/
DUiConductorTest.java368 private Path copyFile(Path srcFile, Path destDir) { in copyFile() argument
371 Path destFile = destDir.resolve(srcFile.getFileName()); in copyFile()
372 return Files.copy(srcFile, destFile); in copyFile()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DArtRunTest.java599 File srcFile = new File(tmpCheckerLocalDir, "src"); in extractSourcesFromJar() local
600 if (srcFile.exists()) { in extractSourcesFromJar()
601 FileUtil.recursiveDelete(srcFile); in extractSourcesFromJar()