/test/vts/drivers/shell/ |
ShellDriver.h | 29 struct CommandResult { 72 * Execute a shell command using popen and return a CommandResult object. 74 CommandResult* ExecShellCommandPopen(const string& command); 77 * Execute a shell command using nohup and return a CommandResult object. 79 CommandResult* ExecShellCommandNohup(const string& command);
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
CommandResult.java | 22 public class CommandResult { 29 * Create a {@link CommandResult} with the default {@link CommandStatus#TIMED_OUT} status. 31 public CommandResult() { 35 * Create a {@link CommandResult} with the given status. 39 public CommandResult(CommandStatus status) {
|
IRunUtil.java | 85 * @return a {@link CommandResult} containing result from command run 87 public CommandResult runTimedCmd(final long timeout, final String... command); 98 * @return a {@link CommandResult} containing result from command run 100 public CommandResult runTimedCmd( 111 * @return a {@link CommandResult} containing result from command run 113 public CommandResult runTimedCmdRetry(final long timeout, long retryInterval, 123 * @return a {@link CommandResult} containing result from command run 125 public CommandResult runTimedCmdSilently(final long timeout, final String... command); 136 * @return a {@link CommandResult} containing result from command run 138 public CommandResult runTimedCmdSilentlyRetry(final long timeout, long retryInterval [all...] |
GCSBucketUtil.java | 130 CommandResult res = getRunUtil() 147 * @return {@link CommandResult} result of the operation. 149 public CommandResult copy(String source, String dest) throws IOException { 177 CommandResult res = run 257 * @return {@link CommandResult} result of the operation. 260 public CommandResult makeBucket(String projectId) throws IOException { 275 CommandResult res = getRunUtil() 296 * @return {@link CommandResult} result of the operation. 298 public CommandResult pull(Path bucketPath) throws IOException { 307 * @return {@link CommandResult} result of the operation [all...] |
/hardware/interfaces/boot/1.0/ |
types.hal | 23 struct CommandResult {
|
IBootControl.hal | 58 markBootSuccessful() generates (CommandResult error); 66 setActiveBootSlot(Slot slot) generates (CommandResult error); 74 setSlotAsUnbootable(Slot slot) generates (CommandResult error);
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
RemoteAndroidDeviceTest.java | 19 import com.android.tradefed.util.CommandResult; 76 CommandResult adbResult = new CommandResult(); 79 CommandResult adbResultConfirmation = new CommandResult(); 96 CommandResult adbResult = new CommandResult(); 114 CommandResult adbResult = new CommandResult(); 130 CommandResult adbResult = new CommandResult() [all...] |
AndroidDebugBridgeWrapperTest.java | 20 import com.android.tradefed.util.CommandResult; 52 CommandResult res = new CommandResult(); 68 CommandResult res = new CommandResult(); 87 CommandResult res = new CommandResult(); 103 CommandResult res = new CommandResult(); 119 CommandResult res = new CommandResult() [all...] |
FastbootHelperTest.java | 19 import com.android.tradefed.util.CommandResult; 112 CommandResult fakeRes = new CommandResult(CommandStatus.FAILED); 125 CommandResult fakeRes = new CommandResult(CommandStatus.FAILED); 138 CommandResult fakeRes = new CommandResult(CommandStatus.FAILED); 157 CommandResult fakeRes = new CommandResult(CommandStatus.SUCCESS); 170 CommandResult fakeRes = new CommandResult(CommandStatus.FAILED) [all...] |
/tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/ |
CommandResult.java | 25 class CommandResult { 40 CommandResult(Status status, String errorDetails, FreeDeviceState state, 48 public CommandResult(Status status) {
|
GetLastCommandResultOp.java | 20 import com.android.tradefed.command.remote.CommandResult.Status; 32 class GetLastCommandResultOp extends RemoteOperation<CommandResult> { 80 protected CommandResult unpackResponseFromJson(JSONObject json) throws JSONException { 85 status = CommandResult.Status.valueOf(statusString); 113 return new CommandResult(status, errorDetails, state, runMetricsMap); 119 protected void packResponseIntoJson(CommandResult commandResult, JSONObject json) 121 json.put(STATUS, commandResult.getStatus().name()); 122 if (commandResult.getInvocationErrorDetails() != null) { 123 json.put(INVOCATION_ERROR, commandResult.getInvocationErrorDetails()) [all...] |
/tools/tradefederation/core/src/com/android/tradefed/command/remote/ |
ExecCommandTracker.java | 34 private CommandResult.Status mStatus = CommandResult.Status.EXECUTING; 54 mStatus = CommandResult.Status.INVOCATION_ERROR; 56 mStatus = CommandResult.Status.INVOCATION_SUCCESS; 66 * Returns the current state as a {@link com.android.tradefed.command.remote.CommandResult}. 68 CommandResult getCommandResult() { 69 return new CommandResult(
|
/build/kati/ |
func.h | 53 struct CommandResult { 62 const vector<CommandResult*>& GetShellCommandResults();
|
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/targetprep/ |
VtsPythonVirtualenvPreparerTest.java | 26 import com.android.tradefed.util.CommandResult; 68 CommandResult result = new CommandResult(CommandStatus.SUCCESS); 91 CommandResult result = new CommandResult(CommandStatus.SUCCESS); 113 CommandResult result = new CommandResult(CommandStatus.TIMED_OUT); 138 CommandResult result = new CommandResult(CommandStatus.TIMED_OUT); 160 private void addDefaultModuleExpectations(IRunUtil mockRunUtil, CommandResult result) [all...] |
/tools/tradefederation/core/tests/src/com/android/tradefed/config/ |
SandboxConfigurationFactoryTest.java | 28 import com.android.tradefed.util.CommandResult; 73 private void expectDumpCmd(CommandResult res) { 85 new IAnswer<CommandResult>() { 87 public CommandResult answer() throws Throwable { 109 CommandResult results = new CommandResult(); 130 CommandResult results = new CommandResult();
|
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/util/ |
VtsPythonRunnerHelperTest.java | 25 import com.android.tradefed.util.CommandResult; 110 private IRunUtil createMockRunUtil(CommandResult result) { 126 CommandResult commandResult = new CommandResult(); 129 mVtsPythonRunnerHelper.runPythonRunner(mPythonCmd, commandResult, mTestTimeout); 131 assertEquals(commandResult.getStatus(), CommandStatus.SUCCESS); 136 CommandResult commandResult = new CommandResult(); [all...] |
/tools/tradefederation/core/tests/src/com/android/tradefed/build/ |
SdkBuildInfoTest.java | 18 import com.android.tradefed.util.CommandResult; 54 CommandResult result = new CommandResult();
|
/tools/tradefederation/core/tests/src/com/android/tradefed/sandbox/ |
SandboxConfigUtilTest.java | 25 import com.android.tradefed.util.CommandResult; 64 CommandResult result = new CommandResult(); 88 CommandResult result = new CommandResult();
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
PythonUnitTestRunnerTest.java | 26 import com.android.tradefed.util.CommandResult; 119 public CommandResult getCommandResult() { 120 CommandResult cr = new CommandResult(); 138 CommandResult c = new CommandResult(); 145 CommandResult c = new CommandResult(); 158 CommandResult c = new CommandResult(); [all...] |
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
PreloadedClassesPreparerTest.java | 24 import com.android.tradefed.util.CommandResult; 75 CommandResult result = new CommandResult(); 103 CommandResult result = new CommandResult(); 123 CommandResult result = new CommandResult();
|
/hardware/interfaces/boot/1.0/vts/functional/ |
VtsHalBootV1_0TargetTest.cpp | 30 using ::android::hardware::boot::V1_0::CommandResult; 66 auto generate_callback(CommandResult *dest) { 67 return [=](CommandResult cr) { *dest = cr; }; 85 CommandResult cr; 98 CommandResult cr; 104 CommandResult cr; 110 CommandResult cr; 122 CommandResult cr; 144 CommandResult cr; 177 CommandResult cr [all...] |
/system/update_engine/ |
boot_control_android.cc | 32 using android::hardware::boot::V1_0::CommandResult; 37 auto StoreResultCallback(CommandResult* dest) { 38 return [dest](const CommandResult& result) { *dest = result; }; 147 CommandResult result; 163 CommandResult result; 179 CommandResult result;
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
DeviceWiper.java | 25 import com.android.tradefed.util.CommandResult; 55 CommandResult r = device.executeLongFastbootCommand("-w"); 70 CommandResult r = device.executeLongFastbootCommand(op, partition);
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
FastbootHelper.java | 20 import com.android.tradefed.util.CommandResult; 62 CommandResult fastbootResult = mRunUtil.runTimedCmdSilently(5000, mFastbootPath, "help"); 84 CommandResult fastbootResult = 122 final CommandResult fastbootResult = mRunUtil.runTimedCmd(FASTBOOT_CMD_TIMEOUT,
|
/development/gsi/gsi_util/gsi_util/utils/ |
cmd_utils.py | 23 CommandResult = namedtuple('CommandResult', 'returncode stdoutdata, stderrdata') 45 A namedtuple CommandResult(returncode, stdoutdata, stderrdata). 90 return CommandResult(proc.returncode,
|