הגדרת StopServices
public
class
StopServicesSetup
extends BaseTargetPreparer
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetFixr | |
↳ | 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 |
setUp
public void setUp (TestInformation testInfo)
פרמטרים | |
---|---|
testInfo |
TestInformation |
קליעות | |
---|---|
DeviceNotAvailableException |
tearDown
public void tearDown (TestInformation testInformation, Throwable e)
פרמטרים | |
---|---|
testInformation |
TestInformation |
e |
Throwable |
זריקות | |
---|---|
DeviceNotAvailableException |