DeviceOwnerTargetPreparer

public class DeviceOwnerTargetPreparer
extends BaseTargetPreparer implements IConfigurationReceiver

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


ITargetPreparer الذي يقوم بإعداد مكون مالك الجهاز.

تتم إزالة مالكي الأجهزة والملفات الشخصية الحاليين والمستخدمين الثانويين قبل تعيين مالك الجهاز الجديد.

في عملية التفكيك، تتم إزالة مالك الجهاز.

ملخص

المقاولين العامة

DeviceOwnerTargetPreparer ()

الأساليب العامة

void setConfiguration ( IConfiguration configuration)

يقوم بإدخال IConfiguration قيد الاستخدام.

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

المقاولين العامة

DeviceOwnerTargetPreparer

public DeviceOwnerTargetPreparer ()

الأساليب العامة

setConfiguration

public void setConfiguration (IConfiguration configuration)

يقوم بإدخال IConfiguration قيد الاستخدام.

حدود
configuration IConfiguration

يثبت

public void setUp (TestInformation testInfo)

حدود
testInfo TestInformation

رميات
DeviceNotAvailableException
TargetSetupError

تمزيق

public void tearDown (TestInformation testInfo, 
                Throwable e)

حدود
testInfo TestInformation

e Throwable

رميات
DeviceNotAvailableException