Home
last modified time | relevance | path

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

/tools/tradefederation/core/remote/src/com/android/tradefed/device/
DDeviceAllocationEventHandler.java44 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()
DDeviceAllocationState.java31 Allocated(new AllocatedHandler()), enumConstant
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DDeviceManagerTest.java287 .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 …]
DDeviceUtilStatsMonitorTest.java80 DeviceAllocationState.Allocated)); in testOnlyAllocated()
97 DeviceAllocationState.Allocated)); in testExceededSamples()
121 DeviceAllocationState.Allocated)); in testMissingDevice()
DDeviceUtilStatsMonitorLoadTest.java68 … DeviceDescriptor device = createDeviceDesc("serial" + i, DeviceAllocationState.Allocated); in testManyRecords()
DMockDeviceManager.java205 DeviceAllocationState.Allocated, DeviceAllocationState.Available); in freeDevice()
261 DeviceAllocationState.Allocated); in allocateDevice()
DTestDeviceTest.java1951 assertEquals(DeviceAllocationState.Allocated, mTestDevice.getAllocationState()); in testHandleAllocationEvent()
1960 assertEquals(DeviceAllocationState.Allocated, mTestDevice.getAllocationState()); in testHandleAllocationEvent()
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceUtilStatsMonitor.java120 if (DeviceAllocationState.Allocated.equals(state)) { in addSample()
249 if (DeviceAllocationState.Allocated.equals(newState)) { in notifyDeviceStateChange()
DManagedDeviceList.java59 return r.stateChanged && r.allocationState == DeviceAllocationState.Allocated; in matches()
DDeviceManager.java509 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/
DRemoteManagerFuncTest.java213 DeviceAllocationState.Allocated, in testListDevices()
239 assertEquals(DeviceAllocationState.Allocated, returnedDevices.get(1).getState()); in testListDevices()