可折疊模式準備器
public class FoldableModePreparer
extends BaseTargetPreparer
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.suite.FoldableModePreparer |
可切換設備可折疊狀態的目標準備器。
概括
公共構造函數 | |
---|---|
FoldableModePreparer () | |
FoldableModePreparer (long stateIdentifier) |
公共方法 | |
---|---|
void | setUp ( TestInformation testInformation) |
void | tearDown ( TestInformation testInformation, Throwable e) |
公共構造函數
可折疊模式準備器
public FoldableModePreparer ()
可折疊模式準備器
public FoldableModePreparer (long stateIdentifier)
參數 | |
---|---|
stateIdentifier | long |
公共方法
設定
public void setUp (TestInformation testInformation)
參數 | |
---|---|
testInformation | TestInformation |
投擲 | |
---|---|
BuildError | |
DeviceNotAvailableException | |
TargetSetupError |
拆除
public void tearDown (TestInformation testInformation, Throwable e)
參數 | |
---|---|
testInformation | TestInformation |
e | Throwable |
投擲 | |
---|---|
DeviceNotAvailableException |