Home
last modified time | relevance | path

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

/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/src/com/android/tradefed/util/
DSystemUtil.java38 public enum EnvVariable { enum in SystemUtil
68 singleton.getEnv(EnvVariable.ANDROID_TARGET_OUT_TESTCASES.name()), in getExternalTestCasesDirs()
69 singleton.getEnv(EnvVariable.ANDROID_HOST_OUT_TESTCASES.name())); in getExternalTestCasesDirs()
93 public static File getExternalTestCasesDir(EnvVariable envVariable) { in getExternalTestCasesDir()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DTfTestLauncherTest.java33 import com.android.tradefed.util.SystemUtil.EnvVariable;
111 mMockRunUtil.unsetEnvVariable(EnvVariable.ANDROID_HOST_OUT_TESTCASES.name()); in testRun()
112 mMockRunUtil.unsetEnvVariable(EnvVariable.ANDROID_TARGET_OUT_TESTCASES.name()); in testRun()
219 mMockRunUtil.unsetEnvVariable(EnvVariable.ANDROID_HOST_OUT_TESTCASES.name()); in testRunCoverage()
220 mMockRunUtil.unsetEnvVariable(EnvVariable.ANDROID_TARGET_OUT_TESTCASES.name()); in testRunCoverage()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationExecution.java57 import com.android.tradefed.util.SystemUtil.EnvVariable;
525 EnvVariable.ANDROID_TARGET_OUT_TESTCASES, in updateBuild()
530 EnvVariable.ANDROID_HOST_OUT_TESTCASES, in updateBuild()
537 IDeviceBuildInfo info, File testsDir, EnvVariable var, String baseName) { in handleLinkingExternalDirs()
563 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.java39 import com.android.tradefed.util.SystemUtil.EnvVariable;
1101 String testcasesPath = System.getenv(EnvVariable.ANDROID_HOST_OUT_TESTCASES.toString()); in getJarFile()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationTest.java84 import com.android.tradefed.util.SystemUtil.EnvVariable;
1624 File getExternalTestCasesDirs(EnvVariable envVar) { in testInvoke_deviceInfoBuild_noEnv()
1692 File getExternalTestCasesDirs(EnvVariable envVar) { in testInvoke_deviceInfoBuild_withEnv()
1693 if (EnvVariable.ANDROID_TARGET_OUT_TESTCASES.equals(envVar)) { in testInvoke_deviceInfoBuild_withEnv()
1778 File getExternalTestCasesDirs(EnvVariable envVar) { in testInvoke_deviceInfoBuild_withEnv_andSkipProperty()