Tính năng chụp ảnh của thiết bị
public class DeviceSnapshotFeature
extends Object
implements IRemoteFeature , IConfigurationReceiver , ITestInformationReceiver
java.lang.Object | |
↳ | com.android.tradefed.device.internal.DeviceSnapshotTính năng |
Phía máy chủ thực hiện ảnh chụp nhanh thiết bị.
Bản tóm tắt
Lĩnh vực | |
---|---|
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
|
Nhà thầu xây dựng công cộng | |
---|---|
DeviceSnapshotFeature () |
Phương pháp 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) Tiêm |
void | setTestInformation ( TestInformation testInformation) |
Lĩnh vực
TÊN THIẾT BỊ
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
Nhà thầu xây dựng công cộng
Tính năng chụp ảnh của thiết bị
public DeviceSnapshotFeature ()
Phương pháp công khai
hành hình
public FeatureResponse execute (FeatureRequest request)
Trả về FeatureResponse
dựa trên yêu cầu.
Thông số | |
---|---|
request | FeatureRequest |
Trả lại | |
---|---|
FeatureResponse |
lấy tên
public String getName ()
Tên của tính năng. Phải khớp với FeatureRequest#getName()
.
Trả lại | |
---|---|
String |
setConfiguration
public void setConfiguration (IConfiguration configuration)
Tiêm IConfiguration
đang sử dụng.
Thông số | |
---|---|
configuration | IConfiguration |
setTestThông tin
public void setTestInformation (TestInformation testInformation)
Thông số | |
---|---|
testInformation | TestInformation |