CuttlefishDisplayFeature

public class CuttlefishDisplayFeature
extends Object implements IConfigurationReceiver, IRemoteFeature, ITestInformationReceiver

java.lang.Object
com.android.tradefed.device.internal.CuttlefishDisplayFeature


Tradefed-Serverimplementierung zur Interaktion mit Cuttlefish-Displayfunktionen (entspricht effektiv `cvd display` lokal).

Zusammenfassung

Konstanten

String ARG_DEVICE_NAME

String ARG_DISPLAY_REQUEST_PROTO

String CUTTLEFISH_DISPLAY_FEATURE_NAME

Öffentliche Konstruktoren

CuttlefishDisplayFeature()

Öffentliche Methoden

FeatureResponse execute(FeatureRequest request)

Gibt eine FeatureResponse basierend auf der Anfrage zurück.

String getName()

Name der Funktion.

TestInformation getTestInformation()
void setConfiguration(IConfiguration configuration)

Fügt die verwendete IConfiguration ein.

void setTestInformation(TestInformation testInformation)

Konstanten

ARG_DEVICE_NAME

public static final String ARG_DEVICE_NAME

Konstanter Wert: "device_name"

ARG_DISPLAY_REQUEST_PROTO

public static final String ARG_DISPLAY_REQUEST_PROTO

Konstanter Wert: "display_request_proto"

CUTTLEFISH_DISPLAY_FEATURE_NAME

public static final String CUTTLEFISH_DISPLAY_FEATURE_NAME

Konstanter Wert: "cuttlefishDisplay"

Öffentliche Konstruktoren

CuttlefishDisplayFeature

public CuttlefishDisplayFeature ()

Öffentliche Methoden

execute

public FeatureResponse execute (FeatureRequest request)

Gibt eine FeatureResponse basierend auf der Anfrage zurück.

Parameter
request FeatureRequest

Gibt Folgendes zurück:
FeatureResponse

getName

public String getName ()

Name der Funktion. Muss mit FeatureRequest.getName() übereinstimmen.

Gibt Folgendes zurück:
String

getTestInformation

public TestInformation getTestInformation ()

Gibt Folgendes zurück:
TestInformation

setConfiguration

public void setConfiguration (IConfiguration configuration)

Fügt die verwendete IConfiguration ein.

Parameter
configuration IConfiguration

setTestInformation

public void setTestInformation (TestInformation testInformation)

Parameter
testInformation TestInformation