DeviceWiper

public class DeviceWiper
extends BaseTargetPreparer

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


A ITargetPreparer that wipes userdata

Summary

Fields

protected boolean mUseErase

Public constructors

DeviceWiper()

Public methods

void setUp(ITestDevice device, IBuildInfo buildInfo)

Fields

mUseErase

protected boolean mUseErase

Public constructors

DeviceWiper

public DeviceWiper ()

Public methods

setUp

public void setUp (ITestDevice device, 
                IBuildInfo buildInfo)

Parameters
device ITestDevice

buildInfo IBuildInfo

Throws
TargetSetupError
DeviceNotAvailableException