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
Trường | |
---|---|
public
static
final
String |
DELETE_FLAG
|
public
static
final
String |
DEVICE_NAME
|
public
static
final
String |
DEVICE_SNAPSHOT_FEATURE_NAME
|
public
static
final
String |
RESTORE_FLAG
|
public
static
final
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)
|
Trường
DELETE_FLAG
public static final String DELETE_FLAG
DEVICE_NAME
public static final String DEVICE_NAME
DEVICE_SNAPSHOT_FEATURE_NAME
public static final String DEVICE_SNAPSHOT_FEATURE_NAME
RESTORE_FLAG
public static final String RESTORE_FLAG
SNAPSHOT_ID
public static final String 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 được sử dụng.
Tham số | |
---|---|
configuration |
IConfiguration |
setTestInformation
public void setTestInformation (TestInformation testInformation)
Tham số | |
---|---|
testInformation |
TestInformation |