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 |
|