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

boolean mUseErase

Public constructors

DeviceWiper

DeviceWiper ()

Public methods

setUp

void setUp (ITestDevice device, 
                IBuildInfo buildInfo)

Parameters
device ITestDevice

buildInfo IBuildInfo

Throws
TargetSetupError
DeviceNotAvailableException