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 |
setUp
public void setUp (TestInformation testInfo)
| パラメータ | |
|---|---|
testInfo |
TestInformation |
| 例外 | |
|---|---|
DeviceNotAvailableException |
|
tearDown
public void tearDown (TestInformation testInformation, Throwable e)
| パラメータ | |
|---|---|
testInformation |
TestInformation |
e |
Throwable |
| 例外 | |
|---|---|
DeviceNotAvailableException |
|