InstallKernelModulePreparer

public class InstallKernelModulePreparer
extends BaseTargetPreparer implements ILabPreparer

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


A target preparer that install kernel modules. Please see https://source.android.com/docs/core/architecture/kernel/modules for details.

Summary

Public constructors

InstallKernelModulePreparer()

Public methods

void setUp(TestInformation testInfo)

Perform the target setup for testing.

void tearDown(TestInformation testInfo, Throwable e)

Perform the target cleanup/teardown after testing.

Public constructors

InstallKernelModulePreparer

public InstallKernelModulePreparer ()

Public methods

setUp

public void setUp (TestInformation testInfo)

Perform the target setup for testing.

Parameters
testInfo TestInformation: The TestInformation of the invocation.

Throws
BuildError
DeviceNotAvailableException
TargetSetupError

tearDown

public void tearDown (TestInformation testInfo, 
                Throwable e)

Perform the target cleanup/teardown after testing.

Parameters
testInfo TestInformation: The TestInformation of the invocation.

e Throwable: if the invocation ended with an exception, this will be the exception that was caught at the Invocation level. Otherwise, will be null.

Throws
DeviceNotAvailableException