SELinuxTargetPreparer を無効にする
public class DisableSELinuxTargetPreparer
extends BaseTargetPreparer
java.lang.オブジェクト | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.DisableSELinuxTargetPreparer |
SELinux が有効になっている場合は無効にするターゲット プリペアラー。
分解すると元の状態に戻ります。
まとめ
パブリックコンストラクター | |
---|---|
DisableSELinuxTargetPreparer () |
パブリックメソッド | |
---|---|
void | setUp ( TestInformation testInfo) |
void | tearDown ( TestInformation testInfo, Throwable e) |
パブリックコンストラクター
SELinuxTargetPreparer を無効にする
public DisableSELinuxTargetPreparer ()
パブリックメソッド
設定
public void setUp (TestInformation testInfo)
パラメーター | |
---|---|
testInfo | TestInformation |
投げる | |
---|---|
BuildError | |
DeviceNotAvailableException | |
TargetSetupError |
取り壊す
public void tearDown (TestInformation testInfo, Throwable e)
パラメーター | |
---|---|
testInfo | TestInformation |
e | Throwable |
投げる | |
---|---|
DeviceNotAvailableException |