DeviceWiper

public class DeviceWiper
extends Object implements ITargetPreparer

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


A ITargetPreparer that wipes userdata

Summary

Fields

protected boolean mDisable

protected boolean mUseErase

Public constructors

DeviceWiper()

Public methods

void setUp(ITestDevice device, IBuildInfo buildInfo)

Perform the target setup for testing.

Fields

mDisable

boolean mDisable

mUseErase

boolean mUseErase

Public constructors

DeviceWiper

DeviceWiper ()

Public methods

setUp

void setUp (ITestDevice device, 
                IBuildInfo buildInfo)

Perform the target setup for testing.

Parameters
device ITestDevice: the ITestDevice to prepare.
buildInfo IBuildInfo: data about the build under test.
Throws
TargetSetupError
DeviceNotAvailableException