RunConfigDeviceRecovery

public class RunConfigDeviceRecovery
extends Object implements IMultiDeviceRecovery

java.lang.Object
com.android.tradefed.device.recovery.RunConfigDeviceRecovery


回復手順を実行するために Tradefed 構成を実行するための汎用ベースIMultiDeviceRecovery

まとめ

パブリック コンストラクター

RunConfigDeviceRecovery ()

公開メソッド

getExtraArguments ( ITestDevice device)

構成に渡される追加の引数のリストを取得します。

void recoverDevices ( managedDevices) recoverDevices ( managedDevices)

ホスト上のオフライン デバイスを回復します。

boolean shouldSkip ( IManagedTestDevice device)

追加のチェックを行うことで、特定のデバイスの回復をスキップする可能性が高くなります。

保護されたメソッド

ICommandScheduler getCommandScheduler ()

ICommandSchedulerインスタンスを返します。

IDeviceManager getDeviceManager ()

IDeviceManagerインスタンスを返します。

パブリック コンストラクター

RunConfigDeviceRecovery

public RunConfigDeviceRecovery ()

公開メソッド

getExtraArguments

public  getExtraArguments (ITestDevice device)

構成に渡される追加の引数のリストを取得します。 null が返された場合は、何か問題が発生したため、回復を試みる必要があります。

パラメーター
device ITestDevice : リカバリを実行するITestDevice

戻り値
使用する追加の引数のリスト。何か問題が発生した場合は null。

回復デバイス

public void recoverDevices ( managedDevices)

ホスト上のオフライン デバイスを回復します。

パラメーター
managedDevices : ITestDeviceのリスト。

スキップする必要があります

public boolean shouldSkip (IManagedTestDevice device)

追加のチェックを行うことで、特定のデバイスの回復をスキップする可能性が高くなります。

パラメーター
device IManagedTestDevice : 回復対象と見なされるIManagedTestDevice

戻り値
booleanリカバリをスキップする必要がある場合は true。

保護されたメソッド

getCommandScheduler

protected ICommandScheduler getCommandScheduler ()

ICommandSchedulerインスタンスを返します。テストのために公開。

戻り値
ICommandScheduler

getDeviceManager

protected IDeviceManager getDeviceManager ()

IDeviceManagerインスタンスを返します。テストのために公開。

戻り値
IDeviceManager