安裝 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 ()
公用方法
setUp
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 |