Searched refs:forceAllocateDevice (Results 1 – 7 of 7) sorted by relevance
77 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()
172 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()
78 public ITestDevice forceAllocateDevice(String serial); in forceAllocateDevice() method
504 public ITestDevice forceAllocateDevice(String serial) { in forceAllocateDevice() method in DeviceManager727 ITestDevice tcpDevice = forceAllocateDevice(ipAndPort); in connectToTcpDevice()
214 public ITestDevice forceAllocateDevice(String serial) { in forceAllocateDevice() method in MockDeviceManager
425 assertNotNull(manager.forceAllocateDevice("unknownserial")); in testForceAllocateDevice()440 assertNotNull(manager.forceAllocateDevice(DEVICE_SERIAL)); in testForceAllocateDevice_available()458 assertNull(manager.forceAllocateDevice(DEVICE_SERIAL)); in testForceAllocateDevice_alreadyAllocated()
361 ITestDevice allocatedDevice = mDeviceManager.forceAllocateDevice(c.getDeviceSerial()); in processAllocate()