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 |