DeviceResetFeature
public
class
DeviceResetFeature
extends Object
implements
IConfigurationReceiver,
IRemoteFeature,
ITestInformationReceiver
| java.lang.Object | |
| ↳ | com.android.tradefed.device.internal.DeviceResetFeature |
تنفيذ عملية إعادة ضبط الجهاز من جهة الخادم
ملخّص
الثوابت | |
|---|---|
String |
DEVICE_NAME
|
String |
DEVICE_RESET_FEATURE_NAME
|
الإنشاءات العامة | |
|---|---|
DeviceResetFeature()
|
|
الطُرق العامة | |
|---|---|
FeatureResponse
|
execute(FeatureRequest request)
تعرض هذه الدالة |
String
|
getName()
اسم الميزة |
TestInformation
|
getTestInformation()
|
void
|
setConfiguration(IConfiguration configuration)
يُدرِج |
void
|
setTestInformation(TestInformation testInformation)
|
الثوابت
DEVICE_NAME
public static final String DEVICE_NAME
القيمة الثابتة: "device_name"
DEVICE_RESET_FEATURE_NAME
public static final String DEVICE_RESET_FEATURE_NAME
القيمة الثابتة: "resetDevice"
الإنشاءات العامة
DeviceResetFeature
public DeviceResetFeature ()
الطُرق العامة
تنفيذ
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 |