VisibleBackgroundUserPreparer

public class VisibleBackgroundUserPreparer
extends BaseTargetPreparer

java.lang.オブジェクト
com.android.tradefed.targetprep.BaseTargetPreparer
com.android.tradefed.targetprep.VisibleBackgroundUserPreparer


ユーザー内でテストを実行するためのターゲット準備プログラムは、バックグラウンドで表示され、開始されます。

まとめ

定数

int DEFAULT_DISPLAY

int INVALID_DISPLAY

パブリックコンストラクター

VisibleBackgroundUserPreparer ()

パブリックメソッド

Integer getDisplayId ()
void setDisplayId (int displayId)
void setUp ( TestInformation testInfo)
void tearDown ( TestInformation testInfo, Throwable e)

定数

DEFAULT_DISPLAY

public static final int DEFAULT_DISPLAY

定数値: 0 (0x00000000)

INVALID_DISPLAY

public static final int INVALID_DISPLAY

定数値: -1 (0xffffffff)

パブリックコンストラクター

VisibleBackgroundUserPreparer

public VisibleBackgroundUserPreparer ()

パブリックメソッド

getDisplayId

public Integer getDisplayId ()

戻り値
Integer

setDisplayId

public void setDisplayId (int displayId)

パラメーター
displayId int

設定

public void setUp (TestInformation testInfo)

パラメーター
testInfo TestInformation

投げる
BuildError
DeviceNotAvailableException
TargetSetupError

取り壊す

public void tearDown (TestInformation testInfo, 
                Throwable e)

パラメーター
testInfo TestInformation

e Throwable

投げる
DeviceNotAvailableException