Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public virtual async Task<IReadOnlyList<AdbDeviceInfo>> ListDevicesAsync (Cancel
var psi = ProcessUtils.CreateProcessStartInfo (adbPath, "devices", "-l");
var exitCode = await ProcessUtils.StartProcess (psi, stdout, stderr, cancellationToken, environmentVariables).ConfigureAwait (false);

ProcessUtils.ThrowIfFailed (exitCode, "adb devices -l", stderr);
ProcessUtils.ThrowIfFailed (exitCode, "adb devices -l", stderr, stdout);

var devices = ParseAdbDevicesOutput (stdout.ToString ().Split ('\n'));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public async Task<IReadOnlyList<AvdInfo>> ListAvdsAsync (CancellationToken cance
logger.Invoke (TraceLevel.Verbose, "Running: avdmanager list avd");
var exitCode = await ProcessUtils.StartProcess (psi, stdout, stderr, cancellationToken, environmentVariables).ConfigureAwait (false);

ProcessUtils.ThrowIfFailed (exitCode, "avdmanager list avd", stderr);
ProcessUtils.ThrowIfFailed (exitCode, "avdmanager list avd", stderr, stdout);

return ParseAvdListOutput (stdout.ToString ());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public async Task<IReadOnlyList<string>> ListAvdNamesAsync (CancellationToken ca

logger.Invoke (TraceLevel.Verbose, "Running: emulator -list-avds");
var exitCode = await ProcessUtils.StartProcess (psi, stdout, stderr, cancellationToken, environmentVariables).ConfigureAwait (false);
ProcessUtils.ThrowIfFailed (exitCode, "emulator -list-avds", stderr);
ProcessUtils.ThrowIfFailed (exitCode, "emulator -list-avds", stderr, stdout);

return ParseListAvdsOutput (stdout.ToString ());
}
Expand Down