UserCleaner

public class UserCleaner
extends BaseTargetPreparer

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


一个 ITargetPreparer,用于在拆解时移除次要用户。

摘要

公共构造函数

UserCleaner()

公共方法

void setUp(TestInformation testInfo)
void tearDown(TestInformation testInfo, Throwable e)

公共构造函数

UserCleaner

public UserCleaner ()

公共方法

setUp

public void setUp (TestInformation testInfo)

参数
testInfo TestInformation

抛出
BuildError
DeviceNotAvailableException
TargetSetupError

tearDown

public void tearDown (TestInformation testInfo, 
                Throwable e)

参数
testInfo TestInformation

e Throwable

抛出
DeviceNotAvailableException