CuttlefishDisplayFeature
public
class
CuttlefishDisplayFeature
extends Object
implements
IConfigurationReceiver,
IRemoteFeature,
ITestInformationReceiver
| java.lang.Object | |
| ↳ | com.android.tradefed.device.internal.CuttlefishDisplayFeature |
Triển khai máy chủ Tradefed để tương tác với các tính năng hiển thị của Cuttlefish (hiệu quả là "màn hình cvd" cục bộ).
Tóm tắt
Hằng số | |
|---|---|
String |
ARG_DEVICE_NAME
|
String |
ARG_DISPLAY_REQUEST_PROTO
|
String |
CUTTLEFISH_DISPLAY_FEATURE_NAME
|
Hàm khởi tạo công khai | |
|---|---|
CuttlefishDisplayFeature()
|
|
Phương thức công khai | |
|---|---|
FeatureResponse
|
execute(FeatureRequest request)
Trả về một |
String
|
getName()
Tên của tính năng. |
TestInformation
|
getTestInformation()
|
void
|
setConfiguration(IConfiguration configuration)
Chèn |
void
|
setTestInformation(TestInformation testInformation)
|
Hằng số
ARG_DEVICE_NAME
public static final String ARG_DEVICE_NAME
Giá trị không đổi: "device_name"
ARG_DISPLAY_REQUEST_PROTO
public static final String ARG_DISPLAY_REQUEST_PROTO
Giá trị không đổi: "display_request_proto"
CUTTLEFISH_DISPLAY_FEATURE_NAME
public static final String CUTTLEFISH_DISPLAY_FEATURE_NAME
Giá trị không đổi: "cuttlefishDisplay"
Hàm khởi tạo công khai
CuttlefishDisplayFeature
public CuttlefishDisplayFeature ()
Phương thức công khai
thực thi
public FeatureResponse execute (FeatureRequest request)
Trả về một FeatureResponse dựa trên yêu cầu.
| Tham số | |
|---|---|
request |
FeatureRequest |
| Giá trị trả về | |
|---|---|
FeatureResponse |
|
getName
public String getName ()
Tên của tính năng. Phải khớp với FeatureRequest.getName().
| Giá trị trả về | |
|---|---|
String |
|
setConfiguration
public void setConfiguration (IConfiguration configuration)
Chèn IConfiguration đang dùng.
| Tham số | |
|---|---|
configuration |
IConfiguration |
setTestInformation
public void setTestInformation (TestInformation testInformation)
| Tham số | |
|---|---|
testInformation |
TestInformation |