重新启动SystemServerTargetPreparer
public class RestartSystemServerTargetPreparer
extends BaseTargetPreparer
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.RestartSystemServerTargetPreparer |
重新启动系统服务器而不重新启动设备的目标准备器。
概括
公共构造函数 | |
---|---|
RestartSystemServerTargetPreparer () |
公共方法 | |
---|---|
void | setUp ( TestInformation testInformation) |
void | tearDown ( TestInformation testInformation, Throwable e) |
公共构造函数
重新启动SystemServerTargetPreparer
public RestartSystemServerTargetPreparer ()
公共方法
设置
public void setUp (TestInformation testInformation)
参数 | |
---|---|
testInformation | TestInformation |
投掷 | |
---|---|
BuildError | |
DeviceNotAvailableException | |
TargetSetupError |
拆除
public void tearDown (TestInformation testInformation, Throwable e)
参数 | |
---|---|
testInformation | TestInformation |
e | Throwable |
投掷 | |
---|---|
DeviceNotAvailableException |