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_INDEX

String DEVICE_NAME

String DEVICE_RESET_FEATURE_NAME

Konstruktory publiczne

DeviceResetFeature()

Metody publiczne

FeatureResponse execute(FeatureRequest request)

Zwraca FeatureResponse na podstawie żądania.

String getName()

Nazwa funkcji.

TestInformation getTestInformation()
void setConfiguration(IConfiguration configuration)

Wstrzykuje używaną IConfiguration.

void setTestInformation(TestInformation testInformation)

Stałe

DEVICE_INDEX

public static final String DEVICE_INDEX

Wartość stała: "device_index"

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

Wartość stała: "resetDevice"

Konstruktory publiczne

DeviceResetFeature

public DeviceResetFeature ()

Metody publiczne

execute

public FeatureResponse execute (FeatureRequest request)

Zwraca FeatureResponse na podstawie żądania.

Parametry
request FeatureRequest

Zwraca
FeatureResponse

getName

public String getName ()

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

Zwraca
String

getTestInformation

public TestInformation getTestInformation ()

Zwraca
TestInformation

setConfiguration

public void setConfiguration (IConfiguration configuration)

Wstrzykuje używaną IConfiguration.

Parametry
configuration IConfiguration

setTestInformation

public void setTestInformation (TestInformation testInformation)

Parametry
testInformation TestInformation