Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DDeviceManagerTest.java312 assertNotNull(manager.allocateDevice(mDeviceSelections)); in testAllocateDevice()
329 assertEquals(mMockTestDevice, manager.allocateDevice(mDeviceSelections, false)); in testAllocateDevice_match()
357 assertEquals(mMockTestDevice, manager.allocateDevice(mDeviceSelections, true)); in testAllocateDevice_match_temporary()
368 assertNull(manager.allocateDevice(validation, false)); in testAllocateDevice_match_temporary()
389 assertNotNull(mgr.allocateDevice(mDeviceSelections, false)); in testAllocateDevice_stubEmulator()
439 (IManagedTestDevice) manager.allocateDevice(mDeviceSelections, false); in testFreeDevice_emulator()
445 assertNotNull(manager.allocateDevice(mDeviceSelections, false)); in testFreeDevice_emulator()
465 ITestDevice device = mgr.allocateDevice(mDeviceSelections, false); in testAllocateDevice_nullDevice()
498 assertNotNull(manager.allocateDevice(mDeviceSelections)); in testAllocateDevice_fastboot()
533 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/tests/src/com/android/tradefed/command/
DCommandSchedulerTest.java372 allocated.put("device", ((MockDeviceManager) manager).allocateDevice()); in testExecCommand()
485 ITestDevice dev = mMockManager.allocateDevice(); in testRun_configSerial()
513 ITestDevice dev = mMockManager.allocateDevice(); in testRun_configExcludeSerial()
515 ITestDevice expectedDevice = mMockManager.allocateDevice(); in testRun_configExcludeSerial()
978 ITestDevice t = mMockManager.allocateDevice(); in testDeviceRecoveryState()
1286 allocated.put("device", ((MockDeviceManager) manager).allocateDevice()); in testExecCommand_versioning()
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceManager.java602 public ITestDevice allocateDevice() { in allocateDevice() method in DeviceManager
603 return allocateDevice(ANY_DEVICE_OPTIONS, false); in allocateDevice()
610 public ITestDevice allocateDevice(IDeviceSelection options) { in allocateDevice() method in DeviceManager
611 return allocateDevice(options, false); in allocateDevice()
616 public ITestDevice allocateDevice(IDeviceSelection options, boolean isTemporary) { in allocateDevice() method in DeviceManager
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
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/
DClusterCommandSchedulerTest.java957 ITestDevice device = m.allocateDevice();
1000 ITestDevice device = m.allocateDevice();
/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/test_framework/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.java1603 manager.allocateDevice( in allocateDevices()