DisableSELinuxTargetPreparer

public class DisableSELinuxTargetPreparer
extends BaseTargetPreparer

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


Target preparer that disables SELinux if enabled.

Will restore back to original state on tear down.

Summary

Public constructors

DisableSELinuxTargetPreparer()

Public methods

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

Public constructors

DisableSELinuxTargetPreparer

public DisableSELinuxTargetPreparer ()

Public methods

setUp

public void setUp (TestInformation testInfo)

Parameters
testInfo TestInformation

Throws
BuildError
DeviceNotAvailableException
TargetSetupError

tearDown

public void tearDown (TestInformation testInfo, 
                Throwable e)

Parameters
testInfo TestInformation

e Throwable

Throws
DeviceNotAvailableException