Home
last modified time | relevance | path

Searched refs:SystemUtil (Results 1 – 9 of 9) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DSystemUtilTest.java21 import com.android.tradefed.util.SystemUtil.EnvVariable;
49 SystemUtil.singleton = Mockito.mock(SystemUtil.class); in testGetExternalTestCasesDirs()
51 SystemUtil.singleton.getEnv( in testGetExternalTestCasesDirs()
54 Mockito.when(SystemUtil.singleton.getEnv(EnvVariable.ANDROID_HOST_OUT_TESTCASES.name())) in testGetExternalTestCasesDirs()
57 List<File> testCasesDirs = new ArrayList<File>(SystemUtil.getExternalTestCasesDirs()); in testGetExternalTestCasesDirs()
74 SystemUtil.singleton = Mockito.mock(SystemUtil.class); in testGetExternalTestCasesDirsNoDir()
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()
79 List<File> testCasesDirs = new ArrayList<File>(SystemUtil.getExternalTestCasesDirs()); in testGetExternalTestCasesDirsNoDir()
/tools/tradefederation/core/src/com/android/tradefed/util/
DSystemUtil.java32 public class SystemUtil { class
34 @VisibleForTesting static SystemUtil singleton = new SystemUtil();
/tools/tradefederation/core/src/com/android/tradefed/build/
DLocalDeviceBuildProvider.java24 import com.android.tradefed.util.SystemUtil;
52 private File mBuildDir = SystemUtil.getProductOutputDir();
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationExecution.java56 import com.android.tradefed.util.SystemUtil;
57 import com.android.tradefed.util.SystemUtil.EnvVariable;
564 return SystemUtil.getExternalTestCasesDir(envVar); in getExternalTestCasesDirs()
/tools/tradefederation/core/src/com/android/tradefed/config/
DConfigurationFactory.java27 import com.android.tradefed.util.SystemUtil;
197 return SystemUtil.getExternalTestCasesDirs(); in getExternalTestCasesDirs()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DTfTestLauncherTest.java33 import com.android.tradefed.util.SystemUtil.EnvVariable;
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DTfTestLauncher.java33 import com.android.tradefed.util.SystemUtil.EnvVariable;
DHostTest.java39 import com.android.tradefed.util.SystemUtil.EnvVariable;
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationTest.java84 import com.android.tradefed.util.SystemUtil.EnvVariable;