NestedRemoteDevice

public class NestedRemoteDevice
extends TestDevice

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


リモート Cuttlefish VM 内で実行されているデバイスの表現。設定を活用するために、ローカル デバイスの TestDevice の動作が変更される場合があります。

概要

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

NestedRemoteDevice(IDevice device, IDeviceStateMonitor stateMonitor, IDeviceMonitor allocationMonitor)

NestedRemoteDevice を作成します。

パブリック メソッド

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

final boolean resetVirtualDevice(ITestLogger logger, IBuildInfo info, boolean resetDueToFailure)

テストを続行できるように、仮想デバイスを解体して復元します。

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

NestedRemoteDevice

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

NestedRemoteDevice を作成します。

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

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

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

パブリック メソッド

preInvocationSetup

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

パラメータ
info IBuildInfo

attributes MultiMap

例外
DeviceNotAvailableException
TargetSetupError

resetVirtualDevice

public final boolean resetVirtualDevice (ITestLogger logger, 
                IBuildInfo info, 
                boolean resetDueToFailure)

テストを続行できるように、仮想デバイスを解体して復元します。

パラメータ
logger ITestLogger

info IBuildInfo

resetDueToFailure boolean

戻り値
boolean

例外
DeviceNotAvailableException