DeviceResetFeature

public class DeviceResetFeature
extends Object implements IConfigurationReceiver, IRemoteFeature, ITestInformationReceiver

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


Implementacja resetowania urządzenia po stronie serwera.

Podsumowanie

Stałe

String DEVICE_NAME

String DEVICE_RESET_FEATURE_NAME

Publiczne konstruktory

DeviceResetFeature()

Metody publiczne

FeatureResponse execute(FeatureRequest request)

Zwraca FeatureResponse na podstawie żądania.

String getName()

Nazwa funkcji.

TestInformation getTestInformation()
void setConfiguration(IConfiguration configuration)

Wstawia używany element IConfiguration.

void setTestInformation(TestInformation testInformation)

Stałe

DEVICE_NAME

public static final String DEVICE_NAME

Wartość stała: "device_name"

DEVICE_RESET_FEATURE_NAME

public static final String DEVICE_RESET_FEATURE_NAME

Stała wartość: "resetDevice"

Publiczne konstruktory

DeviceResetFeature

public DeviceResetFeature ()

Metody publiczne

execute

public FeatureResponse execute (FeatureRequest request)

Zwraca FeatureResponse na podstawie żądania.

Parametry
request FeatureRequest

Zwroty
FeatureResponse

getName

public String getName ()

Nazwa funkcji. Musi pasować do: FeatureRequest.getName().

Zwroty
String

getTestInformation

public TestInformation getTestInformation ()

Zwroty
TestInformation

setConfiguration

public void setConfiguration (IConfiguration configuration)

Wstawia używany element IConfiguration.

Parametry
configuration IConfiguration

setTestInformation

public void setTestInformation (TestInformation testInformation)

Parametry
testInformation TestInformation