AdbUtils
public
class
AdbUtils
extends Object
| java.lang.Object | |
| ↳ | com.android.tradefed.util.AdbUtils |
adb オペレーション用のユーティリティ クラス。
概要
パブリック コンストラクタ | |
|---|---|
AdbUtils()
|
|
パブリック メソッド | |
|---|---|
static
File
|
getAdbToUpdate(TestInformation testInfo, String adbPath)
PATH に設定する必要がある、テスト情報に設定された特別な adb を取得します。 |
static
void
|
updateAdb(TestInformation testInfo, IRunUtil runUtil, String adbPath)
特別な adb バージョンが使用されている場合は $PATH を更新します。 |
パブリック コンストラクタ
AdbUtils
public AdbUtils ()
パブリック メソッド
getAdbToUpdate
public static File getAdbToUpdate (TestInformation testInfo, String adbPath)
PATH に設定する必要がある、テスト情報に設定された特別な adb を取得します。
| パラメータ | |
|---|---|
testInfo |
TestInformation: TestInformation オブジェクト。 |
adbPath |
String: adb バイナリのパス。 |
| 戻り値 | |
|---|---|
File |
PATH に設定する adb。 |
updateAdb
public static void updateAdb (TestInformation testInfo, IRunUtil runUtil, String adbPath)
特別な adb バージョンが使用されている場合は $PATH を更新します。
| パラメータ | |
|---|---|
testInfo |
TestInformation: TestInformation オブジェクト。 |
runUtil |
IRunUtil: システム コマンドの実行に使用される IRunUtil オブジェクト。 |
adbPath |
String: adb バイナリのパス。 |