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

setUp

public void setUp (TestInformation testInfo)

المعلمات
testInfo TestInformation

عمليات الرمي
DeviceNotAvailableException
TargetSetupError

tearDown

public void tearDown (TestInformation testInfo, 
                Throwable e)

المعلمات
testInfo TestInformation

e Throwable

عمليات الرمي
DeviceNotAvailableException