InstallKernelModulePreparer

public class InstallKernelModulePreparer
extends BaseTargetPreparer implements ILabPreparer

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


Trình chuẩn bị mục tiêu cài đặt các mô-đun hạt nhân. Vui lòng xem https://source.android.com/docs/core/architecture/kernel/modules để biết thông tin chi tiết.

Tóm tắt

Hàm khởi tạo công khai

InstallKernelModulePreparer()

Phương thức công khai

void setUp(TestInformation testInfo)

Thực hiện thiết lập mục tiêu để kiểm thử.

void tearDown(TestInformation testInfo, Throwable e)

Thực hiện việc dọn dẹp/gỡ bỏ mục tiêu sau khi kiểm thử.

Hàm khởi tạo công khai

InstallKernelModulePreparer

public InstallKernelModulePreparer ()

Phương thức công khai

setUp

public void setUp (TestInformation testInfo)

Thực hiện thiết lập mục tiêu để kiểm thử.

Tham số
testInfo TestInformation: TestInformation của lệnh gọi.

Gửi
BuildError
DeviceNotAvailableException
TargetSetupError

tearDown

public void tearDown (TestInformation testInfo, 
                Throwable e)

Thực hiện việc dọn dẹp/gỡ bỏ mục tiêu sau khi kiểm thử.

Tham số
testInfo TestInformation: TestInformation của lệnh gọi.

e Throwable: nếu lệnh gọi kết thúc bằng một ngoại lệ, thì đây sẽ là ngoại lệ được phát hiện ở cấp Lệnh gọi. Nếu không, sẽ là null.

Gửi
DeviceNotAvailableException