使用集合让一切井井有条 根据您的偏好保存内容并对其进行分类。

设备重置功能

public class DeviceResetFeature
extends Object implements IRemoteFeature , IConfigurationReceiver , ITestInformationReceiver

对象
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