Google is committed to advancing racial equity for Black communities. See how.

EnforcedSeLinuxChecker

public class EnforcedSeLinuxChecker
extends Object implements ISystemStatusChecker

java.lang.Object
   ↳ com.android.tradefed.suite.checker.EnforcedSeLinuxChecker


Status checker that ensures the status of Selinux.

Summary

Public constructors

EnforcedSeLinuxChecker()

Public methods

StatusCheckerResult postExecutionCheck(ITestDevice device)

Check system condition after test module execution.

Public constructors

EnforcedSeLinuxChecker

public EnforcedSeLinuxChecker ()

Public methods

postExecutionCheck

public StatusCheckerResult postExecutionCheck (ITestDevice device)

Check system condition after test module execution. Subclass should override this method if a check is desirable here. Implementation must return a boolean value to indicate if the status check has passed or failed.

Parameters
device ITestDevice: The ITestDevice on which to run the checks.

Returns
StatusCheckerResult result of system status check

Throws
DeviceNotAvailableException