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