Home
last modified time | relevance | path

Searched refs:forceAllocateDevice (Results 1 – 6 of 6) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/device/recovery/
DRunConfigDeviceRecoveryTest.java90 when(mMockDeviceManager.forceAllocateDevice("serial")).thenReturn(device); in testRecoverDevice_offline()
107 when(mMockDeviceManager.forceAllocateDevice("serial")).thenReturn(device); in testRecoverDevice_fastboot()
121 when(mMockDeviceManager.forceAllocateDevice("serial")).thenReturn(device); in testRecoverDevice_run()
/tools/tradefederation/core/src/com/android/tradefed/device/
DIDeviceManager.java89 public ITestDevice forceAllocateDevice(String serial); in forceAllocateDevice() method
DDeviceManager.java679 public ITestDevice forceAllocateDevice(String serial) { in forceAllocateDevice() method in DeviceManager
/tools/tradefederation/core/src/com/android/tradefed/device/recovery/
DRunConfigDeviceRecovery.java98 ITestDevice deviceToRecover = getDeviceManager().forceAllocateDevice(serial); in recoverDevices()
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DMockDeviceManager.java232 public ITestDevice forceAllocateDevice(String serial) { in forceAllocateDevice() method in MockDeviceManager
DDeviceManagerTest.java429 assertNull(manager.forceAllocateDevice("unknownserial")); in testForceAllocateDevice()
440 assertNotNull(manager.forceAllocateDevice(DEVICE_SERIAL)); in testForceAllocateDevice_available()
454 assertNull(manager.forceAllocateDevice(DEVICE_SERIAL)); in testForceAllocateDevice_alreadyAllocated()