StubLocalAndroid虚拟设备
public class StubLocalAndroidVirtualDevice
extends TcpDevice
implements IConfigurableVirtualDevice
java.lang.Object | |||
↳ | com.android.tradefed.device.StubDevice | ||
↳ | com.android.tradefed.device.TcpDevice | ||
↳ | com.android.tradefed.device.StubLocalAndroidVirtualDevice |
当DeviceSelectionOptions.localVirtualDeviceRequested()
为true
时, DeviceManager
使用的占位符IDevice
进行分配
概括
公共构造函数 | |
---|---|
StubLocalAndroidVirtualDevice (String serial, int offset) |
公共方法 | |
---|---|
Integer | getDeviceNumOffset () 如果可用,则返回已知的设备编号偏移;如果未设置设备编号偏移,则返回 null。 |
公共构造函数
StubLocalAndroid虚拟设备
public StubLocalAndroidVirtualDevice (String serial, int offset)
参数 | |
---|---|
serial | String |
offset | int |
公共方法
获取设备编号偏移量
public Integer getDeviceNumOffset ()
如果可用,则返回已知的设备编号偏移;如果未设置设备编号偏移,则返回 null。
退货 | |
---|---|
Integer |