StopServicesSetup
public class StopServicesSetup
extends BaseTargetPreparer
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.StopServicesSetup |
デバイス上のサービスを停止するITargetPreparer
。
まとめ
パブリック コンストラクター | |
---|---|
StopServicesSetup () |
公開メソッド | |
---|---|
void | addService (String service) サービスのリストにサービスを追加します。 |
void | setStopFramework (boolean stopFramework) フレームワークを停止するかどうかを指定します。 |
void | setUp ( TestInformation testInfo) |
void | tearDown ( TestInformation testInformation, Throwable e)
|
パブリック コンストラクター
StopServicesSetup
public StopServicesSetup ()
公開メソッド
addService
public void addService (String service)
サービスのリストにサービスを追加します。
パラメーター | |
---|---|
service | String |
setStopFramework
public void setStopFramework (boolean stopFramework)
フレームワークを停止するかどうかを指定します。
パラメーター | |
---|---|
stopFramework | boolean |
設定
public void setUp (TestInformation testInfo)
パラメーター | |
---|---|
testInfo | TestInformation |
スロー | |
---|---|
DeviceNotAvailableException |
取り壊す
public void tearDown (TestInformation testInformation, Throwable e)
パラメーター | |
---|---|
testInformation | TestInformation |
e | Throwable |
スロー | |
---|---|
DeviceNotAvailableException |