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 값
Checking_Availability
public static final DeviceAllocationState Checking_Availability
기기의 응답 여부를 현재 확인 중입니다.
사용할 수 없음
public static final DeviceAllocationState Unavailable
기기가 adb를 통해 표시되지만 테스트를 실행할 수 없는 오류 상태입니다.
공개 메서드
handleDeviceEvent
public DeviceAllocationState handleDeviceEvent (DeviceEvent event)
매개변수 | |
---|---|
event |
DeviceEvent |
반환 값 | |
---|---|
DeviceAllocationState |
valueOf
public static DeviceAllocationState valueOf (String name)
매개변수 | |
---|---|
name |
String |
반환 값 | |
---|---|
DeviceAllocationState |