SwitchUserTargetPreparer

public class SwitchUserTargetPreparer
extends BaseTargetPreparer

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


ITargetPreparer ที่สลับไปยังประเภทผู้ใช้ที่ระบุในการตั้งค่า ตามค่าเริ่มต้น จะยังคงอยู่ในผู้ใช้ปัจจุบัน และไม่มีการสลับใดๆ

พยายามกู้คืนสถานะผู้ใช้อุปกรณ์โดยเปลี่ยนกลับไปเป็นผู้ใช้ปัจจุบันก่อนดำเนินการ

สรุป

ผู้สร้างสาธารณะ

SwitchUserTargetPreparer ()

วิธีการสาธารณะ

void setUp ( TestInformation testInformation)
void tearDown ( TestInformation testInformation, Throwable e)

ผู้สร้างสาธารณะ

SwitchUserTargetPreparer

public SwitchUserTargetPreparer ()

วิธีการสาธารณะ

ติดตั้ง

public void setUp (TestInformation testInformation)

พารามิเตอร์
testInformation TestInformation

พ่น
DeviceNotAvailableException
TargetSetupError

การถอดออก

public void tearDown (TestInformation testInformation, 
                Throwable e)

พารามิเตอร์
testInformation TestInformation

e Throwable

พ่น
DeviceNotAvailableException