/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/ |
D | ClusterCommandLauncherTest.java | 150 Mockito.verify(mMockRunUtil).setEnvVariable("TF_WORK_DIR", mRootDir.getAbsolutePath()); in testRun() 151 Mockito.verify(mMockRunUtil).setEnvVariable("TF_PATH", expandedTfPathValue); in testRun() 196 Mockito.verify(mMockRunUtil).setEnvVariable("TF_WORK_DIR", mRootDir.getAbsolutePath()); in testRun_withSetupScripts() 197 Mockito.verify(mMockRunUtil).setEnvVariable("TF_PATH", mTfPath.getAbsolutePath()); in testRun_withSetupScripts() 198 Mockito.verify(mMockRunUtil).setEnvVariable("BAR", "bar"); in testRun_withSetupScripts() 199 Mockito.verify(mMockRunUtil).setEnvVariable("FOO", "foo"); in testRun_withSetupScripts() 200 Mockito.verify(mMockRunUtil).setEnvVariable("ZZZ", "zzz"); in testRun_withSetupScripts() 266 Mockito.verify(mMockRunUtil).setEnvVariable("TF_WORK_DIR", mRootDir.getAbsolutePath()); in testRun_withUseSubprocessReporting() 267 Mockito.verify(mMockRunUtil).setEnvVariable("TF_PATH", tfPath.getAbsolutePath()); in testRun_withUseSubprocessReporting()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/python/ |
D | PythonBinaryHostTestTest.java | 101 mMockRunUtil.setEnvVariable(PythonBinaryHostTest.ANDROID_SERIAL_VAR, "SERIAL"); in setUp() 368 mMockRunUtil.setEnvVariable( in testRun_withSharedLibInHostTestsDir() 413 mMockRunUtil.setEnvVariable( in testRun_withSharedLib() 664 mMockRunUtil.setEnvVariable("PATH", String.format("%s:bin/", adbPath.getParent())); in expectedAdbPath()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | RunHostScriptTargetPreparerTest.java | 115 verify(mRunUtil).setEnvVariable("ANDROID_SERIAL", DEVICE_SERIAL); in testSetUp() 116 verify(mRunUtil, never()).setEnvVariable(eq("PATH"), any()); // uses default PATH in testSetUp() 170 verify(mRunUtil).setEnvVariable("PATH", expectedPath); in testSetUp_pathVariable()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/sandbox/ |
D | TradefedSandboxTest.java | 113 mMockRunUtil.setEnvVariable( in testPrepareEnvironment() 155 mMockRunUtil.setEnvVariable( in testPrepareEnvironment_dumpConfigFail() 195 mMockRunUtil.setEnvVariable( in testPrepareEnvironment_dumpConfigFail_fallback_fail()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/python/ |
D | PythonBinaryHostTest.java | 252 getRunUtil().setEnvVariable(LD_LIBRARY_PATH, mLdLibraryPath); in runSinglePythonFile() 256 .setEnvVariable(ANDROID_SERIAL_VAR, mTestInfo.getDevice().getSerialNumber()); in runSinglePythonFile() 303 getRunUtil().setEnvVariable(PATH_VAR, path); in runSinglePythonFile()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | RunUtilTest.java | 214 RunUtil.getDefault().setEnvVariable("foo", "bar"); in testSetEnvVariable_default() 450 testRunUtil.setEnvVariable(ENV_NAME, "initvalue"); in testUnsetPriority() 467 testRunUtil.setEnvVariable(ENV_NAME, expected); in testUnsetPriority_inverted()
|
D | RunUtilFuncTest.java | 162 runUtil.setEnvVariable("bar", "foo"); in testUnsetEnvVariable()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/ |
D | RunHostScriptTargetPreparer.java | 82 getRunUtil().setEnvVariable("ANDROID_SERIAL", device.getSerialNumber()); in setUp() 175 getRunUtil().setEnvVariable("PATH", path); in setPathVariable()
|
D | PythonVirtualenvPreparer.java | 138 mRunUtil.setEnvVariable(PATH, binDir + ":" + path); in activate()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/ |
D | SandboxConfigurationFactoryTest.java | 110 mMockRunUtil.setEnvVariable( in testCreateConfigurationFromArgs() 132 mMockRunUtil.setEnvVariable( in testCreateConfigurationFromArgs_fail()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | HostGTest.java | 100 runUtil.setEnvVariable("GTEST_SHARD_INDEX", Integer.toString(getShardIndex())); in executeHostGTestCommand() 101 runUtil.setEnvVariable("GTEST_TOTAL_SHARDS", Integer.toString(getShardCount())); in executeHostGTestCommand()
|
D | PythonUnitTestRunner.java | 94 runUtil.setEnvVariable(PYTHONPATH, mPythonPath); in run()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | DelegatedInvocationExecution.java | 187 runUtil.setEnvVariable( in createRunUtil() 189 runUtil.setEnvVariable("PROTO_REPORTING_PORT", Integer.toString(port)); in createRunUtil()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | TfTestLauncherTest.java | 135 mMockRunUtil.setEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE, SUB_GLOBAL_CONFIG); in testRun() 254 mMockRunUtil.setEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE, SUB_GLOBAL_CONFIG); in testRunCoverage()
|
D | NoisyDryRunTestTest.java | 260 mMockRunUtil.setEnvVariable( in testLoading_sandboxed() 321 mMockRunUtil.setEnvVariable( in testLoading_sandboxed_failed()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/mobly/ |
D | MoblyBinaryHostTest.java | 183 getRunUtil().setEnvVariable(ANDROID_SERIAL_VAR, getDevice().getSerialNumber()); in runSingleParFile() 232 getRunUtil().setEnvVariable(PATH_VAR, path); in updateAdb()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | GCSBucketUtil.java | 235 run.setEnvVariable(ENV_BOTO_PATH, mBotoPath); in getRunUtil() 239 run.setEnvVariable(ENV_BOTO_CONFIG, mBotoConfig); in getRunUtil()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | LocalAndroidVirtualDevice.java | 333 runUtil.setEnvVariable(TMPDIR, getTmpDir().getAbsolutePath()); in acloudCreate() 408 runUtil.setEnvVariable(TMPDIR, getTmpDir().getAbsolutePath()); in acloudDelete()
|
D | RemoteAndroidDevice.java | 290 runUtil.setEnvVariable("ADB_TRACE", "1"); in adbConnect()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | LocalAndroidVirtualDeviceTest.java | 226 runUtil.setEnvVariable(EasyMock.eq("TMPDIR"), EasyMock.eq(mTmpDir.getAbsolutePath())); in mockAcloudCreate() 272 runUtil.setEnvVariable(EasyMock.eq("TMPDIR"), EasyMock.eq(mTmpDir.getAbsolutePath())); in mockAcloudDelete()
|
/tools/tradefederation/core/src/com/android/tradefed/sandbox/ |
D | TradefedSandbox.java | 243 mRunUtil.setEnvVariable(TradefedSandboxRunner.DEBUG_THREAD_KEY, "true"); in prepareEnvironment() 247 mRunUtil.setEnvVariable(envEntry.getKey(), envEntry.getValue()); in prepareEnvironment()
|
D | SandboxConfigUtil.java | 69 runUtil.setEnvVariable( in dumpConfigForVersion()
|
/tools/tradefederation/core/common_util/com/android/tradefed/util/ |
D | IRunUtil.java | 79 public void setEnvVariable(String key, String value); in setEnvVariable() method
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | DeviceImageZipFlashingTargetPreparer.java | 111 runUtil.setEnvVariable(ANDROID_SERIAL_ENV, device.getSerialNumber()); in performDeviceUpdate()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/binary/ |
D | ExecutableHostTest.java | 110 runUtil.setEnvVariable(ANDROID_SERIAL, getTestInfo().getDevice().getSerialNumber()); in runBinary()
|