Home
last modified time | relevance | path

Searched refs:allocateDevice (Results 1 – 10 of 10) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DDeviceManagerTest.java308 assertNotNull(manager.allocateDevice(mDeviceSelections)); in testAllocateDevice()
323 assertEquals(mMockTestDevice, manager.allocateDevice(mDeviceSelections, false)); in testAllocateDevice_match()
349 assertEquals(mMockTestDevice, manager.allocateDevice(mDeviceSelections, true)); in testAllocateDevice_match_temporary()
360 assertNull(manager.allocateDevice(validation, false)); in testAllocateDevice_match_temporary()
381 assertNotNull(mgr.allocateDevice(mDeviceSelections, false)); in testAllocateDevice_stubEmulator()
431 (IManagedTestDevice) manager.allocateDevice(mDeviceSelections, false); in testFreeDevice_emulator()
437 assertNotNull(manager.allocateDevice(mDeviceSelections, false)); in testFreeDevice_emulator()
457 ITestDevice device = mgr.allocateDevice(mDeviceSelections, false); in testAllocateDevice_nullDevice()
490 assertNotNull(manager.allocateDevice(mDeviceSelections)); in testAllocateDevice_fastboot()
531 assertNotNull(manager.allocateDevice(mDeviceSelections)); in testForceAllocateDevice_alreadyAllocated()
[all …]
DMockDeviceManager.java189 public ITestDevice allocateDevice() { in allocateDevice() method in MockDeviceManager
248 public ITestDevice allocateDevice(IDeviceSelection options) { in allocateDevice() method in MockDeviceManager
249 return allocateDevice(options, false); in allocateDevice()
254 public ITestDevice allocateDevice(IDeviceSelection options, boolean isTemporary) { in allocateDevice() method in MockDeviceManager
/tools/tradefederation/core/src/com/android/tradefed/device/
DIDeviceManager.java59 public ITestDevice allocateDevice(); in allocateDevice() method
68 public ITestDevice allocateDevice(IDeviceSelection options); in allocateDevice() method
77 public ITestDevice allocateDevice(IDeviceSelection options, boolean isTemporary); in allocateDevice() method
DDeviceManager.java553 public ITestDevice allocateDevice() { in allocateDevice() method in DeviceManager
554 return allocateDevice(ANY_DEVICE_OPTIONS, false); in allocateDevice()
561 public ITestDevice allocateDevice(IDeviceSelection options) { in allocateDevice() method in DeviceManager
562 return allocateDevice(options, false); in allocateDevice()
567 public ITestDevice allocateDevice(IDeviceSelection options, boolean isTemporary) { in allocateDevice() method in DeviceManager
/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DCommandSchedulerTest.java513 ITestDevice dev = mMockManager.allocateDevice(); in testRun_configSerial()
541 ITestDevice dev = mMockManager.allocateDevice(); in testRun_configExcludeSerial()
543 ITestDevice expectedDevice = mMockManager.allocateDevice(); in testRun_configExcludeSerial()
899 ITestDevice t = mMockManager.allocateDevice(); in testDeviceRecoveryState()
/tools/tradefederation/core/src/com/android/tradefed/command/remote/
DDeviceTracker.java58 public void allocateDevice(ITestDevice d) { in allocateDevice() method in DeviceTracker
DRemoteManager.java364 getDeviceTracker().allocateDevice(allocatedDevice); in processAllocate()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/companion/
DCompanionDeviceTracker.java62 ITestDevice companion = getDeviceManager().allocateDevice(opt, false); in allocateCompanionDevice()
/tools/tradefederation/core/tests/src/com/android/tradefed/command/remote/
DRemoteManagerTest.java190 verify(mMockDeviceTracker).allocateDevice(Mockito.any()); in testProcessClientOperations_allocateDevice()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java1458 manager.allocateDevice( in allocateDevices()