DeviceOwnerTargetPreparer

public class DeviceOwnerTargetPreparer
extends BaseTargetPreparer implements IConfigurationReceiver

java.lang.Object
com.android.tradefed.targetprep.BaseTargetPreparer
com.android.tradefed.targetprep.DeviceOwnerTargetPreparer


Cihaz sahibi bileşenini ayarlayan bir ITargetPreparer .

Yeni cihaz sahibi belirlenmeden mevcut cihaz ve profil sahipleri ve ikincil kullanıcılar kaldırılır.

Sökme işleminde cihazın sahibi çıkarılır.

Özet

Kamu inşaatçıları

DeviceOwnerTargetPreparer ()

Genel yöntemler

void setConfiguration ( IConfiguration configuration)

Kullanımdaki IConfiguration enjekte eder.

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

Kamu inşaatçıları

DeviceOwnerTargetPreparer

public DeviceOwnerTargetPreparer ()

Genel yöntemler

setYapılandırma

public void setConfiguration (IConfiguration configuration)

Kullanımdaki IConfiguration enjekte eder.

Parametreler
configuration IConfiguration

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