Searched refs:Allocated (Results 1 – 18 of 18) sorted by relevance
44 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()
31 Allocated(new AllocatedHandler()), enumConstant
272 .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 …]
213 DeviceAllocationState.Allocated); in allocateDevice()225 DeviceAllocationState.Allocated, in freeDevice()
2846 assertEquals(DeviceAllocationState.Allocated, mTestDevice.getAllocationState()); in testHandleAllocationEvent()2855 assertEquals(DeviceAllocationState.Allocated, mTestDevice.getAllocationState()); in testHandleAllocationEvent()
86 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()
33 // Allocated size for 'bytes' and 'string' fields.36 // Allocated number of entries in arrays ('repeated' fields)
66 DeviceAllocationState.Allocated, in testSerialization_withIDevice()
78 "", false, DeviceAllocationState.Allocated, "", "", "", "", ""); in getDeviceDescriptor()
181 if (DeviceAllocationState.Allocated.equals(descriptor.getState())) { in reserveDevice()274 case Allocated: in allocationStateToReservation()
124 return !DeviceAllocationState.Allocated.equals(state) in shouldReset()
69 if (DeviceAllocationState.Allocated.equals(device.getAllocationState())) { in recoverDevices()
80 when(mMockTestDevice.getAllocationState()).thenReturn(DeviceAllocationState.Allocated); in testRecoverDevice_allocated()
125 when(mDevice.getAllocationState()).thenReturn(DeviceAllocationState.Allocated); in testRecover_fastboot_allocated()
323 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));
79 r.stateChanged && r.allocationState == DeviceAllocationState.Allocated; in matches()
684 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()
5398 if (DeviceAllocationState.Allocated.equals(getAllocationState())) { in getCachedDeviceDescriptor()