重新啟動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 |