Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/util/
DSystemUtil.java40 public enum EnvVariable { enum in SystemUtil
49 public static final Map<EnvVariable, String> ENV_VARIABLE_PATHS_IN_TESTS_DIR = new HashMap<>();
53 EnvVariable.ANDROID_TARGET_OUT_TESTCASES, TARGET_TESTCASES); in ENV_VARIABLE_PATHS_IN_TESTS_DIR.put()
54 ENV_VARIABLE_PATHS_IN_TESTS_DIR.put(EnvVariable.ANDROID_HOST_OUT_TESTCASES, HOST_TESTCASES); in ENV_VARIABLE_PATHS_IN_TESTS_DIR.put()
80 singleton.getEnv(EnvVariable.ANDROID_TARGET_OUT_TESTCASES.name()), in getExternalTestCasesDirs()
81 singleton.getEnv(EnvVariable.ANDROID_HOST_OUT_TESTCASES.name())); in getExternalTestCasesDirs()
105 public static File getExternalTestCasesDir(EnvVariable envVariable) { in getExternalTestCasesDir()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DSystemUtilTest.java21 import com.android.tradefed.util.SystemUtil.EnvVariable;
52 EnvVariable.ANDROID_TARGET_OUT_TESTCASES.name())) in testGetExternalTestCasesDirs()
54 Mockito.when(SystemUtil.singleton.getEnv(EnvVariable.ANDROID_HOST_OUT_TESTCASES.name())) in testGetExternalTestCasesDirs()
75 Mockito.when(SystemUtil.singleton.getEnv(EnvVariable.ANDROID_TARGET_OUT_TESTCASES.name())) in testGetExternalTestCasesDirsNoDir()
77 Mockito.when(SystemUtil.singleton.getEnv(EnvVariable.ANDROID_HOST_OUT_TESTCASES.name())) in testGetExternalTestCasesDirsNoDir()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DTfTestLauncherTest.java35 import com.android.tradefed.util.SystemUtil.EnvVariable;
120 mMockRunUtil.unsetEnvVariable(EnvVariable.ANDROID_HOST_OUT_TESTCASES.name()); in testRun()
121 mMockRunUtil.unsetEnvVariable(EnvVariable.ANDROID_TARGET_OUT_TESTCASES.name()); in testRun()
236 mMockRunUtil.unsetEnvVariable(EnvVariable.ANDROID_HOST_OUT_TESTCASES.name()); in testRunCoverage()
237 mMockRunUtil.unsetEnvVariable(EnvVariable.ANDROID_TARGET_OUT_TESTCASES.name()); in testRunCoverage()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationExecution.java61 import com.android.tradefed.util.SystemUtil.EnvVariable;
630 EnvVariable.ANDROID_TARGET_OUT_TESTCASES, in updateBuild()
635 EnvVariable.ANDROID_HOST_OUT_TESTCASES, in updateBuild()
642 IDeviceBuildInfo info, File testsDir, EnvVariable var, String baseName) { in handleLinkingExternalDirs()
746 File getExternalTestCasesDirs(EnvVariable envVar) { in getExternalTestCasesDirs()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DTfTestLauncher.java33 import com.android.tradefed.util.SystemUtil.EnvVariable;
185 getRunUtil().unsetEnvVariable(EnvVariable.ANDROID_HOST_OUT_TESTCASES.name()); in preRun()
186 getRunUtil().unsetEnvVariable(EnvVariable.ANDROID_TARGET_OUT_TESTCASES.name()); in preRun()
DHostTest.java40 import com.android.tradefed.util.SystemUtil.EnvVariable;
1171 String testcasesPath = System.getenv(EnvVariable.ANDROID_HOST_OUT_TESTCASES.toString()); in getJarFile()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationTest.java90 import com.android.tradefed.util.SystemUtil.EnvVariable;
1582 File getExternalTestCasesDirs(EnvVariable envVar) { in testInvoke_deviceInfoBuild_noEnv()
1660 File getExternalTestCasesDirs(EnvVariable envVar) { in testInvoke_deviceInfoBuild_withEnv()
1661 if (EnvVariable.ANDROID_TARGET_OUT_TESTCASES.equals(envVar)) { in testInvoke_deviceInfoBuild_withEnv()
1755 File getExternalTestCasesDirs(EnvVariable envVar) { in testInvoke_deviceInfoBuild_withEnv_andSkipProperty()