设备重置功能

public class DeviceResetFeature
extends Object implements IRemoteFeature , IConfigurationReceiver , ITestInformationReceiver

java.lang.Object
com.android.tradefed.device.internal.DeviceResetFeature


服务器端实现设备重置。

概括

领域

public static final String DEVICE_NAME

public static final String DEVICE_RESET_FEATURE_NAME

公共构造函数

DeviceResetFeature ()

公共方法

FeatureResponse execute (FeatureRequest request)

根据请求返回一个FeatureResponse

String getName ()

功能名称。

TestInformation getTestInformation ()
void setConfiguration ( IConfiguration configuration)

注入正在使用的IConfiguration

void setTestInformation ( TestInformation testInformation)

领域

设备名称

public static final String DEVICE_NAME

DEVICE_RESET_FEATURE_NAME

public static final String DEVICE_RESET_FEATURE_NAME

公共构造函数

设备重置功能

public DeviceResetFeature ()

公共方法

执行

public FeatureResponse execute (FeatureRequest request)

根据请求返回一个FeatureResponse

参数
request FeatureRequest

退货
FeatureResponse

获取名称

public String getName ()

功能名称。必须匹配FeatureRequest#getName()

退货
String

获取测试信息

public TestInformation getTestInformation ()

退货
TestInformation

设置配置

public void setConfiguration (IConfiguration configuration)

注入正在使用的IConfiguration

参数
configuration IConfiguration

设置测试信息

public void setTestInformation (TestInformation testInformation)

参数
testInformation TestInformation