Home
last modified time | relevance | path

Searched refs:FilesKey (Results 1 – 18 of 18) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DShardBuildCloner.java26 import com.android.tradefed.invoker.ExecutionFiles.FilesKey;
77 if (execFiles.get(FilesKey.TESTS_DIRECTORY) != null) { in cloneBuildInfos()
79 .get(FilesKey.TESTS_DIRECTORY) in cloneBuildInfos()
82 FilesKey.TESTS_DIRECTORY, in cloneBuildInfos()
86 if (execFiles.get(FilesKey.HOST_TESTS_DIRECTORY) != null) { in cloneBuildInfos()
88 .get(FilesKey.HOST_TESTS_DIRECTORY) in cloneBuildInfos()
91 FilesKey.HOST_TESTS_DIRECTORY, in cloneBuildInfos()
95 if (execFiles.get(FilesKey.TARGET_TESTS_DIRECTORY) != null) { in cloneBuildInfos()
97 .get(FilesKey.TARGET_TESTS_DIRECTORY) in cloneBuildInfos()
100 FilesKey.TARGET_TESTS_DIRECTORY, in cloneBuildInfos()
/tools/tradefederation/core/src/com/android/tradefed/invoker/sandbox/
DSandboxedInvocationExecution.java27 import com.android.tradefed.invoker.ExecutionFiles.FilesKey;
82 if (execFiles.get(FilesKey.TESTS_DIRECTORY) == null) { in backFillTestInformation()
85 execFiles.put(FilesKey.TESTS_DIRECTORY, testsDir); in backFillTestInformation()
88 if (execFiles.get(FilesKey.TARGET_TESTS_DIRECTORY) == null) { in backFillTestInformation()
91 execFiles.put(FilesKey.TARGET_TESTS_DIRECTORY, targetDir, true); in backFillTestInformation()
94 if (execFiles.get(FilesKey.HOST_TESTS_DIRECTORY) == null) { in backFillTestInformation()
97 execFiles.put(FilesKey.HOST_TESTS_DIRECTORY, hostDir, true); in backFillTestInformation()
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/invoker/
DTestInformation.java20 import com.android.tradefed.invoker.ExecutionFiles.FilesKey;
198 FilesKey hostOrTarget = FilesKey.HOST_TESTS_DIRECTORY; in getFromEnv()
200 hostOrTarget = FilesKey.TARGET_TESTS_DIRECTORY; in getFromEnv()
213 File testsDir = mExecutionFiles.get(FilesKey.TESTS_DIRECTORY); in getFromTestsDir()
DExecutionFiles.java36 public static enum FilesKey { enum in ExecutionFiles
73 public File put(FilesKey key, File value) { in put()
87 public File put(FilesKey key, File value, boolean shouldNotDelete) { in put()
160 public File get(FilesKey key) { in get()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/suite/
DSuiteApkInstallerTest.java27 import com.android.tradefed.invoker.ExecutionFiles.FilesKey;
96 mTestInfo.executionFiles().put(FilesKey.TARGET_TESTS_DIRECTORY, varDir); in testGetTestsDir_notDir()
98 mTestInfo.executionFiles().put(FilesKey.TESTS_DIRECTORY, tmpDir); in testGetTestsDir_notDir()
153 mTestInfo.executionFiles().put(FilesKey.TESTS_DIRECTORY, tmpDir); in testGetLocalPathForFileName_testsDir()
188 mTestInfo.executionFiles().put(FilesKey.TESTS_DIRECTORY, tmpDir); in testGetLocalPathForFileName_remoteZip()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/python/
DPythonBinaryHostTestTest.java22 import com.android.tradefed.invoker.ExecutionFiles.FilesKey;
104 mTestInfo.executionFiles().put(FilesKey.HOST_TESTS_DIRECTORY, new File("/path-not-exist")); in setUp()
319 mTestInfo.executionFiles().put(FilesKey.ADB_BINARY, new File("/test/adb")); in testRun_withAdbPath()
358 mTestInfo.executionFiles().put(FilesKey.HOST_TESTS_DIRECTORY, hostTestsDir); in testRun_withSharedLibInHostTestsDir()
403 mTestInfo.executionFiles().put(FilesKey.TESTS_DIRECTORY, testsDir); in testRun_withSharedLib()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationExecution.java38 import com.android.tradefed.invoker.ExecutionFiles.FilesKey;
791 if (testInfo.executionFiles().get(FilesKey.TARGET_TESTS_DIRECTORY) == null) {
800 .put(FilesKey.TARGET_TESTS_DIRECTORY, targetTestCases, true);
803 if (testInfo.executionFiles().get(FilesKey.HOST_TESTS_DIRECTORY) == null) {
812 .put(FilesKey.HOST_TESTS_DIRECTORY, hostTestCases, true);
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/python/
DPythonBinaryHostTest.java25 import com.android.tradefed.invoker.ExecutionFiles.FilesKey;
184 File testDir = mTestInfo.executionFiles().get(FilesKey.HOST_TESTS_DIRECTORY); in run()
186 testDir = mTestInfo.executionFiles().get(FilesKey.TESTS_DIRECTORY); in run()
271 File updatedAdb = testInfo.executionFiles().get(FilesKey.ADB_BINARY); in runSinglePythonFile()
/tools/tradefederation/core/tests/src/com/android/tradefed/sandbox/
DSandboxedInvocationExecutionTest.java28 import com.android.tradefed.invoker.ExecutionFiles.FilesKey;
66 assertNull(testInfo.executionFiles().get(FilesKey.TESTS_DIRECTORY)); in testBuildInfo_testTag()
71 assertNotNull(testInfo.executionFiles().get(FilesKey.TESTS_DIRECTORY)); in testBuildInfo_testTag()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DRunHostScriptTargetPreparerTest.java31 import com.android.tradefed.invoker.ExecutionFiles.FilesKey;
89 when(mTestInfo.executionFiles().get(any(FilesKey.class))).thenReturn(null); in setUp()
161 when(mTestInfo.executionFiles().get(eq(FilesKey.ADB_BINARY))).thenReturn(adbBinary); in testSetUp_pathVariable()
/tools/tradefederation/core/src/com/android/tradefed/build/
DBootstrapBuildProvider.java27 import com.android.tradefed.invoker.ExecutionFiles.FilesKey;
148 FilesKey.TESTS_DIRECTORY, in getBuild()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/adb/
DAdbStopServerPreparer.java25 import com.android.tradefed.invoker.ExecutionFiles.FilesKey;
97 testInfo.executionFiles().put(FilesKey.ADB_BINARY, adb); in setUp()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DRunHostScriptTargetPreparer.java25 import com.android.tradefed.invoker.ExecutionFiles.FilesKey;
151 File adbBinary = testInfo.executionFiles().get(FilesKey.ADB_BINARY); in setPathVariable()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DArtRunTest.java25 import com.android.tradefed.invoker.ExecutionFiles.FilesKey;
183 File testsDir = testInfo.executionFiles().get(FilesKey.TARGET_TESTS_DIRECTORY); in getDependencyFileFromRunTestDir()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DArtRunTestTest.java28 import com.android.tradefed.invoker.ExecutionFiles.FilesKey;
96 mTestInfo.executionFiles().put(FilesKey.TARGET_TESTS_DIRECTORY, mTmpTargetTestsDir); in setUp()
DJarHostTestTest.java26 import com.android.tradefed.invoker.ExecutionFiles.FilesKey;
85 mTestInfo.executionFiles().put(FilesKey.TESTS_DIRECTORY, mTestDir); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DSandboxedInvocationExecutionTest.java39 import com.android.tradefed.invoker.ExecutionFiles.FilesKey;
418 .containsKey(FilesKey.HOST_TESTS_DIRECTORY.toString())); in testBackFill()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/
DBaseHostJUnit4TestTest.java32 import com.android.tradefed.invoker.ExecutionFiles.FilesKey;
398 mTestInfo.executionFiles().put(FilesKey.TESTS_DIRECTORY, fakeTestsDir);