CuttlefishDisplayFeature

public class CuttlefishDisplayFeature
extends Object implements IConfigurationReceiver, IRemoteFeature, ITestInformationReceiver

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


Cuttlefish ディスプレイ機能(ローカルでは `cvd display` )とやり取りするための Tradefed サーバー実装。

概要

定数

String ARG_DEVICE_NAME

String ARG_DISPLAY_REQUEST_PROTO

String CUTTLEFISH_DISPLAY_FEATURE_NAME

パブリック コンストラクタ

CuttlefishDisplayFeature()

パブリック メソッド

FeatureResponse execute(FeatureRequest request)

リクエストに基づいて FeatureResponse を返します。

String getName()

機能の名前。

TestInformation getTestInformation()
void setConfiguration(IConfiguration configuration)

使用中の IConfiguration を挿入します。

void setTestInformation(TestInformation testInformation)

定数

ARG_DEVICE_NAME

public static final String ARG_DEVICE_NAME

定数値: "device_name"

ARG_DISPLAY_REQUEST_PROTO

public static final String ARG_DISPLAY_REQUEST_PROTO

定数値: "display_request_proto"

CUTTLEFISH_DISPLAY_FEATURE_NAME

public static final String CUTTLEFISH_DISPLAY_FEATURE_NAME

定数値: "cuttlefishDisplay"

パブリック コンストラクタ

CuttlefishDisplayFeature

public CuttlefishDisplayFeature ()

パブリック メソッド

実行

public FeatureResponse execute (FeatureRequest request)

リクエストに基づいて FeatureResponse を返します。

パラメータ
request FeatureRequest

戻り値
FeatureResponse

getName

public String getName ()

機能の名前。FeatureRequest.getName() と一致する必要があります。

戻り値
String

getTestInformation

public TestInformation getTestInformation ()

戻り値
TestInformation

setConfiguration

public void setConfiguration (IConfiguration configuration)

使用中の IConfiguration を挿入します。

パラメータ
configuration IConfiguration

setTestInformation

public void setTestInformation (TestInformation testInformation)

パラメータ
testInformation TestInformation