Searched refs:allocateDevice (Results 1 – 10 of 10) sorted by relevance
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | DeviceManagerTest.java | 308 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 …]
|
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/src/com/android/tradefed/device/ |
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
|
D | DeviceManager.java | 553 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/ |
D | CommandSchedulerTest.java | 513 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/ |
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/src/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 | 1458 manager.allocateDevice( in allocateDevices()
|