空设备

public class NullDevice
extends StubDevice

java.lang.Object
com.android.tradefed.device.StubDevice
com.android.tradefed.device.NullDevice


IDeviceSelection#nullDeviceRequested()true时, DeviceManager使用的占位符IDevice进行分配

概括

领域

public static final String TEMP_NULL_DEVICE_PREFIX

自动创建的空设备的命名模式

公共构造函数

NullDevice (String serial)
NullDevice (String serial, boolean isTemporary)

公共方法

final boolean isTemporary ()

如果设备是为调用临时创建的并且应在之后删除,则返回 true。

领域

TEMP_NULL_DEVICE_PREFIX

public static final String TEMP_NULL_DEVICE_PREFIX

自动创建的空设备的命名模式

公共构造函数

空设备

public NullDevice (String serial)

参数
serial String

空设备

public NullDevice (String serial, 
                boolean isTemporary)

参数
serial String

isTemporary boolean

公共方法

是临时的

public final boolean isTemporary ()

如果设备是为调用临时创建的并且应在之后删除,则返回 true。

退货
boolean