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 ( ITestDevice device, IBuildInfo buildInfo)
|
公共建设者
StopServicesSetup
public StopServicesSetup ()
公开方法
addService
public void addService (String service)
将服务添加到服务列表。
参量 | |
---|---|
service | String |
setStopFramework
public void setStopFramework (boolean stopFramework)
指定是否停止框架。
参量 | |
---|---|
stopFramework | boolean |
建立
public void setUp (ITestDevice device, IBuildInfo buildInfo)
参量 | |
---|---|
device | ITestDevice |
buildInfo | IBuildInfo |
投掷 | |
---|---|
DeviceNotAvailableException |