ProfileTargetPreparer

public abstract class ProfileTargetPreparer
extends BaseTargetPreparer

java.lang.Object
   ↳ com.android.tradefed.targetprep.BaseTargetPreparer
     ↳ com.android.tradefed.targetprep.ProfileTargetPreparer


Herhangi bir profil kullanıcısı android.os.usertype.profile.XXX için hedef hazırlayıcıyı ayarlamak üzere kullanılan temel sınıf.

Özet

Herkese açık yöntemler

void setUp(TestInformation testInfo)
void tearDown(TestInformation testInfo, Throwable e)

Korunan yöntemler

boolean canCreateAdditionalUsers(ITestDevice device, int numberOfUsers)

İstenilen sayıda kullanıcının oluşturulup oluşturulamayacağını kontrol eder.

Herkese açık yöntemler

setUp

public void setUp (TestInformation testInfo)

Parametreler
testInfo TestInformation

Atışlar
DeviceNotAvailableException
TargetSetupError

tearDown

public void tearDown (TestInformation testInfo, 
                Throwable e)

Parametreler
testInfo TestInformation

e Throwable

Atışlar
DeviceNotAvailableException

Korunan yöntemler

canCreateAdditionalUsers

protected boolean canCreateAdditionalUsers (ITestDevice device, 
                int numberOfUsers)

İstenilen sayıda kullanıcının oluşturulup oluşturulamayacağını kontrol eder.

Parametreler
device ITestDevice

numberOfUsers int

İlerlemeler
boolean

Atışlar
DeviceNotAvailableException