CuttlefishDisplayFeature
public
class
CuttlefishDisplayFeature
extends Object
implements
IConfigurationReceiver,
IRemoteFeature,
ITestInformationReceiver
| java.lang.Object | |
| ↳ | com.android.tradefed.device.internal.CuttlefishDisplayFeature |
Cuttlefish की डिसप्ले सुविधाओं के साथ इंटरैक्ट करने के लिए, Tradefed सर्वर को लागू करना. यह सुविधा, स्थानीय तौर पर `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 ()
पब्लिक मेथड
लागू करना
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 |