VisibleBackgroundUserPreparer

public class VisibleBackgroundUserPreparer
extends BaseTargetPreparer

java.lang.Object
   ↳ com.android.tradefed.targetprep.BaseTargetPreparer
     ↳ com.android.tradefed.targetprep.VisibleBackgroundUserPreparer


تحضير الاستهداف لتشغيل الاختبارات في مستخدم تم تشغيله في وضع "مرئية في الخلفية"

ملخّص

الثابتات

int DEFAULT_DISPLAY

int INVALID_DISPLAY

وظائف الإنشاء العامة

VisibleBackgroundUserPreparer()

الطرق العامة

Integer getDisplayId()
void setDisplayId(int displayId)
void setUp(TestInformation testInfo)
void tearDown(TestInformation testInfo, Throwable e)

الثابتات

DEFAULT_DISPLAY

public static final int DEFAULT_DISPLAY

القيمة الثابتة: 0 (0x00000000)

INVALID_DISPLAY

public static final int INVALID_DISPLAY

القيمة الثابتة: -1 (0xffffffff)

وظائف الإنشاء العامة

VisibleBackgroundUserPreparer

public VisibleBackgroundUserPreparer ()

الطرق العامة

getDisplayId

public Integer getDisplayId ()

المرتجعات
Integer

setDisplayId

public void setDisplayId (int displayId)

المعلمات
displayId int

setUp

public void setUp (TestInformation testInfo)

المعلمات
testInfo TestInformation

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

tearDown

public void tearDown (TestInformation testInfo, 
                Throwable e)

المعلمات
testInfo TestInformation

e Throwable

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