Home
last modified time | relevance | path

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

/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/targetprep/
DVtsPythonVirtualenvPreparerTest.java27 import com.android.tradefed.util.CommandResult;
74 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testInstallDeps_reqFile_success()
98 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testInstallDeps_depModule_success()
128 CommandResult result = new CommandResult(CommandStatus.TIMED_OUT); in testInstallDeps_reqFile_failure()
157 CommandResult result = new CommandResult(CommandStatus.TIMED_OUT); in testInstallDeps_depModule_failure()
185 private void addDefaultModuleExpectations(IRunUtil mockRunUtil, CommandResult result) { in addDefaultModuleExpectations()
202 CommandResult result = new CommandResult(); in test_initVirtualenv_creationSuccess()
224 CommandResult result = new CommandResult(CommandStatus.FAILED); in test_initVirtualenv_creationFail_Errno26_waitSucceed()
230 CommandResult nextResult = new CommandResult(CommandStatus.SUCCESS); in test_initVirtualenv_creationFail_Errno26_waitSucceed()
254 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.java67 public CommandResult runTimedCmd(final long timeout, final String... command) { in createMockRunUtil()
68 CommandResult cmdRes = new CommandResult(CommandStatus.SUCCESS); in createMockRunUtil()
92 .andReturn(new CommandResult(status)); in createMockRunUtil()
103 CommandResult commandResult = new CommandResult(); in testProcessRunSuccess()
117 CommandResult commandResult = new CommandResult(); in testProcessRunFailed()
131 CommandResult commandResult = new CommandResult(); in testProcessRunTimeout()
149 CommandResult commandResult = new CommandResult(); in testProcessRunInterrupted()
/test/vts/tools/vts-core-tradefed/tests/src/com/android/compatibility/tradefed/util/
DTargetFileUtilsTest.java24 import com.android.tradefed.util.CommandResult;
78 CommandResult commandResult = new CommandResult(CommandStatus.SUCCESS); in testFindFile()
99 CommandResult commandResult = new CommandResult(CommandStatus.FAILED); in testFindFile_w_cmd_result_fail()
114 CommandResult commandResult = new CommandResult(CommandStatus.SUCCESS); in testFindFile_w_empty_line_stdout()
/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/testcases/host/fastboot_test/src/com/android/tests/
DFastbootVerifyUserspaceTest.java28 import com.android.tradefed.util.CommandResult;
94 CommandResult result = mRunUtil.runTimedCmd(MAX_CMD_RUN_TIME, mFuzzyFastbootPath, in testFastbootdSlotOperations()
103 CommandResult result = mRunUtil.runTimedCmd(MAX_CMD_RUN_TIME, mFuzzyFastbootPath, in testLogicalPartitionCommands()
119 CommandResult result = mRunUtil.runTimedCmd(MAX_CMD_RUN_TIME, mFuzzyFastbootPath, in testFastbootReboot()
128 CommandResult result = mRunUtil.runTimedCmd(MAX_CMD_RUN_TIME, mFuzzyFastbootPath, in testLogicalPartitionFlashing()
/test/vts/harnesses/tradefed/src/com/android/tradefed/targetprep/
DVtsPythonVirtualenvPreparer.java30 import com.android.tradefed.util.CommandResult;
216 CommandResult c = getRunUtil().runTimedCmd(MINUTE_IN_MSECS, "ls", path); in dirExistsAndHaveReadAccess()
248 CommandResult c = getRunUtil().runTimedCmd(5 * MINUTE_IN_MSECS, scriptFile); in installDeps()
319 CommandResult result = getRunUtil().runTimedCmd(10 * MINUTE_IN_MSECS, getPipPath(), in installPipRequirementFile()
337 CommandResult result = getRunUtil().runTimedCmd(5 * MINUTE_IN_MSECS, getPipPath(), in installPipModuleLocally()
352 CommandResult result = in installPipModule()
446 CommandResult c = getRunUtil().runTimedCmd(mVirtualEnvInstallationWaitTime, cmd); in createVirtualenv()
632 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/util/
DVtsPythonRunnerHelper.java71 public String runPythonRunner(String[] cmd, CommandResult commandResult, long timeout) { in runPythonRunner()
97 public String runPythonRunner(String[] cmd, CommandResult commandResult, long timeout, in runPythonRunner()
101 CommandResult result; in runPythonRunner()
DVtsDashboardUtil.java166 CommandResult c = mRunUtil.runTimedCmd(BASE_TIMEOUT_MSECS * 3, in CurlUpload()
/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/tools/vts-core-tradefed/src/com/android/tradefed/testtype/binary/
DKernelTargetTest.java25 import com.android.tradefed.util.CommandResult;
53 CommandResult result, ITestInvocationListener listener, TestDescription description) { in checkCommandResult()
/test/vts/tools/vts-core-tradefed/src/com/android/tradefed/util/
DTargetFileUtils.java73 CommandResult commandResult = device.executeShellV2Command("stat -c %a " + filepath); in getPermission()
151 CommandResult result = device.executeShellV2Command(command); in findFile()
/test/vts/testcases/host/firmware_dtbo_test/src/com/android/tests/firmwaredtbo/
DFirmwareDtboVerification.java22 import com.android.tradefed.util.CommandResult;
119 CommandResult result = runUtil.runTimedCmd(timeoutMs, cmds); in testCheckDTBOPartition()
210 CommandResult cmdResult = mDevice.executeShellV2Command(cmd); in testVerifyOverlay()
/test/vts/testcases/host/firmware_test/src/com/android/tests/firmware/
DFirmwareBootHeaderVerification.java24 import com.android.tradefed.util.CommandResult;
78 CommandResult cmdResult = mDevice.executeShellV2Command("cat /proc/cmdline |" in isFullfeelPrecondition()
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/testtype/
DVtsMultiDeviceTestTest.java33 import com.android.tradefed.util.CommandResult;
188 String[] cmd, CommandResult commandResult, long testTimeout) { in createMockVtsPythonRunnerHelper()
/test/vts/harnesses/tradefed/src/com/android/tradefed/testtype/
DVtsMultiDeviceTest.java35 import com.android.tradefed.util.CommandResult;
1345 CommandResult commandResult = new CommandResult(); in doRunTest()