จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ

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

ติดตั้ง

public void setUp (TestInformation testInfo)

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

ขว้าง
DeviceNotAvailableException

การถอดออก

public void tearDown (TestInformation testInformation, 
                Throwable e)

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

e Throwable

ขว้าง
DeviceNotAvailableException