Home
last modified time | relevance | path

Searched refs:EnvVariable (Results 1 – 5 of 5) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/util/
DSystemUtil.java40 public enum EnvVariable { enum in SystemUtil
51 public static final Map<EnvVariable, String> ENV_VARIABLE_PATHS_IN_TESTS_DIR = new HashMap<>();
55 EnvVariable.ANDROID_TARGET_OUT_TESTCASES, TARGET_TESTCASES); in ENV_VARIABLE_PATHS_IN_TESTS_DIR.put()
56 ENV_VARIABLE_PATHS_IN_TESTS_DIR.put(EnvVariable.ANDROID_HOST_OUT_TESTCASES, HOST_TESTCASES); in ENV_VARIABLE_PATHS_IN_TESTS_DIR.put()
82 singleton.getEnv(EnvVariable.ANDROID_TARGET_OUT_TESTCASES.name()), in getExternalTestCasesDirs()
83 singleton.getEnv(EnvVariable.ANDROID_HOST_OUT_TESTCASES.name())); in getExternalTestCasesDirs()
107 public static File getExternalTestCasesDir(EnvVariable envVariable) { in getExternalTestCasesDir()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DSystemUtilTest.java22 import com.android.tradefed.util.SystemUtil.EnvVariable;
53 EnvVariable.ANDROID_TARGET_OUT_TESTCASES.name())) in testGetExternalTestCasesDirs()
55 Mockito.when(SystemUtil.singleton.getEnv(EnvVariable.ANDROID_HOST_OUT_TESTCASES.name())) in testGetExternalTestCasesDirs()
76 Mockito.when(SystemUtil.singleton.getEnv(EnvVariable.ANDROID_TARGET_OUT_TESTCASES.name())) in testGetExternalTestCasesDirsNoDir()
78 Mockito.when(SystemUtil.singleton.getEnv(EnvVariable.ANDROID_HOST_OUT_TESTCASES.name())) in testGetExternalTestCasesDirsNoDir()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DTfTestLauncherTest.java39 import com.android.tradefed.util.SystemUtil.EnvVariable;
132 mMockRunUtil.unsetEnvVariable(EnvVariable.ANDROID_HOST_OUT_TESTCASES.name()); in testRun()
133 mMockRunUtil.unsetEnvVariable(EnvVariable.ANDROID_TARGET_OUT_TESTCASES.name()); in testRun()
251 mMockRunUtil.unsetEnvVariable(EnvVariable.ANDROID_HOST_OUT_TESTCASES.name()); in testRunCoverage()
252 mMockRunUtil.unsetEnvVariable(EnvVariable.ANDROID_TARGET_OUT_TESTCASES.name()); in testRunCoverage()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationExecution.java76 import com.android.tradefed.util.SystemUtil.EnvVariable;
796 EnvVariable.ANDROID_TARGET_OUT_TESTCASES,
808 EnvVariable.ANDROID_HOST_OUT_TESTCASES,
820 IDeviceBuildInfo info, File testsDir, EnvVariable var, String baseName) {
921 File getExternalTestCasesDirs(EnvVariable envVar) {
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationTest.java97 import com.android.tradefed.util.SystemUtil.EnvVariable;
1633 File getExternalTestCasesDirs(EnvVariable envVar) { in testInvoke_deviceInfoBuild_noEnv()
1715 File getExternalTestCasesDirs(EnvVariable envVar) { in testInvoke_deviceInfoBuild_withEnv()
1716 if (EnvVariable.ANDROID_TARGET_OUT_TESTCASES.equals(envVar)) { in testInvoke_deviceInfoBuild_withEnv()
1820 File getExternalTestCasesDirs(EnvVariable envVar) { in testInvoke_deviceInfoBuild_withEnv_andSkipProperty()