安裝 KernelModulePreparer
public
class
InstallKernelModulePreparer
extends BaseTargetPreparer
implements
ILabPreparer
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.InstallKernelModulePreparer |
安裝核心模組的目標準備工具。詳情請參閱 https://source.android.com/docs/core/architecture/kernel/modules。
摘要
公用建構函式 | |
---|---|
InstallKernelModulePreparer()
|
公用方法 | |
---|---|
void
|
setUp(TestInformation testInfo)
執行測試目標設定。 |
void
|
tearDown(TestInformation testInfo, Throwable e)
在測試後執行目標清除/拆除作業。 |
公用建構函式
InstallKernelModulePreparer
public InstallKernelModulePreparer ()
公用方法
設定
public void setUp (TestInformation testInfo)
執行測試目標設定。
參數 | |
---|---|
testInfo |
TestInformation :叫用的 TestInformation 。 |
擲回 | |
---|---|
BuildError |
|
DeviceNotAvailableException |
|
TargetSetupError |
TearDown
public void tearDown (TestInformation testInfo, Throwable e)
測試後,執行目標清理/拆除作業。
參數 | |
---|---|
testInfo |
TestInformation :呼叫的 TestInformation 。 |
e |
Throwable :如果叫用作業結束時發生例外狀況,則此值會是叫用層級偵測到的例外狀況。否則,將為 null 。 |
擲回 | |
---|---|
DeviceNotAvailableException |