Searched refs:forceAllocateDevice (Results 1 – 9 of 9) 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()
91 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()
87 public ITestDevice forceAllocateDevice(String serial); in forceAllocateDevice() method
582 public ITestDevice forceAllocateDevice(String serial) { in forceAllocateDevice() method in DeviceManager801 ITestDevice tcpDevice = forceAllocateDevice(ipAndPort); in connectToTcpDevice()
99 ITestDevice deviceToRecover = getDeviceManager().forceAllocateDevice(serial); in recoverDevices()
501 assertNotNull(manager.forceAllocateDevice("unknownserial")); in testForceAllocateDevice()515 assertNotNull(manager.forceAllocateDevice(DEVICE_SERIAL)); in testForceAllocateDevice_available()532 assertNull(manager.forceAllocateDevice(DEVICE_SERIAL)); in testForceAllocateDevice_alreadyAllocated()
214 public ITestDevice forceAllocateDevice(String serial) { in forceAllocateDevice() method in MockDeviceManager
361 ITestDevice allocatedDevice = mDeviceManager.forceAllocateDevice(c.getDeviceSerial()); in processAllocate()