裝置快照功能

public class DeviceSnapshotFeature
extends Object implements IConfigurationReceiver, IRemoteFeature, ITestInformationReceiver

java.lang.Object
   ↳ com.android.tradefed.device.internal.DeviceSnapshotFeature


伺服器端實作裝置快照。

摘要

欄位

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

公用建構函式

DeviceSnapshotFeature()

公用方法

FeatureResponse execute(FeatureRequest request)

根據要求傳回 FeatureResponse

String getName()

功能名稱。

TestInformation getTestInformation()
void setConfiguration(IConfiguration configuration)

插入使用中的 IConfiguration

void setTestInformation(TestInformation testInformation)

欄位

DEVICE_NAME

public static final String DEVICE_NAME

裝置_SNAPSHOT_FEATURE_NAME

public static final String DEVICE_SNAPSHOT_FEATURE_NAME

還原

public static final String RESTORE_FLAG

SNAPSHOT_ID

public static final String SNAPSHOT_ID

公用建構函式

裝置快照功能

public DeviceSnapshotFeature ()

公用方法

執行

public FeatureResponse execute (FeatureRequest request)

根據要求傳回 FeatureResponse

參數
request FeatureRequest

傳回
FeatureResponse

getName

public String getName ()

功能名稱。必須與 FeatureRequest#getName() 相符。

傳回
String

getTestInformation

public TestInformation getTestInformation ()

傳回
TestInformation

setConfiguration

public void setConfiguration (IConfiguration configuration)

插入使用中的 IConfiguration

參數
configuration IConfiguration

setTestInformation

public void setTestInformation (TestInformation testInformation)

參數
testInformation TestInformation