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
|
Constructors ציבוריים | |
|---|---|
CuttlefishDisplayFeature()
|
|
methods ציבוריים | |
|---|---|
FeatureResponse
|
execute(FeatureRequest request)
מחזירה את הערך |
String
|
getName()
שם התכונה. |
TestInformation
|
getTestInformation()
|
void
|
setConfiguration(IConfiguration configuration)
הוספת ה- |
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"
constructors ציבוריים
CuttlefishDisplayFeature
public CuttlefishDisplayFeature ()
methods ציבוריים
להריץ
public FeatureResponse execute (FeatureRequest request)
מחזירה את הערך FeatureResponse על סמך הבקשה.
| פרמטרים | |
|---|---|
request |
FeatureRequest |
| החזרות | |
|---|---|
FeatureResponse |
|
getName
public String getName ()
שם התכונה. חייב להיות זהה לערך FeatureRequest.getName().
| החזרות | |
|---|---|
String |
|
setConfiguration
public void setConfiguration (IConfiguration configuration)
הוספת ה-IConfiguration שנמצא בשימוש.
| פרמטרים | |
|---|---|
configuration |
IConfiguration |
setTestInformation
public void setTestInformation (TestInformation testInformation)
| פרמטרים | |
|---|---|
testInformation |
TestInformation |