장치할당상태

public final enum DeviceAllocationState
extends Enum< DeviceAllocationState >

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


IDeviceManager 관점에서 장치의 할당 상태를 나타냅니다.

요약

열거형 값

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 ()

열거형 값

할당됨

public static final DeviceAllocationState Allocated

장치가 현재 테스트에 할당되어 있습니다.

사용 가능

public static final DeviceAllocationState Available

장치를 테스트에 할당할 수 있습니다.

가능 여부 확인

public static final DeviceAllocationState Checking_Availability

현재 장치의 응답성을 확인 중입니다.

무시됨

public static final DeviceAllocationState Ignored

기기가 전역 기기 필터와 일치하지 않으며 이 TF에서 무시됩니다.

없는

public static final DeviceAllocationState Unavailable

기기가 adb를 통해 표시되지만 테스트 실행을 방해하는 오류 상태에 있습니다.

알려지지 않은

public static final DeviceAllocationState Unknown

장치의 초기 상태 - 여기에 오랫동안 머물러서는 안 됩니다.

공개 메소드

HandleDevice이벤트

public DeviceAllocationState handleDeviceEvent (DeviceEvent event)

매개변수
event DeviceEvent

보고
DeviceAllocationState

가치

public static DeviceAllocationState valueOf (String name)

매개변수
name String

보고
DeviceAllocationState

가치

public static final DeviceAllocationState[] values ()

보고
DeviceAllocationState[]