DisableSELinuxTargetPreparer

public class DisableSELinuxTargetPreparer
extends BaseTargetPreparer

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


目标准备程序,用于停用 SELinux(如果已启用)。

在拆解时会恢复为原始状态。

摘要

公共构造函数

DisableSELinuxTargetPreparer()

公共方法

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

公共构造函数

DisableSELinuxTargetPreparer

public DisableSELinuxTargetPreparer ()

公共方法

setUp

public void setUp (TestInformation testInfo)

参数
testInfo TestInformation

抛出
BuildError
DeviceNotAvailableException
TargetSetupError

tearDown

public void tearDown (TestInformation testInfo, 
                Throwable e)

参数
testInfo TestInformation

e Throwable

抛出
DeviceNotAvailableException