Home
last modified time | relevance | path

Searched refs:Allocated (Results 1 – 18 of 18) sorted by relevance

/tools/tradefederation/core/remote/src/com/android/tradefed/device/
DDeviceAllocationEventHandler.java44 return DeviceAllocationState.Allocated; in handleDeviceEvent()
82 return DeviceAllocationState.Allocated; in handleDeviceEvent()
119 return DeviceAllocationState.Allocated; in handleDeviceEvent()
155 return DeviceAllocationState.Allocated; in handleDeviceEvent()
175 return DeviceAllocationState.Allocated; in handleDeviceEvent()
205 return DeviceAllocationState.Allocated; in handleDeviceEvent()
207 return DeviceAllocationState.Allocated; in handleDeviceEvent()
DDeviceAllocationState.java31 Allocated(new AllocatedHandler()), enumConstant
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DDeviceManagerTest.java272 .thenReturn(new DeviceEventResponse(DeviceAllocationState.Allocated, true)); in testAllocateDevice()
286 .thenReturn(new DeviceEventResponse(DeviceAllocationState.Allocated, true)); in testAllocateDevice_match()
304 .thenReturn(new DeviceEventResponse(DeviceAllocationState.Allocated, true)); in testAllocateDevice_match_temporary()
338 .thenReturn(new DeviceEventResponse(DeviceAllocationState.Allocated, true)); in testAllocateDevice_stubEmulator()
376 .thenReturn(new DeviceEventResponse(DeviceAllocationState.Allocated, true)); in testFreeDevice_emulator()
385 .thenReturn(new DeviceEventResponse(DeviceAllocationState.Allocated, true)); in testFreeDevice_emulator()
414 .thenReturn(new DeviceEventResponse(DeviceAllocationState.Allocated, true)); in testAllocateDevice_nullDevice()
437 .thenReturn(new DeviceEventResponse(DeviceAllocationState.Allocated, true)); in testForceAllocateDevice_available()
448 .thenReturn(new DeviceEventResponse(DeviceAllocationState.Allocated, true)); in testForceAllocateDevice_alreadyAllocated()
450 .thenReturn(new DeviceEventResponse(DeviceAllocationState.Allocated, false)); in testForceAllocateDevice_alreadyAllocated()
[all …]
DMockDeviceManager.java213 DeviceAllocationState.Allocated); in allocateDevice()
225 DeviceAllocationState.Allocated, in freeDevice()
DTestDeviceTest.java2846 assertEquals(DeviceAllocationState.Allocated, mTestDevice.getAllocationState()); in testHandleAllocationEvent()
2855 assertEquals(DeviceAllocationState.Allocated, mTestDevice.getAllocationState()); in testHandleAllocationEvent()
/tools/tradefederation/core/javatests/com/android/tradefed/service/management/
DDeviceManagementGrpcServerTest.java86 descriptors.add(createDescriptor("serial2", DeviceAllocationState.Allocated)); in testGetDevicesStatus()
117 .thenReturn(createDescriptor("serial2", DeviceAllocationState.Allocated)); in testGetDevicesStatus_filter()
135 .thenReturn(createDescriptor("serial1", DeviceAllocationState.Allocated)); in testReserveAndRelease_freeDevice()
183 .thenReturn(createDescriptor("serial1", DeviceAllocationState.Allocated)); in testReserveAndRelease_notFreeDevice()
210 .thenReturn(createDescriptor("serial1", DeviceAllocationState.Allocated)); in testReserve_allocated()
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/
Dnanopb.proto33 // Allocated size for 'bytes' and 'string' fields.
36 // Allocated number of entries in arrays ('repeated' fields)
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DTargetSetupErrorTest.java66 DeviceAllocationState.Allocated, in testSerialization_withIDevice()
/tools/tradefederation/core/javatests/com/android/tradefed/device/cloud/
DRemoteAndroidVirtualDeviceTest.java78 "", false, DeviceAllocationState.Allocated, "", "", "", "", ""); in getDeviceDescriptor()
/tools/tradefederation/core/src/com/android/tradefed/service/management/
DDeviceManagementGrpcServer.java181 if (DeviceAllocationState.Allocated.equals(descriptor.getState())) { in reserveDevice()
274 case Allocated: in allocationStateToReservation()
/tools/tradefederation/core/src/com/android/tradefed/device/recovery/
DUsbResetMultiDeviceRecovery.java124 return !DeviceAllocationState.Allocated.equals(state) in shouldReset()
DRunConfigDeviceRecovery.java69 if (DeviceAllocationState.Allocated.equals(device.getAllocationState())) { in recoverDevices()
/tools/tradefederation/core/javatests/com/android/tradefed/device/recovery/
DRunConfigDeviceRecoveryTest.java80 when(mMockTestDevice.getAllocationState()).thenReturn(DeviceAllocationState.Allocated); in testRecoverDevice_allocated()
DUsbResetMultiDeviceRecoveryTest.java125 when(mDevice.getAllocationState()).thenReturn(DeviceAllocationState.Allocated); in testRecover_fastboot_allocated()
/tools/tradefederation/core/javatests/com/android/tradefed/cluster/
DClusterCommandSchedulerTest.java323 deviceList.add(createDevice("product2", "variant2", DeviceAllocationState.Allocated));
325 deviceList.add(createDevice("product3", "variant3", DeviceAllocationState.Allocated));
345 deviceList.add(createDevice("product2", "variant2", DeviceAllocationState.Allocated));
347 deviceList.add(createDevice("product3", "variant3", DeviceAllocationState.Allocated));
371 deviceList.add(createDevice("product2", "variant2", DeviceAllocationState.Allocated));
388 deviceList.add(createDevice("product1", "variant1", DeviceAllocationState.Allocated));
/tools/tradefederation/core/src/com/android/tradefed/device/
DManagedDeviceList.java79 r.stateChanged && r.allocationState == DeviceAllocationState.Allocated; in matches()
DDeviceManager.java684 if (r.stateChanged && r.allocationState == DeviceAllocationState.Allocated) { in forceAllocateDevice()
961 if (r.stateChanged && r.allocationState == DeviceAllocationState.Allocated) { in connectToTcpDevice()
1268 if (desc.isStubDevice() && desc.getState() != DeviceAllocationState.Allocated) { in addDevicesInfo()
DNativeDevice.java5398 if (DeviceAllocationState.Allocated.equals(getAllocationState())) { in getCachedDeviceDescriptor()