CuttlefishDisplayFeature

public class CuttlefishDisplayFeature
extends Object implements IConfigurationReceiver, IRemoteFeature, ITestInformationReceiver

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


تنفيذ خادم Tradefed للتفاعل مع ميزات العرض في Cuttlefish (أي تنفيذ الأمر `cvd display` محليًا)

ملخّص

الثوابت

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

Constant Value: "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