StopServicesSetup

public class StopServicesSetup
extends BaseTargetPreparer

java.lang.Object
   ↳ com.android.tradefed.targetprep.BaseTargetPreparer
     ↳ com.android.tradefed.targetprep.StopServicesSetup


A ITargetPreparer that stops services on the device.

Summary

Public constructors

StopServicesSetup()

Public methods

void addService(String service)

Adds a service to the list of services.

void setStopFramework(boolean stopFramework)

Specify whether to stop the framework.

void setUp(ITestDevice device, IBuildInfo buildInfo)

Public constructors

StopServicesSetup

public StopServicesSetup ()

Public methods

addService

public void addService (String service)

Adds a service to the list of services.

Parameters
service String

setStopFramework

public void setStopFramework (boolean stopFramework)

Specify whether to stop the framework.

Parameters
stopFramework boolean

setUp

public void setUp (ITestDevice device, 
                IBuildInfo buildInfo)

Parameters
device ITestDevice

buildInfo IBuildInfo

Throws
DeviceNotAvailableException