Home
last modified time | relevance | path

Searched refs:Unavailable (Results 1 – 9 of 9) sorted by relevance

/tools/tradefederation/core/remote/src/com/android/tradefed/device/
DDeviceAllocationEventHandler.java48 return DeviceAllocationState.Unavailable; in handleDeviceEvent()
52 return DeviceAllocationState.Unavailable; in handleDeviceEvent()
86 return DeviceAllocationState.Unavailable; in handleDeviceEvent()
92 return DeviceAllocationState.Unavailable; in handleDeviceEvent()
94 return DeviceAllocationState.Unavailable; in handleDeviceEvent()
121 return DeviceAllocationState.Unavailable; in handleDeviceEvent()
147 return DeviceAllocationState.Unavailable; in handleDeviceEvent()
181 return DeviceAllocationState.Unavailable; in handleDeviceEvent()
DDeviceAllocationState.java29 Unavailable(new UnavailableHandler()), enumConstant
/tools/tradefederation/core/src/com/android/tradefed/service/management/
DDeviceManagementGrpcServer.java187 } else if (DeviceAllocationState.Unavailable.equals(descriptor.getState())) { in reserveDevice()
279 case Unavailable: in allocationStateToReservation()
/tools/tradefederation/core/javatests/com/android/tradefed/service/management/
DDeviceManagementGrpcServerTest.java87 descriptors.add(createDescriptor("serial3", DeviceAllocationState.Unavailable)); in testGetDevicesStatus()
227 .thenReturn(createDescriptor("serial1", DeviceAllocationState.Unavailable)); in testReserve_unavailable()
/tools/tradefederation/core/javatests/com/android/tradefed/device/recovery/
DUsbResetMultiDeviceRecoveryTest.java111 when(mDevice.getAllocationState()).thenReturn(DeviceAllocationState.Unavailable); in testRecover_unavailable()
/tools/tradefederation/core/src/com/android/tradefed/device/
DManagedDeviceList.java306 if (d == null || DeviceAllocationState.Unavailable.equals(d.getAllocationState())) {
DDeviceManager.java476 if (r.stateChanged && r.allocationState == DeviceAllocationState.Unavailable) { in checkAndAddAvailableDevice()
/tools/tradefederation/core/javatests/com/android/tradefed/cluster/
DClusterCommandSchedulerTest.java326 deviceList.add(createDevice("product3", "variant3", DeviceAllocationState.Unavailable));
348 deviceList.add(createDevice("product3", "variant3", DeviceAllocationState.Unavailable));
373 deviceList.add(createDevice("product3", "variant3", DeviceAllocationState.Unavailable));
389 deviceList.add(createDevice("product2", "variant2", DeviceAllocationState.Unavailable));
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DDeviceManagerTest.java610 .thenReturn(new DeviceEventResponse(DeviceAllocationState.Unavailable, true)); in testSetState_offline()