CuttlefishDisplayFeature
public
class
CuttlefishDisplayFeature
extends Object
implements
IConfigurationReceiver,
IRemoteFeature,
ITestInformationReceiver
| java.lang.Object | |
| ↳ | com.android.tradefed.device.internal.CuttlefishDisplayFeature |
Implementacja serwera Tradefed do interakcji z funkcjami wyświetlania Cuttlefish (lokalnie `cvd display`).
Podsumowanie
Stałe | |
|---|---|
String |
ARG_DEVICE_NAME
|
String |
ARG_DISPLAY_REQUEST_PROTO
|
String |
CUTTLEFISH_DISPLAY_FEATURE_NAME
|
Konstruktory publiczne | |
|---|---|
CuttlefishDisplayFeature()
|
|
Metody publiczne | |
|---|---|
FeatureResponse
|
execute(FeatureRequest request)
Zwraca |
String
|
getName()
Nazwa funkcji. |
TestInformation
|
getTestInformation()
|
void
|
setConfiguration(IConfiguration configuration)
Wstrzykuje używaną |
void
|
setTestInformation(TestInformation testInformation)
|
Stałe
ARG_DEVICE_NAME
public static final String ARG_DEVICE_NAME
Wartość stała: "device_name"
ARG_DISPLAY_REQUEST_PROTO
public static final String ARG_DISPLAY_REQUEST_PROTO
Wartość stała: "display_request_proto"
CUTTLEFISH_DISPLAY_FEATURE_NAME
public static final String CUTTLEFISH_DISPLAY_FEATURE_NAME
Wartość stała: "cuttlefishDisplay"
Konstruktory publiczne
CuttlefishDisplayFeature
public CuttlefishDisplayFeature ()
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 |
|
setConfiguration
public void setConfiguration (IConfiguration configuration)
Wstrzykuje używaną IConfiguration.
| Parametry | |
|---|---|
configuration |
IConfiguration |
setTestInformation
public void setTestInformation (TestInformation testInformation)
| Parametry | |
|---|---|
testInformation |
TestInformation |