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 |
setUp
public void setUp (TestInformation testInfo)
매개변수 | |
---|---|
testInfo |
TestInformation |
생성 값 | |
---|---|
DeviceNotAvailableException |
|
TargetSetupError |
tearDown
public void tearDown (TestInformation testInfo, Throwable e)
매개변수 | |
---|---|
testInfo |
TestInformation |
e |
Throwable |
생성 값 | |
---|---|
DeviceNotAvailableException |