2026 年より、トランク安定版開発モデルに沿ってエコシステムのプラットフォームの安定性を確保するため、第 2 四半期と第 4 四半期に AOSP にソースコードを公開します。AOSP のビルドと投稿には、android-latest-release を使用します。android-latest-release マニフェスト ブランチは、常に AOSP にプッシュされた最新のリリースを参照します。詳細については、AOSP の変更点をご覧ください。
Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
RemoteSshUtil
public
class
RemoteSshUtil
extends Object
| java.lang.Object
|
| ↳ |
com.android.tradefed.util.RemoteSshUtil
|
リモート インスタンスで ssh コマンドを実行するユーティリティ。
概要
パブリック メソッド |
static
CommandResult
|
remoteSshCommandExec(String host, String user, File sshPrivateKey, IRunUtil runUtil, long timeoutMs, String... command)
ssh を使用してリモート インスタンスでコマンドを実行します。
|
static
CommandResult
|
remoteSshCommandExec(String host, String user, File sshPrivateKey, IRunUtil runUtil, long timeoutMs, OutputStream stdout, OutputStream stderr, String... command)
ssh を使用してリモート インスタンスでコマンドを実行します。
|
パブリック コンストラクタ
RemoteSshUtil
public RemoteSshUtil ()
パブリック メソッド
remoteSshCommandExec
public static CommandResult remoteSshCommandExec (String host,
String user,
File sshPrivateKey,
IRunUtil runUtil,
long timeoutMs,
String... command)
ssh を使用してリモート インスタンスでコマンドを実行します。
| パラメータ |
host |
String |
user |
String |
sshPrivateKey |
File |
runUtil |
IRunUtil: コマンドを実行する IRunUtil。 |
timeoutMs |
long: フェッチが完了するまでの時間(ミリ秒単位) |
command |
String: 実行されるコマンド。 |
remoteSshCommandExec
public static CommandResult remoteSshCommandExec (String host,
String user,
File sshPrivateKey,
IRunUtil runUtil,
long timeoutMs,
OutputStream stdout,
OutputStream stderr,
String... command)
ssh を使用してリモート インスタンスでコマンドを実行します。
| パラメータ |
host |
String |
user |
String |
sshPrivateKey |
File |
runUtil |
IRunUtil: コマンドを実行する IRunUtil。 |
timeoutMs |
long: フェッチが完了するまでの時間(ミリ秒単位) |
stdout |
OutputStream: stdout がロギングされる OutputStream。 |
stderr |
OutputStream: stderr がロギングされる OutputStream。 |
command |
String: 実行されるコマンド。 |
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2026-06-22 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2026-06-22 UTC。"],[],[]]