Tính năng Đặt lại thiết bị
public class DeviceResetFeature
extends Object
implements IRemoteFeature , IConfigurationReceiver , ITestInformationReceiver
java.lang.Object | |
↳ | com.android.tradefed.device.internal.DeviceResetFeature |
Phía máy chủ triển khai thiết lập lại thiết bị.
Bản tóm tắt
Lĩnh vực | |
---|---|
public static final String | DEVICE_NAME |
public static final String | DEVICE_RESET_FEATURE_NAME
|
nhà thầu công cộng | |
---|---|
DeviceResetFeature () |
Phương thức công khai | |
---|---|
FeatureResponse | execute (FeatureRequest request) Trả về một |
String | getName () Tên của tính năng. |
TestInformation | getTestInformation () |
void | setConfiguration ( IConfiguration configuration) Tiêm |
void | setTestInformation ( TestInformation testInformation) |
Lĩnh vực
TÊN THIẾT BỊ
public static final String DEVICE_NAME
DEVICE_RESET_FEATURE_NAME
public static final String DEVICE_RESET_FEATURE_NAME
nhà thầu công cộng
Tính năng Đặt lại thiết bị
public DeviceResetFeature ()
Phương thức công khai
hành hình
public FeatureResponse execute (FeatureRequest request)
Trả về một FeatureResponse
dựa trên yêu cầu.
Thông số | |
---|---|
request | FeatureRequest |
trả lại | |
---|---|
FeatureResponse |
getName
public String getName ()
Tên của tính năng. Phải khớp với FeatureRequest#getName()
.
trả lại | |
---|---|
String |
thiết lập cấu hình
public void setConfiguration (IConfiguration configuration)
Tiêm IConfiguration
đang sử dụng.
Thông số | |
---|---|
configuration | IConfiguration |
setTestInformation
public void setTestInformation (TestInformation testInformation)
Thông số | |
---|---|
testInformation | TestInformation |