Google 致力于为黑人社区推动种族平等。查看具体举措
此页面由 Cloud Translation API 翻译。
Switch to English

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

公开方法

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 IDeviceMonitorIDeviceMonitor通知分配状态更改。

公开方法

resetVirtualDevice

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

拆除并还原虚拟设备,以便可以进行测试。

参量
logger ITestLogger

info IBuildInfo

resetDueToFailure boolean

退货
boolean

投掷
DeviceNotAvailableException