DeviceOwnerTargetPreparer

public class DeviceOwnerTargetPreparer
extends BaseTargetPreparer implements IConfigurationReceiver

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


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

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

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

ملخص

المنشأت العامة

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