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 canCreateAdditionalProfiles(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

保護されたメソッド

canCreateAdditionalProfiles

protected boolean canCreateAdditionalProfiles (ITestDevice device, 
                int numberOfUsers)

必要な数のユーザーを作成できるかどうかを確認します。

パラメータ
device ITestDevice

numberOfUsers int

戻り値
boolean

例外
DeviceNotAvailableException