Searched refs:Allocated (Results 1 – 11 of 11) sorted by relevance
/tools/tradefederation/core/remote/src/com/android/tradefed/device/ |
D | DeviceAllocationEventHandler.java | 44 return DeviceAllocationState.Allocated; in handleDeviceEvent() 80 return DeviceAllocationState.Allocated; in handleDeviceEvent() 116 return DeviceAllocationState.Allocated; in handleDeviceEvent() 152 return DeviceAllocationState.Allocated; in handleDeviceEvent() 172 return DeviceAllocationState.Allocated; in handleDeviceEvent()
|
D | DeviceAllocationState.java | 31 Allocated(new AllocatedHandler()), enumConstant
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | DeviceManagerTest.java | 287 .andReturn(new DeviceEventResponse(DeviceAllocationState.Allocated, true)); in testAllocateDevice() 304 .andReturn(new DeviceEventResponse(DeviceAllocationState.Allocated, true)); in testAllocateDevice_match() 322 .andReturn(new DeviceEventResponse(DeviceAllocationState.Allocated, true)); in testAllocateDevice_stubEmulator() 341 .andReturn(new DeviceEventResponse(DeviceAllocationState.Allocated, true)); in testFreeDevice_emulator() 349 .andReturn(new DeviceEventResponse(DeviceAllocationState.Allocated, true)); in testFreeDevice_emulator() 376 .andReturn(new DeviceEventResponse(DeviceAllocationState.Allocated, true)); in testAllocateDevice_nullDevice() 410 .andReturn(new DeviceEventResponse(DeviceAllocationState.Allocated, true)); in testAllocateDevice_fastboot() 422 .andReturn(new DeviceEventResponse(DeviceAllocationState.Allocated, true)); in testForceAllocateDevice() 437 .andReturn(new DeviceEventResponse(DeviceAllocationState.Allocated, true)); in testForceAllocateDevice_available() 450 .andReturn(DeviceAllocationState.Allocated); in testForceAllocateDevice_alreadyAllocated() [all …]
|
D | DeviceUtilStatsMonitorTest.java | 80 DeviceAllocationState.Allocated)); in testOnlyAllocated() 97 DeviceAllocationState.Allocated)); in testExceededSamples() 121 DeviceAllocationState.Allocated)); in testMissingDevice()
|
D | DeviceUtilStatsMonitorLoadTest.java | 68 … DeviceDescriptor device = createDeviceDesc("serial" + i, DeviceAllocationState.Allocated); in testManyRecords()
|
D | MockDeviceManager.java | 205 DeviceAllocationState.Allocated, DeviceAllocationState.Available); in freeDevice() 261 DeviceAllocationState.Allocated); in allocateDevice()
|
D | TestDeviceTest.java | 1951 assertEquals(DeviceAllocationState.Allocated, mTestDevice.getAllocationState()); in testHandleAllocationEvent() 1960 assertEquals(DeviceAllocationState.Allocated, mTestDevice.getAllocationState()); in testHandleAllocationEvent()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | DeviceUtilStatsMonitor.java | 120 if (DeviceAllocationState.Allocated.equals(state)) { in addSample() 249 if (DeviceAllocationState.Allocated.equals(newState)) { in notifyDeviceStateChange()
|
D | ManagedDeviceList.java | 59 return r.stateChanged && r.allocationState == DeviceAllocationState.Allocated; in matches()
|
D | DeviceManager.java | 509 if (r.stateChanged && r.allocationState == DeviceAllocationState.Allocated) { in forceAllocateDevice() 988 desc.getState() != DeviceAllocationState.Allocated) { in addDevicesInfo()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/command/remote/ |
D | RemoteManagerFuncTest.java | 213 DeviceAllocationState.Allocated, in testListDevices() 239 assertEquals(DeviceAllocationState.Allocated, returnedDevices.get(1).getState()); in testListDevices()
|