2025 年 3 月 27 日より、AOSP のビルドとコントリビューションには aosp-main
ではなく android-latest-release
を使用することをおすすめします。詳細については、AOSP の変更をご覧ください。
RemoteSshUtil
public
class
RemoteSshUtil
extends Object
java.lang.Object
|
↳ |
com.android.tradefed.device.cloud.RemoteSshUtil
|
リモート インスタンスで ssh コマンドを実行するユーティリティ。
概要
パブリック メソッド |
static
CommandResult
|
remoteSshCommandExec(GceAvdInfo remoteInstance, TestDeviceOptions options, IRunUtil runUtil, long timeoutMs, OutputStream stdout, OutputStream stderr, String... command)
ssh を使用してリモート インスタンスでコマンドを実行します。
|
static
CommandResult
|
remoteSshCommandExec(GceAvdInfo remoteInstance, TestDeviceOptions options, IRunUtil runUtil, long timeoutMs, String... command)
ssh を使用してリモート インスタンスでコマンドを実行します。
|
パブリック コンストラクタ
RemoteSshUtil
public RemoteSshUtil ()
パブリック メソッド
remoteSshCommandExec
public static CommandResult remoteSshCommandExec (GceAvdInfo remoteInstance,
TestDeviceOptions options,
IRunUtil runUtil,
long timeoutMs,
OutputStream stdout,
OutputStream stderr,
String... command)
ssh を使用してリモート インスタンスでコマンドを実行します。
remoteSshCommandExec
public static CommandResult remoteSshCommandExec (GceAvdInfo remoteInstance,
TestDeviceOptions options,
IRunUtil runUtil,
long timeoutMs,
String... command)
ssh を使用してリモート インスタンスでコマンドを実行します。
パラメータ |
remoteInstance |
GceAvdInfo : デバイスを記述する GceAvdInfo 。 |
options |
TestDeviceOptions : GCE デバイスに使用するデバイス オプションを記述する TestDeviceOptions 。 |
runUtil |
IRunUtil : コマンドを実行する IRunUtil 。 |
timeoutMs |
long : 取得が完了するまでの時間(ミリ秒単位) |
command |
String : 実行するコマンド。 |
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2025-03-26 UTC。
[null,null,["最終更新日 2025-03-26 UTC。"],[],[]]