StopServices การตั้งค่า

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)

ผู้สร้างสาธารณะ

StopServices การตั้งค่า

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

การถอดออก

public void tearDown (TestInformation testInformation, 
                Throwable e)

พารามิเตอร์
testInformation TestInformation

e Throwable

พ่น
DeviceNotAvailableException