Home
last modified time | relevance | path

Searched refs:CommandResult (Results 1 – 12 of 12) sorted by relevance

/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/targetprep/
DVtsPythonVirtualenvPreparerTest.java27 import com.android.tradefed.util.CommandResult;
164 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testInstallDeps_reqFile_success()
188 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testInstallDeps_depModule_success()
218 CommandResult result = new CommandResult(CommandStatus.TIMED_OUT); in testInstallDeps_reqFile_failure()
244 CommandResult result = new CommandResult(CommandStatus.TIMED_OUT); in testInstallDeps_depModule_failure()
269 private void addDefaultModuleExpectations(IRunUtil mockRunUtil, CommandResult result) { in addDefaultModuleExpectations()
286 CommandResult result = new CommandResult(); in test_initVirtualenv_creationSuccess()
306 CommandResult result = new CommandResult(); in test_initVirtualenv_creationSuccess_completionFail()
331 CommandResult result = new CommandResult(); in test_initVirtualenv_creationFail_Errno26_waitSucceed()
352 CommandResult result = new CommandResult(); in test_initVirtualenv_creationFail_Errno26_waitFailed()
[all …]
DVtsCoveragePreparerTest.java35 import com.android.tradefed.util.CommandResult;
109 CommandResult commandResult = new CommandResult(); in setUp()
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/util/
DVtsPythonRunnerHelperTest.java110 public CommandResult runTimedCmd(final long timeout, final String... command) {
111 CommandResult cmdRes = new CommandResult(CommandStatus.SUCCESS);
130 CommandResult commandResult = new CommandResult();
140 CommandResult commandResult = new CommandResult();
150 CommandResult commandResult = new CommandResult();
160 CommandResult commandResult = new CommandResult();
/test/vts/drivers/shell/
DShellDriver.cpp53 CommandResult* VtsShellDriver::ExecShellCommandPopen(const string& command) { in ExecShellCommandPopen()
54 CommandResult* result = new CommandResult(); in ExecShellCommandPopen()
91 CommandResult* VtsShellDriver::ExecShellCommandNohup(const string& command) { in ExecShellCommandNohup()
92 CommandResult* result = new CommandResult(); in ExecShellCommandNohup()
139 CommandResult* result = this->ExecShellCommandNohup(command); in ExecShellCommand()
DShellDriver.h29 struct CommandResult { struct
74 CommandResult* ExecShellCommandPopen(const string& command);
79 CommandResult* ExecShellCommandNohup(const string& command);
/test/vts/harnesses/tradefed/src/com/android/tradefed/targetprep/
DVtsPythonVirtualenvPreparer.java29 import com.android.tradefed.util.CommandResult;
212 CommandResult c = getRunUtil().runTimedCmd(MINUTE_IN_MSECS, "ls", path); in dirExistsAndHaveReadAccess()
244 CommandResult c = getRunUtil().runTimedCmd(5 * MINUTE_IN_MSECS, scriptFile); in installDeps()
315 CommandResult result = getRunUtil().runTimedCmd(10 * MINUTE_IN_MSECS, getPipPath(), in installPipRequirementFile()
333 CommandResult result = getRunUtil().runTimedCmd(5 * MINUTE_IN_MSECS, getPipPath(), in installPipModuleLocally()
348 CommandResult result = in installPipModule()
474 CommandResult c = getRunUtil().runTimedCmd(3 * MINUTE_IN_MSECS, cmd); in createVirtualenv()
719 CommandResult res = getRunUtil().runTimedCmd(30 * SECOND_IN_MSECS, getPipPath(), "list");
DVtsCoveragePreparer.java28 import com.android.tradefed.util.CommandResult;
158 CommandResult commandResult = mRunUtil.runTimedCmd(BASE_TIMEOUT, cmd); in setUp()
175 CommandResult commandResult = mRunUtil.runTimedCmd(BASE_TIMEOUT, cmd); in setUp()
187 CommandResult commandResult = mRunUtil.runTimedCmd(BASE_TIMEOUT, cmd); in setUp()
/test/vts/harnesses/tradefed/src/com/android/tradefed/device/metric/
DVtsCoverageCollector.java28 import com.android.tradefed.util.CommandResult;
97 CommandResult commandResult = new CommandResult(); in onTestRunEnd()
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/testtype/
DVtsMultiDeviceTestTest.java31 import com.android.tradefed.util.CommandResult;
188 String[] cmd, CommandResult commandResult, long testTimeout) { in createMockVtsPythonRunnerHelper()
/test/vts/harnesses/tradefed/src/com/android/tradefed/util/
DVtsPythonRunnerHelper.java76 public String runPythonRunner(String[] cmd, CommandResult commandResult, long timeout) { in runPythonRunner()
DVtsDashboardUtil.java170 CommandResult c = mRunUtil.runTimedCmd(BASE_TIMEOUT_MSECS * 3, in CurlUpload()
/test/vts/harnesses/tradefed/src/com/android/tradefed/testtype/
DVtsMultiDeviceTest.java34 import com.android.tradefed.util.CommandResult;
1347 CommandResult commandResult = new CommandResult(); in doRunTest()