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 |
tearDown
public void tearDown (TestInformation testInfo, Throwable e)
매개변수 | |
---|---|
testInfo | TestInformation |
e | Throwable |
던지기 | |
---|---|
DeviceNotAvailableException |