to top
public class

StopServicesSetup

extends Object
implements ITargetPreparer
java.lang.Object
   ↳ com.android.tradefed.targetprep.StopServicesSetup

Class Overview

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)
Perform the target setup for testing.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.android.tradefed.targetprep.ITargetPreparer

Public Constructors

public StopServicesSetup ()

Public Methods

public void addService (String service)

Adds a service to the list of services.

public void setStopFramework (boolean stopFramework)

Specify whether to stop the framework.

public void setUp (ITestDevice device, IBuildInfo buildInfo)

Perform the target setup for testing.

Parameters
device the ITestDevice to prepare.
buildInfo data about the build under test.