/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | DeviceManagerTest.java | 312 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 …]
|
D | MockDeviceManager.java | 189 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/ |
D | CommandSchedulerTest.java | 372 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/ |
D | DeviceManager.java | 602 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
|
D | IDeviceManager.java | 59 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/ |
D | ClusterCommandSchedulerTest.java | 957 ITestDevice device = m.allocateDevice(); 1000 ITestDevice device = m.allocateDevice();
|
/tools/tradefederation/core/src/com/android/tradefed/command/remote/ |
D | DeviceTracker.java | 58 public void allocateDevice(ITestDevice d) { in allocateDevice() method in DeviceTracker
|
D | RemoteManager.java | 364 getDeviceTracker().allocateDevice(allocatedDevice); in processAllocate()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/companion/ |
D | CompanionDeviceTracker.java | 62 ITestDevice companion = getDeviceManager().allocateDevice(opt, false); in allocateCompanionDevice()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/command/remote/ |
D | RemoteManagerTest.java | 190 verify(mMockDeviceTracker).allocateDevice(Mockito.any()); in testProcessClientOperations_allocateDevice()
|
/tools/tradefederation/core/src/com/android/tradefed/command/ |
D | CommandScheduler.java | 1603 manager.allocateDevice( in allocateDevices()
|