设备重置功能
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) 根据请求返回一个 |
String | getName () 特征的名称。 |
TestInformation | getTestInformation () |
void | setConfiguration ( IConfiguration configuration) 注入正在使用的 |
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 void setConfiguration (IConfiguration configuration)
注入正在使用的IConfiguration
。
参数 | |
---|---|
configuration | IConfiguration |
设置测试信息
public void setTestInformation (TestInformation testInformation)
参数 | |
---|---|
testInformation | TestInformation |