Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DSystemUtilTest.java22 import com.android.tradefed.util.SystemUtil.EnvVariable;
50 SystemUtil.singleton = Mockito.mock(SystemUtil.class); in testGetExternalTestCasesDirs()
52 SystemUtil.singleton.getEnv( in testGetExternalTestCasesDirs()
55 Mockito.when(SystemUtil.singleton.getEnv(EnvVariable.ANDROID_HOST_OUT_TESTCASES.name())) in testGetExternalTestCasesDirs()
58 List<File> testCasesDirs = new ArrayList<File>(SystemUtil.getExternalTestCasesDirs()); in testGetExternalTestCasesDirs()
75 SystemUtil.singleton = Mockito.mock(SystemUtil.class); in testGetExternalTestCasesDirsNoDir()
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()
80 List<File> testCasesDirs = new ArrayList<File>(SystemUtil.getExternalTestCasesDirs()); in testGetExternalTestCasesDirsNoDir()
87 assertNotNull(SystemUtil.getRunningJavaBinaryPath()); in testGetRunningJavaBinaryPath()
/tools/tradefederation/core/src/com/android/tradefed/util/
DSystemUtil.java34 public class SystemUtil { class
36 @VisibleForTesting static SystemUtil singleton = new SystemUtil();
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/
DClusterCommandLauncherTest.java36 import com.android.tradefed.util.SystemUtil;
155 SystemUtil.getRunningJavaBinaryPath().getAbsolutePath(), in testRun()
211 SystemUtil.getRunningJavaBinaryPath().getAbsolutePath(), in testRun_withSetupScripts()
261 SystemUtil.getRunningJavaBinaryPath().getAbsolutePath(), in testRun_withUseSubprocessReporting()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DSandboxConfigUtil.java28 import com.android.tradefed.util.SystemUtil;
79 mCmdArgs.add(SystemUtil.getRunningJavaBinaryPath().getAbsolutePath()); in dumpConfigForVersion()
/tools/tradefederation/core/src/com/android/tradefed/result/
DLogSaverResultForwarder.java25 import com.android.tradefed.util.SystemUtil;
88 if (SystemUtil.isRemoteEnvironment()) { in reportEndHostLog()
/tools/tradefederation/core/src/com/android/tradefed/device/
DManagedTestDeviceFactory.java33 import com.android.tradefed.util.SystemUtil;
204 return SystemUtil.isRemoteEnvironment(); in isRemoteEnvironment()
/tools/tradefederation/core/src/com/android/tradefed/build/
DLocalDeviceBuildProvider.java25 import com.android.tradefed.util.SystemUtil;
53 private File mBuildDir = SystemUtil.getProductOutputDir();
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterCommandLauncher.java45 import com.android.tradefed.util.SystemUtil;
280 cmdArgs.add(SystemUtil.getRunningJavaBinaryPath().getAbsolutePath()); in buildJavaCommandArgs()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DSubprocessTfLauncher.java45 import com.android.tradefed.util.SystemUtil;
236 mCmdArgs.add(SystemUtil.getRunningJavaBinaryPath().getAbsolutePath()); in preRun()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DIsolatedHostTest.java36 import com.android.tradefed.util.SystemUtil;
144 SystemUtil.getRunningJavaBinaryPath().getAbsolutePath(), in run()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationExecution.java75 import com.android.tradefed.util.SystemUtil;
76 import com.android.tradefed.util.SystemUtil.EnvVariable;
823 String path = SystemUtil.ENV_VARIABLE_PATHS_IN_TESTS_DIR.get(var);
922 return SystemUtil.getExternalTestCasesDir(envVar);
DRemoteInvocationExecution.java59 import com.android.tradefed.util.SystemUtil;
323 tfCmdBuilder.append(" " + SystemUtil.REMOTE_VM_VARIABLE + "=1"); in runRemote()
/tools/tradefederation/core/src/com/android/tradefed/config/
DConfigurationFactory.java28 import com.android.tradefed.util.SystemUtil;
206 return SystemUtil.getExternalTestCasesDirs(); in getExternalTestCasesDirs()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DTfTestLauncherTest.java39 import com.android.tradefed.util.SystemUtil.EnvVariable;
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationTest.java97 import com.android.tradefed.util.SystemUtil.EnvVariable;
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...