ManagedRemoteDevice

public class ManagedRemoteDevice
extends TestDevice implements ITestLoggerReceiver

java.lang.Object
   ↳ com.android.tradefed.device.NativeDevice
     ↳ com.android.tradefed.device.TestDevice
       ↳ com.android.tradefed.device.cloud.ManagedRemoteDevice


VM 内の Tradefed インスタンスを介してリモートで管理する仮想マシン内で実行されるデバイス。

概要

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

ManagedRemoteDevice(IDevice device, IDeviceStateMonitor stateMonitor, IDeviceMonitor allocationMonitor)

ManagedRemoteDevice を作成します。

パブリック メソッド

void postInvocationTearDown(Throwable exception)

呼び出しの完了後に実行される、デバイス固有の必須クリーンアップの追加手順。

void preInvocationSetup(IBuildInfo info, MultiMap<String, String> attributes)

呼び出しフローの前にデバイスで実行される、デバイス固有の必須セットアップの追加手順。

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

ManagedRemoteDevice

public ManagedRemoteDevice (IDevice device, 
                IDeviceStateMonitor stateMonitor, 
                IDeviceMonitor allocationMonitor)

ManagedRemoteDevice を作成します。

パラメータ
device IDevice: 関連付けられた IDevice

stateMonitor IDeviceStateMonitor: 使用する IDeviceStateMonitor メカニズム

allocationMonitor IDeviceMonitor: 割り当て状態の変更を通知する IDeviceMonitor

パブリック メソッド

postInvocationTearDown

public void postInvocationTearDown (Throwable exception)

呼び出しの完了後に実行される、デバイス固有の必須クリーンアップの追加ステップ。

パラメータ
exception Throwable: 呼び出しの失敗によって発生した最終的な例外(ある場合)。

preInvocationSetup

public void preInvocationSetup (IBuildInfo info, 
                MultiMap<String, String> attributes)

呼び出しフローの前にデバイスで実行される、デバイス固有の必須設定の追加手順。

パラメータ
info IBuildInfo: デバイスの IBuildInfo

attributes MultiMap: 呼び出しコンテキストに保存されている属性

例外
DeviceNotAvailableException
TargetSetupError