Google cam kết thúc đẩy công bằng chủng tộc cho Cộng đồng người da đen. Xem cách thực hiện.

Vô hiệu hóaSELinuxTargetPreparer

public class DisableSELinuxTargetPreparer
extends BaseTargetPreparer

java.lang.Object
com.android.tradefed.targetprep.BaseTargetPreparer
com.android.tradefed.targetprep.DisableSELinuxTargetPreparer


Trình chuẩn bị mục tiêu vô hiệu hóa SELinux nếu được bật.

Sẽ khôi phục lại trạng thái ban đầu khi bị phá hủy.

Bản tóm tắt

nhà thầu công cộng

DisableSELinuxTargetPreparer ()

Phương thức công khai

void setUp ( TestInformation testInfo)
void tearDown ( TestInformation testInfo, Throwable e)

nhà thầu công cộng

Vô hiệu hóaSELinuxTargetPreparer

public DisableSELinuxTargetPreparer ()

Phương thức công khai

cài đặt

public void setUp (TestInformation testInfo)

Thông số
testInfo TestInformation

ném
BuildError
DeviceNotAvailableException
TargetSetupError

phá bỏ

public void tearDown (TestInformation testInfo, 
                Throwable e)

Thông số
testInfo TestInformation

e Throwable

ném
DeviceNotAvailableException