/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/ |
D | ShardBuildCloner.java | 26 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/ |
D | SandboxedInvocationExecution.java | 27 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/ |
D | TestInformation.java | 20 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()
|
D | ExecutionFiles.java | 36 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/ |
D | SuiteApkInstallerTest.java | 27 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/ |
D | PythonBinaryHostTestTest.java | 22 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/ |
D | InvocationExecution.java | 38 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/ |
D | PythonBinaryHostTest.java | 25 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/ |
D | SandboxedInvocationExecutionTest.java | 28 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/ |
D | RunHostScriptTargetPreparerTest.java | 31 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/ |
D | BootstrapBuildProvider.java | 27 import com.android.tradefed.invoker.ExecutionFiles.FilesKey; 148 FilesKey.TESTS_DIRECTORY, in getBuild()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/adb/ |
D | AdbStopServerPreparer.java | 25 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/ |
D | RunHostScriptTargetPreparer.java | 25 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/ |
D | ArtRunTest.java | 25 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/ |
D | ArtRunTestTest.java | 28 import com.android.tradefed.invoker.ExecutionFiles.FilesKey; 96 mTestInfo.executionFiles().put(FilesKey.TARGET_TESTS_DIRECTORY, mTmpTargetTestsDir); in setUp()
|
D | JarHostTestTest.java | 26 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/ |
D | SandboxedInvocationExecutionTest.java | 39 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/ |
D | BaseHostJUnit4TestTest.java | 32 import com.android.tradefed.invoker.ExecutionFiles.FilesKey; 398 mTestInfo.executionFiles().put(FilesKey.TESTS_DIRECTORY, fakeTestsDir);
|