ProfilHedefiHazırlayıcı

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 için temel sınıf.

Özet

Genel yöntemler

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

Korumalı yöntemler

boolean canCreateAdditionalUsers ( ITestDevice device, int numberOfUsers)

İstenilen sayıda kullanıcı oluşturmanın mümkün olup olmadığını kontrol eder.

Genel yöntemler

kurmak

public void setUp (TestInformation testInfo)

Parametreler
testInfo TestInformation

Atar
DeviceNotAvailableException
TargetSetupError

sökmek

public void tearDown (TestInformation testInfo, 
                Throwable e)

Parametreler
testInfo TestInformation

e Throwable

Atar
DeviceNotAvailableException

Korumalı yöntemler

canCreateEk Kullanıcılar

protected boolean canCreateAdditionalUsers (ITestDevice device, 
                int numberOfUsers)

İstenilen sayıda kullanıcı oluşturmanın mümkün olup olmadığını kontrol eder.

Parametreler
device ITestDevice

numberOfUsers int

İadeler
boolean

Atar
DeviceNotAvailableException