StopServicesSetup
public
class
StopServicesSetup
extends BaseTargetPreparer
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.StopServicesSetup |
ITargetPreparer
dừng các dịch vụ trên thiết bị.
Tóm tắt
Hàm khởi tạo công khai | |
---|---|
StopServicesSetup()
|
Phương thức công khai | |
---|---|
void
|
addService(String service)
Thêm một dịch vụ vào danh sách dịch vụ. |
void
|
setStopFramework(boolean stopFramework)
Chỉ định xem có dừng khung hay không. |
void
|
setUp(TestInformation testInfo)
|
void
|
tearDown(TestInformation testInformation, Throwable e)
|
Hàm khởi tạo công khai
StopServicesSetup
public StopServicesSetup ()
Phương thức công khai
addService
public void addService (String service)
Thêm một dịch vụ vào danh sách dịch vụ.
Tham số | |
---|---|
service |
String |
setStopFramework
public void setStopFramework (boolean stopFramework)
Chỉ định xem có dừng khung này hay không.
Tham số | |
---|---|
stopFramework |
boolean |
setUp
public void setUp (TestInformation testInfo)
Tham số | |
---|---|
testInfo |
TestInformation |
Gửi | |
---|---|
DeviceNotAvailableException |
tearDown
public void tearDown (TestInformation testInformation, Throwable e)
Tham số | |
---|---|
testInformation |
TestInformation |
e |
Throwable |
Gửi | |
---|---|
DeviceNotAvailableException |