EraseUserDataPreparer

public class EraseUserDataPreparer
extends BaseTargetPreparer

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


A ITargetPreparer that wipes user data on the device.

Summary

Public constructors

EraseUserDataPreparer()

Public methods

void setUp(ITestDevice device, IBuildInfo buildInfo)

Public constructors

EraseUserDataPreparer

public EraseUserDataPreparer ()

Public methods

setUp

public void setUp (ITestDevice device, 
                IBuildInfo buildInfo)

Parameters
device ITestDevice

buildInfo IBuildInfo

Throws
TargetSetupError
BuildError
DeviceNotAvailableException