StopServicesSetup
public class StopServicesSetup
extends BaseTargetPreparer
java.lang.객체 | ||
↳ | 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 ()
공개 방법
서비스 추가
public void addService (String service)
서비스 목록에 서비스를 추가합니다.
매개변수 | |
---|---|
service | String |
setStopFramework
public void setStopFramework (boolean stopFramework)
프레임워크를 중지할지 여부를 지정합니다.
매개변수 | |
---|---|
stopFramework | boolean |
설정
public void setUp (TestInformation testInfo)
매개변수 | |
---|---|
testInfo | TestInformation |
던지기 | |
---|---|
DeviceNotAvailableException |
tearDown
public void tearDown (TestInformation testInformation, Throwable e)
매개변수 | |
---|---|
testInformation | TestInformation |
e | Throwable |
던지기 | |
---|---|
DeviceNotAvailableException |