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