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)

원하는 수의 사용자를 생성할 수 있는지 확인합니다.

공개 메소드

설정

public void setUp (TestInformation testInfo)

매개변수
testInfo TestInformation

던지기
DeviceNotAvailableException
TargetSetupError

분해

public void tearDown (TestInformation testInfo, 
                Throwable e)

매개변수
testInfo TestInformation

e Throwable

던지기
DeviceNotAvailableException

보호된 방법

추가 사용자 생성 가능

protected boolean canCreateAdditionalUsers (ITestDevice device, 
                int numberOfUsers)

원하는 수의 사용자를 생성할 수 있는지 확인합니다.

매개변수
device ITestDevice

numberOfUsers int

보고
boolean

던지기
DeviceNotAvailableException