Searched refs:mDeviceManager (Results 1 – 5 of 5) sorted by relevance
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | ManagedTestDeviceFactory.java | 52 protected IDeviceManager mDeviceManager; field in ManagedTestDeviceFactory 63 mDeviceManager = deviceManager; in ManagedTestDeviceFactory() 77 new DeviceStateMonitor(mDeviceManager, idevice, mFastbootEnabled), in createDevice() 84 new DeviceStateMonitor(mDeviceManager, idevice, mFastbootEnabled), in createDevice() 92 new DeviceStateMonitor(mDeviceManager, idevice, mFastbootEnabled), in createDevice() 97 new DeviceStateMonitor(mDeviceManager, idevice, mFastbootEnabled), in createDevice() 107 mDeviceManager, idevice, mFastbootEnabled), in createDevice() 114 new DeviceStateMonitor(mDeviceManager, idevice, mFastbootEnabled), in createDevice() 123 new NativeDeviceStateMonitor(mDeviceManager, idevice, mFastbootEnabled), in createDevice() 128 new DeviceStateMonitor(mDeviceManager, idevice, mFastbootEnabled), in createDevice() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/command/remote/ |
D | RemoteManager.java | 65 private final IDeviceManager mDeviceManager; field in RemoteManager 107 mDeviceManager = null; in RemoteManager() 119 mDeviceManager = manager; in RemoteManager() 318 rc.packResponseIntoJson(mDeviceManager.listAllDevices(), result); in processListDevices() 361 ITestDevice allocatedDevice = mDeviceManager.forceAllocateDevice(c.getDeviceSerial()); in processAllocate() 381 mDeviceManager.freeDevice(d, FreeDeviceState.AVAILABLE); in processFree() 471 mDeviceManager.freeDevice(d, FreeDeviceState.AVAILABLE); in freeAllDevices()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | RunHostScriptTargetPreparerTest.java | 66 @Mock private IDeviceManager mDeviceManager; field in RunHostScriptTargetPreparerTest 84 return mDeviceManager; in setUp() 96 when(mDeviceManager.getAdbPath()).thenReturn("adb"); in setUp() 97 when(mDeviceManager.getFastbootPath()).thenReturn("fastboot"); in setUp() 165 when(mDeviceManager.getFastbootPath()).thenReturn(fastbootBinary.getAbsolutePath()); in testSetUp_pathVariable()
|
/tools/tradefederation/core/src/com/android/tradefed/device/recovery/ |
D | RunConfigDeviceRecovery.java | 156 private final IDeviceManager mDeviceManager; field in RunConfigDeviceRecovery.FreeDeviceHandler 159 mDeviceManager = deviceManager; in FreeDeviceHandler() 166 mDeviceManager.freeDevice(device, devicesStates.get(device)); in invocationComplete() 169 ((IManagedTestDevice) device).setFastbootPath(mDeviceManager.getFastbootPath()); in invocationComplete()
|
/tools/tradefederation/core/src/com/android/tradefed/command/ |
D | CommandScheduler.java | 476 private final IDeviceManager mDeviceManager; field in CommandScheduler.FreeDeviceHandler 482 mDeviceManager = deviceManager; in FreeDeviceHandler() 492 mDeviceManager.freeDevice(device, devicesStates.get(device)); in releaseDevices() 496 ((IManagedTestDevice)device).setFastbootPath(mDeviceManager.getFastbootPath()); in releaseDevices()
|