DeviceResetFeature

public class DeviceResetFeature
extends Object implements IConfigurationReceiver, IRemoteFeature, ITestInformationReceiver

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


Triển khai tính năng đặt lại thiết bị phía máy chủ.

Tóm tắt

Trường

public static final String DEVICE_NAME

public static final String DEVICE_RESET_FEATURE_NAME

Hàm khởi tạo công khai

DeviceResetFeature()

Phương thức công khai

FeatureResponse execute(FeatureRequest request)

Trả về FeatureResponse dựa trên yêu cầu.

String getName()

Tên của tính năng.

TestInformation getTestInformation()
void setConfiguration(IConfiguration configuration)

Chèn IConfiguration đang được sử dụng.

void setTestInformation(TestInformation testInformation)

Trường

DEVICE_NAME

public static final String DEVICE_NAME

DEVICE_RESET_FEATURE_NAME

public static final String DEVICE_RESET_FEATURE_NAME

Hàm khởi tạo công khai

DeviceResetFeature

public DeviceResetFeature ()

Phương thức công khai

thực thi

public FeatureResponse execute (FeatureRequest request)

Trả về FeatureResponse dựa trên yêu cầu.

Tham số
request FeatureRequest

Giá trị trả về
FeatureResponse

getName

public String getName ()

Tên của tính năng. Phải khớp với FeatureRequest.getName().

Giá trị trả về
String

getTestInformation

public TestInformation getTestInformation ()

Giá trị trả về
TestInformation

setConfiguration

public void setConfiguration (IConfiguration configuration)

Chèn IConfiguration đang được sử dụng.

Tham số
configuration IConfiguration

setTestInformation

public void setTestInformation (TestInformation testInformation)

Tham số
testInformation TestInformation