VisibleBackgroundUserPreparer
public class VisibleBackgroundUserPreparer
extends BaseTargetPreparer
java.lang.Object | ||
↳ | 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 |