Funkcja migawki urządzenia

public class DeviceSnapshotFeature
extends Object implements IRemoteFeature , IConfigurationReceiver , ITestInformationReceiver

Obiekt Java.lang.Object
com.android.tradefed.device.internal.DeviceSnapshotFeature


Implementacja migawki urządzenia po stronie serwera.

Streszczenie

Pola

public static final String DEVICE_NAME

public static final String DEVICE_SNAPSHOT_FEATURE_NAME

public static final String RESTORE_FLAG

public static final String SNAPSHOT_ID

Konstruktorzy publiczni

DeviceSnapshotFeature ()

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)

Pola

NAZWA URZĄDZENIA

public static final String DEVICE_NAME

DEVICE_SNAPSHOT_FEATURE_NAME

public static final String DEVICE_SNAPSHOT_FEATURE_NAME

PRZYWRÓĆ_FLAGĘ

public static final String RESTORE_FLAG

SNAPSHOT_ID

public static final String SNAPSHOT_ID

Konstruktorzy publiczni

Funkcja migawki urządzenia

public DeviceSnapshotFeature ()

Metody publiczne

wykonać

public FeatureResponse execute (FeatureRequest request)

Zwraca FeatureResponse na podstawie żądania.

Parametry
request FeatureRequest

Zwroty
FeatureResponse

pobierzNazwę

public String getName ()

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

Zwroty
String

pobierz informacje testowe

public TestInformation getTestInformation ()

Zwroty
TestInformation

ustaw konfigurację

public void setConfiguration (IConfiguration configuration)

Wstrzykuje używaną IConfiguration .

Parametry
configuration IConfiguration

zestaw informacji testowych

public void setTestInformation (TestInformation testInformation)

Parametry
testInformation TestInformation