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 |