可折叠模式准备器
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 |