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()
135 EasyMock.expect(mMockDeviceManager.forceAllocateDevice("serial")).andReturn(device); in testAllocateClose()
159 EasyMock.expect(mMockDeviceManager.forceAllocateDevice("serial")).andReturn(device); in testAllocateFreeAll()
253 EasyMock.expect(mMockDeviceManager.forceAllocateDevice("serial")).andReturn(device); in testExecCommand()
279 EasyMock.expect(mMockDeviceManager.forceAllocateDevice("serial")).andReturn(device); in testConsecutiveExecCommand()
410 EasyMock.expect(mMockDeviceManager.forceAllocateDevice("serial")).andReturn(device); in testGetLastCommandResult_noActiveCommand()
435 EasyMock.expect(mMockDeviceManager.forceAllocateDevice("serial")).andReturn(device); in testGetLastCommandResult_executing()
466 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/tests/src/com/android/tradefed/device/
DDeviceManagerTest.java507 assertNull(manager.forceAllocateDevice("unknownserial")); in testForceAllocateDevice()
519 assertNotNull(manager.forceAllocateDevice(DEVICE_SERIAL)); in testForceAllocateDevice_available()
534 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/device/
DIDeviceManager.java87 public ITestDevice forceAllocateDevice(String serial); in forceAllocateDevice() method
DDeviceManager.java631 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/src/com/android/tradefed/command/remote/
DRemoteManager.java361 ITestDevice allocatedDevice = mDeviceManager.forceAllocateDevice(c.getDeviceSerial()); in processAllocate()