Home
last modified time | relevance | path

Searched refs:forceAllocateDevice (Results 1 – 7 of 7) 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/src/com/android/tradefed/device/
DIDeviceManager.java78 public ITestDevice forceAllocateDevice(String serial); in forceAllocateDevice() method
DDeviceManager.java504 public ITestDevice forceAllocateDevice(String serial) { in forceAllocateDevice() method in DeviceManager
727 ITestDevice tcpDevice = forceAllocateDevice(ipAndPort); in connectToTcpDevice()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DMockDeviceManager.java214 public ITestDevice forceAllocateDevice(String serial) { in forceAllocateDevice() method in MockDeviceManager
DDeviceManagerTest.java425 assertNotNull(manager.forceAllocateDevice("unknownserial")); in testForceAllocateDevice()
440 assertNotNull(manager.forceAllocateDevice(DEVICE_SERIAL)); in testForceAllocateDevice_available()
458 assertNull(manager.forceAllocateDevice(DEVICE_SERIAL)); in testForceAllocateDevice_alreadyAllocated()
/tools/tradefederation/core/src/com/android/tradefed/command/remote/
DRemoteManager.java361 ITestDevice allocatedDevice = mDeviceManager.forceAllocateDevice(c.getDeviceSerial()); in processAllocate()