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