DeviceAllocationState

public final enum DeviceAllocationState
extends Enum<DeviceAllocationState>

java.lang.Object
   ↳ java.lang.Enum<com.android.tradefed.device.DeviceAllocationState>
     ↳ com.android.tradefed.device.DeviceAllocationState


แสดงสถานะการจัดสรรของอุปกรณ์จากมุมมอง IDeviceManager

สรุป

ค่า enum

DeviceAllocationState  Allocated

อุปกรณ์มีการจัดสรรไว้สำหรับการทดสอบ 

DeviceAllocationState  Available

อุปกรณ์พร้อมที่จะจัดสรรสำหรับการทดสอบ 

DeviceAllocationState  Checking_Availability

อุปกรณ์กำลังอยู่ระหว่างการตรวจสอบการตอบสนอง 

DeviceAllocationState  Ignored

อุปกรณ์ไม่ตรงกับตัวกรองอุปกรณ์ส่วนกลาง และ TF นี้จะละเว้น 

DeviceAllocationState  Unavailable

อุปกรณ์มองเห็นได้ผ่าน ADB แต่อยู่ในสถานะข้อผิดพลาดที่ทำให้ทำการทดสอบไม่ได้ 

DeviceAllocationState  Unknown

สถานะเริ่มต้นของอุปกรณ์ - ไม่ควรอยู่ในสถานะนี้นาน 

เมธอดสาธารณะ

DeviceAllocationState handleDeviceEvent(DeviceEvent event)
static DeviceAllocationState valueOf(String name)
static final DeviceAllocationState[] values()

ค่า enum

จัดสรรแล้ว

public static final DeviceAllocationState Allocated

อุปกรณ์มีการจัดสรรไว้สำหรับการทดสอบ

ใช้งานได้

public static final DeviceAllocationState Available

อุปกรณ์พร้อมที่จะจัดสรรสำหรับการทดสอบ

Checking_Availability

public static final DeviceAllocationState Checking_Availability

กำลังตรวจสอบการตอบสนองของอุปกรณ์

ละเว้น

public static final DeviceAllocationState Ignored

อุปกรณ์ไม่ตรงกับตัวกรองอุปกรณ์ส่วนกลาง และ TF นี้จะละเว้น

ไม่พร้อมใช้งาน

public static final DeviceAllocationState Unavailable

อุปกรณ์มองเห็นได้ผ่าน ADB แต่อยู่ในสถานะข้อผิดพลาดที่ทำให้ทำการทดสอบไม่ได้

ไม่ทราบ

public static final DeviceAllocationState Unknown

สถานะเริ่มต้นของอุปกรณ์ - ไม่ควรอยู่ในสถานะนี้นาน

เมธอดสาธารณะ

handleDeviceEvent

public DeviceAllocationState handleDeviceEvent (DeviceEvent event)

พารามิเตอร์
event DeviceEvent

คิกรีเทิร์น
DeviceAllocationState

valueOf

public static DeviceAllocationState valueOf (String name)

พารามิเตอร์
name String

คิกรีเทิร์น
DeviceAllocationState

values

public static final DeviceAllocationState[] values ()

คิกรีเทิร์น
DeviceAllocationState[]