Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/command/remote/
DRemoteManagerFuncTest.java77 EasyMock.expect(mMockDeviceManager.forceAllocateDevice("serial")).andReturn(device); in testAllocateFree()
136 EasyMock.expect(mMockDeviceManager.forceAllocateDevice("serial")).andReturn(device); in testAllocateClose()
160 EasyMock.expect(mMockDeviceManager.forceAllocateDevice("serial")).andReturn(device); in testAllocateFreeAll()
254 EasyMock.expect(mMockDeviceManager.forceAllocateDevice("serial")).andReturn(device); in testExecCommand()
280 EasyMock.expect(mMockDeviceManager.forceAllocateDevice("serial")).andReturn(device); in testConsecutiveExecCommand()
411 EasyMock.expect(mMockDeviceManager.forceAllocateDevice("serial")).andReturn(device); in testGetLastCommandResult_noActiveCommand()
436 EasyMock.expect(mMockDeviceManager.forceAllocateDevice("serial")).andReturn(device); in testGetLastCommandResult_executing()
467 EasyMock.expect(mMockDeviceManager.forceAllocateDevice("serial")).andReturn(device); in testGetLastCommandResult_notAvail()
DRemoteManagerTest.java172 verify(mMockDeviceManager).forceAllocateDevice(Mockito.eq("testserial")); in testProcessClientOperations_allocateDevice_fail()
180 .forceAllocateDevice(Mockito.eq("testserial")); in testProcessClientOperations_allocateDevice()
189 verify(mMockDeviceManager).forceAllocateDevice(Mockito.eq("testserial")); in testProcessClientOperations_allocateDevice()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/recovery/
DRunConfigDeviceRecoveryTest.java91 EasyMock.expect(mMockDeviceManager.forceAllocateDevice("serial")).andReturn(device); in testRecoverDevice_offline()
111 EasyMock.expect(mMockDeviceManager.forceAllocateDevice("serial")).andReturn(device); in testRecoverDevice_fastboot()
128 EasyMock.expect(mMockDeviceManager.forceAllocateDevice("serial")).andReturn(device); in testRecoverDevice_run()
/tools/tradefederation/core/src/com/android/tradefed/device/
DIDeviceManager.java87 public ITestDevice forceAllocateDevice(String serial); in forceAllocateDevice() method
DDeviceManager.java582 public ITestDevice forceAllocateDevice(String serial) { in forceAllocateDevice() method in DeviceManager
801 ITestDevice tcpDevice = forceAllocateDevice(ipAndPort); in connectToTcpDevice()
/tools/tradefederation/core/src/com/android/tradefed/device/recovery/
DRunConfigDeviceRecovery.java99 ITestDevice deviceToRecover = getDeviceManager().forceAllocateDevice(serial); in recoverDevices()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DDeviceManagerTest.java501 assertNotNull(manager.forceAllocateDevice("unknownserial")); in testForceAllocateDevice()
515 assertNotNull(manager.forceAllocateDevice(DEVICE_SERIAL)); in testForceAllocateDevice_available()
532 assertNull(manager.forceAllocateDevice(DEVICE_SERIAL)); in testForceAllocateDevice_alreadyAllocated()
DMockDeviceManager.java214 public ITestDevice forceAllocateDevice(String serial) { in forceAllocateDevice() method in MockDeviceManager
/tools/tradefederation/core/src/com/android/tradefed/command/remote/
DRemoteManager.java361 ITestDevice allocatedDevice = mDeviceManager.forceAllocateDevice(c.getDeviceSerial()); in processAllocate()