ProfileTargetPreparer
public
abstract
class
ProfileTargetPreparer
extends BaseTargetPreparer
| java.lang.Object | ||
| ↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
| ↳ | com.android.tradefed.targetprep.ProfileTargetPreparer | |
프로필 사용자 android.os.usertype.profile.XXX의 타겟 준비자를 설정하기 위한 기본 클래스입니다.
요약
공개 메서드 | |
|---|---|
void
|
setUp(TestInformation testInfo)
|
void
|
tearDown(TestInformation testInfo, Throwable e)
|
보호된 메서드 | |
|---|---|
boolean
|
canCreateAdditionalUsers(ITestDevice device, int numberOfUsers)
원하는 수의 사용자를 만들 수 있는지 확인합니다. |
공개 메서드
setUp
public void setUp (TestInformation testInfo)
| 매개변수 | |
|---|---|
testInfo |
TestInformation |
| 생성 값 | |
|---|---|
DeviceNotAvailableException |
|
TargetSetupError |
|
tearDown
public void tearDown (TestInformation testInfo, Throwable e)
| 매개변수 | |
|---|---|
testInfo |
TestInformation |
e |
Throwable |
| 생성 값 | |
|---|---|
DeviceNotAvailableException |
|
보호된 메서드
canCreateAdditionalUsers
protected boolean canCreateAdditionalUsers (ITestDevice device, int numberOfUsers)
원하는 수의 사용자를 만들 수 있는지 확인합니다.
| 매개변수 | |
|---|---|
device |
ITestDevice |
numberOfUsers |
int |
| 반환 값 | |
|---|---|
boolean |
|
| 생성 값 | |
|---|---|
DeviceNotAvailableException |
|