DeviceResetFeature

public class DeviceResetFeature
extends Object implements IConfigurationReceiver, IRemoteFeature, ITestInformationReceiver

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


Server side implementation of device reset.

Summary

Fields

public static final String DEVICE_NAME

public static final String DEVICE_RESET_FEATURE_NAME

Public constructors

DeviceResetFeature()

Public methods

FeatureResponse execute(FeatureRequest request)

Returns a FeatureResponse based on the request.

String getName()

Name of the feature.

TestInformation getTestInformation()
void setConfiguration(IConfiguration configuration)

Injects the IConfiguration in use.

void setTestInformation(TestInformation testInformation)

Fields

DEVICE_NAME

public static final String DEVICE_NAME

DEVICE_RESET_FEATURE_NAME

public static final String DEVICE_RESET_FEATURE_NAME

Public constructors

DeviceResetFeature

public DeviceResetFeature ()

Public methods

execute

public FeatureResponse execute (FeatureRequest request)

Returns a FeatureResponse based on the request.

Parameters
request FeatureRequest

Returns
FeatureResponse

getName

public String getName ()

Name of the feature. Must match FeatureRequest.getName().

Returns
String

getTestInformation

public TestInformation getTestInformation ()

Returns
TestInformation

setConfiguration

public void setConfiguration (IConfiguration configuration)

Injects the IConfiguration in use.

Parameters
configuration IConfiguration

setTestInformation

public void setTestInformation (TestInformation testInformation)

Parameters
testInformation TestInformation