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)
根據要求傳回 |
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"
公用建構函式
CuttlefishDisplayFeature
public CuttlefishDisplayFeature ()
公用方法
execute
public FeatureResponse execute (FeatureRequest request)
根據要求傳回 FeatureResponse。
| 參數 | |
|---|---|
request |
FeatureRequest |
| 傳回 | |
|---|---|
FeatureResponse |
|
setConfiguration
public void setConfiguration (IConfiguration configuration)
注入使用的 IConfiguration。
| 參數 | |
|---|---|
configuration |
IConfiguration |
setTestInformation
public void setTestInformation (TestInformation testInformation)
| 參數 | |
|---|---|
testInformation |
TestInformation |