Home
last modified time | relevance | path

Searched refs:getDeviceManager (Results 1 – 25 of 25) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java931 getDeviceManager().init(); in initDeviceManager()
932 if (getDeviceManager().waitForFirstDeviceAdded(ADB_INIT_TIME_MS)) { in initDeviceManager()
953 protected IDeviceManager getDeviceManager() { in getDeviceManager() method in CommandScheduler
1005 IDeviceManager manager = getDeviceManager(); in run()
1109 new FreeDeviceHandler(getDeviceManager())); in processReadyCommands()
1417 List<DeviceDescriptor> deviceDescs = getDeviceManager().listAllDevices(); in addCommandForAllDevices()
1530 IDeviceManager manager = getDeviceManager(); in execCommand()
1654 getDeviceManager().freeDevice(device, FreeDeviceState.AVAILABLE); in startInvocation()
1840 for (DeviceDescriptor deviceDesc : getDeviceManager().listAllDevices()) { in handoverDevices()
1894 getDeviceManager().terminateHard(); in shutdownHard()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/device/recovery/
DRunConfigDeviceRecovery.java98 ITestDevice deviceToRecover = getDeviceManager().forceAllocateDevice(serial); in recoverDevices()
106 new FreeDeviceHandler(getDeviceManager()), in recoverDevices()
114 getDeviceManager().freeDevice(device, FreeDeviceState.UNAVAILABLE); in recoverDevices()
143 protected IDeviceManager getDeviceManager() { in getDeviceManager() method in RunConfigDeviceRecovery
144 return GlobalConfiguration.getInstance().getDeviceManager(); in getDeviceManager()
/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DCommandSchedulerFuncTest.java139 protected IDeviceManager getDeviceManager() { in setUp()
406 protected IDeviceManager getDeviceManager() { in testShutdown_notInterruptible()
521 protected IDeviceManager getDeviceManager() { in testShutdown_notInterruptible_timeout()
594 protected IDeviceManager getDeviceManager() { in testShutdown_invocation_timeout()
DCommandSchedulerStressApp.java57 protected IDeviceManager getDeviceManager() { in CommandSchedulerStressApp()
DCommandRunnerTest.java242 doReturn(new MockDeviceManager(1)).when(mockScheduler).getDeviceManager(); in testRun_noDevice()
DCommandSchedulerTest.java112 protected IDeviceManager getDeviceManager() { in getDeviceManager() method in CommandSchedulerTest.TestableCommandScheduler
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DDeviceManagerFuncTest.java46 IDeviceManager deviceManager = getDeviceManager(); in testReconnectDeviceToTcp_backUsb()
63 private IDeviceManager getDeviceManager() { in getDeviceManager() method in DeviceManagerFuncTest
80 IDeviceManager deviceManager = getDeviceManager(); in testReconnectDeviceToTcp_reboot()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/companion/
DCompanionDeviceTracker.java62 ITestDevice companion = getDeviceManager().allocateDevice(opt, false); in allocateCompanionDevice()
91 getDeviceManager().freeDevice(companion, deviceState); in freeCompanionDevice()
105 private IDeviceManager getDeviceManager() { in getDeviceManager() method in CompanionDeviceTracker
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/adb/
DAdbStopServerPreparer.java70 getDeviceManager().stopAdbBridge(); in setUp()
131 getDeviceManager().restartAdbBridge(); in tearDown()
135 IDeviceManager getDeviceManager() { in getDeviceManager() method in AdbStopServerPreparer
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DRunHostScriptTargetPreparer.java121 IDeviceManager getDeviceManager() { in getDeviceManager() method in RunHostScriptTargetPreparer
153 String adbPath = getDeviceManager().getAdbPath(); in setPathVariable()
162 String fastbootPath = getDeviceManager().getFastbootPath(); in setPathVariable()
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceDiagTest.java58 private IDeviceManager getDeviceManager() { in getDeviceManager() method in DeviceDiagTest
64 for (DeviceDescriptor deviceDesc : getDeviceManager().listAllDevices()) { in getUnavailableDevices()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DGkiDeviceFlashPreparer.java123 IDeviceManager getDeviceManager() { in getDeviceManager() method in GkiDeviceFlashPreparer
146 IDeviceManager deviceManager = getDeviceManager(); in flashGki()
DGsiDeviceFlashPreparer.java142 IDeviceManager getDeviceManager() { in getDeviceManager() method in GsiDeviceFlashPreparer
165 IDeviceManager deviceManager = getDeviceManager(); in flashGsi()
DDeviceFlashPreparer.java158 IDeviceManager getDeviceManager() { in getDeviceManager() method in DeviceFlashPreparer
201 IDeviceManager deviceManager = getDeviceManager(); in setUp()
/tools/tradefederation/core/global_configuration/com/android/tradefed/config/
DGlobalConfiguration.java138 return sInstance.getDeviceManager(); in getDeviceManagerInstance()
420 public IDeviceManager getDeviceManager() { in getDeviceManager() method in GlobalConfiguration
DIGlobalConfiguration.java178 public IDeviceManager getDeviceManager(); in getDeviceManager() method
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/
DClusterCommandSchedulerTest.java190 protected IDeviceManager getDeviceManager() { in setUp()
895 protected IDeviceManager getDeviceManager() {
/tools/tradefederation/core/tests/src/com/android/tradefed/config/gcs/
DGCSConfigurationFactoryTest.java213 Assert.assertNotNull(config.getDeviceManager()); in testCreateGlobalConfigurationFromArgs()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/recovery/
DRunConfigDeviceRecoveryTest.java60 protected IDeviceManager getDeviceManager() { in setup()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DRunHostScriptTargetPreparerTest.java83 IDeviceManager getDeviceManager() { in setUp()
DDeviceFlashPreparerTest.java90 IDeviceManager getDeviceManager() { in setUp()
DGkiDeviceFlashPreparerTest.java93 IDeviceManager getDeviceManager() { in setUp()
DGsiDeviceFlashPreparerTest.java93 IDeviceManager getDeviceManager() { in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/adb/
DAdbStopServerPreparerTest.java70 IDeviceManager getDeviceManager() { in setUp()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterCommandScheduler.java518 availableFlashingPermits = getDeviceManager().getAvailableFlashingPermits(); in getAvailableFlashingPermits()