CuttlefishDisplayFeature

public class CuttlefishDisplayFeature
extends Object implements IConfigurationReceiver, IRemoteFeature, ITestInformationReceiver

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


Tradefed server implementation to interact with Cuttlefish display features (effectively `cvd display` locally).

Summary

Constants

String ARG_DEVICE_NAME

String ARG_DISPLAY_REQUEST_PROTO

String CUTTLEFISH_DISPLAY_FEATURE_NAME

Public constructors

CuttlefishDisplayFeature()

Public methods

FeatureResponse execute(FeatureRequest request)

Returns a FeatureResponse based on the request.

String getName()

Name of the feature.

TestInformation getTestInformation()
void setConfiguration(IConfiguration configuration)

Injects the IConfiguration in use.

void setTestInformation(TestInformation testInformation)

Constants

ARG_DEVICE_NAME

public static final String ARG_DEVICE_NAME

Constant Value: "device_name"

ARG_DISPLAY_REQUEST_PROTO

public static final String ARG_DISPLAY_REQUEST_PROTO

Constant Value: "display_request_proto"

CUTTLEFISH_DISPLAY_FEATURE_NAME

public static final String CUTTLEFISH_DISPLAY_FEATURE_NAME

Constant Value: "cuttlefishDisplay"

Public constructors

CuttlefishDisplayFeature

public CuttlefishDisplayFeature ()

Public methods

execute

public FeatureResponse execute (FeatureRequest request)

Returns a FeatureResponse based on the request.

Parameters
request FeatureRequest

Returns
FeatureResponse

getName

public String getName ()

Name of the feature. Must match FeatureRequest.getName().

Returns
String

getTestInformation

public TestInformation getTestInformation ()

Returns
TestInformation

setConfiguration

public void setConfiguration (IConfiguration configuration)

Injects the IConfiguration in use.

Parameters
configuration IConfiguration

setTestInformation

public void setTestInformation (TestInformation testInformation)

Parameters
testInformation TestInformation