DeviceSnapshotFeature
public
class
DeviceSnapshotFeature
extends Object
implements
IConfigurationReceiver,
IRemoteFeature,
ITestInformationReceiver
| java.lang.Object | |
| ↳ | com.android.tradefed.device.internal.DeviceSnapshotFeature |
Triển khai ảnh chụp nhanh thiết bị phía máy chủ.
Tóm tắt
Hằng số | |
|---|---|
String |
DELETE_FLAG
|
String |
DEVICE_NAME
|
String |
DEVICE_SNAPSHOT_FEATURE_NAME
|
String |
RESTORE_FLAG
|
String |
SNAPSHOT_ID
|
Hàm khởi tạo công khai | |
|---|---|
DeviceSnapshotFeature()
|
|
Phương thức công khai | |
|---|---|
FeatureResponse
|
execute(FeatureRequest request)
Trả về |
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ố
DELETE_FLAG
public static final String DELETE_FLAG
Giá trị không đổi: "delete_flag"
DEVICE_NAME
public static final String DEVICE_NAME
Giá trị không đổi: "device_name"
DEVICE_SNAPSHOT_FEATURE_NAME
public static final String DEVICE_SNAPSHOT_FEATURE_NAME
Giá trị không đổi: "snapshotDevice"
RESTORE_FLAG
public static final String RESTORE_FLAG
Giá trị không đổi: "restore_flag"
SNAPSHOT_ID
public static final String SNAPSHOT_ID
Giá trị không đổi: "snapshot_id"
Hàm khởi tạo công khai
DeviceSnapshotFeature
public DeviceSnapshotFeature ()
Phương thức công khai
thực thi
public FeatureResponse execute (FeatureRequest request)
Trả về 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 |