EhideTargetPreparer

public class EhideTargetPreparer
extends BaseTargetPreparer

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


启动 ehide,该进程会向 Android 网络堆栈隐藏以太网接口。暂时跳过 Cuttlefish,因为以太网接口默认处于隐藏状态。

需要 adb root。

摘要

公共构造函数

EhideTargetPreparer()

公共方法

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

公共构造函数

EhideTargetPreparer

public EhideTargetPreparer ()

公共方法

setUp

public void setUp (TestInformation testInformation)

参数
testInformation TestInformation

抛出
BuildError
DeviceNotAvailableException
TargetSetupError

tearDown

public void tearDown (TestInformation testInformation, 
                Throwable e)

参数
testInformation TestInformation

e Throwable

抛出
DeviceNotAvailableException