DeviceOwnerTargetPreparer
public class DeviceOwnerTargetPreparer
extends BaseTargetPreparer
implements IConfigurationReceiver
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.DeviceOwnerTargetPreparer |
장치 소유자 구성 요소를 설정하는 ITargetPreparer
입니다.
새 장치 소유자가 설정되기 전에 기존 장치 및 프로필 소유자와 보조 사용자가 제거됩니다.
분해 시 장치 소유자가 제거됩니다.
요약
공개 생성자 | |
---|---|
DeviceOwnerTargetPreparer () |
공개 메소드 | |
---|---|
void | setConfiguration ( IConfiguration configuration) 사용 중인 |
void | setUp ( TestInformation testInfo) |
void | tearDown ( TestInformation testInfo, Throwable e) |
공개 생성자
DeviceOwnerTargetPreparer
public DeviceOwnerTargetPreparer ()
공개 메소드
setConfiguration
public void setConfiguration (IConfiguration configuration)
사용 중인 IConfiguration
삽입합니다.
매개변수 | |
---|---|
configuration | IConfiguration |
설정
public void setUp (TestInformation testInfo)
매개변수 | |
---|---|
testInfo | TestInformation |
던지기 | |
---|---|
DeviceNotAvailableException | |
TargetSetupError |
분해
public void tearDown (TestInformation testInfo, Throwable e)
매개변수 | |
---|---|
testInfo | TestInformation |
e | Throwable |
던지기 | |
---|---|
DeviceNotAvailableException |