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 |