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 |