Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/device/recovery/
DRunConfigDeviceRecovery.java99 ITestDevice deviceToRecover = getDeviceManager().forceAllocateDevice(serial); in recoverDevices()
107 new FreeDeviceHandler(getDeviceManager()), in recoverDevices()
115 getDeviceManager().freeDevice(device, FreeDeviceState.UNAVAILABLE); in recoverDevices()
144 protected IDeviceManager getDeviceManager() { in getDeviceManager() method in RunConfigDeviceRecovery
145 return GlobalConfiguration.getInstance().getDeviceManager(); in getDeviceManager()
/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()
DDeviceUtilStatsMonitorLoadTest.java45 IDeviceManager getDeviceManager() { in setUp()
DDeviceUtilStatsMonitorTest.java42 IDeviceManager getDeviceManager() { in setUp()
/tools/tradefederation/core/src/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/src/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/src/com/android/tradefed/device/
DDeviceUtilStatsMonitor.java250 IDeviceManager dvcMgr = getDeviceManager(); in notifyDeviceStateChange()
272 IDeviceManager dvcMgr = getDeviceManager(); in shouldTrackDevice()
295 IDeviceManager getDeviceManager() { in getDeviceManager() method in DeviceUtilStatsMonitor
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/command/
DCommandScheduler.java891 getDeviceManager().init(); in initDeviceManager()
892 if (getDeviceManager().waitForFirstDeviceAdded(ADB_INIT_TIME_MS)) { in initDeviceManager()
913 protected IDeviceManager getDeviceManager() { in getDeviceManager() method in CommandScheduler
965 IDeviceManager manager = getDeviceManager(); in run()
1077 new FreeDeviceHandler(getDeviceManager())); in processReadyCommands()
1303 List<DeviceDescriptor> deviceDescs = getDeviceManager().listAllDevices(); in addCommandForAllDevices()
1417 IDeviceManager manager = getDeviceManager(); in execCommand()
1717 for (DeviceDescriptor deviceDesc : getDeviceManager().listAllDevices()) { in handoverDevices()
1771 getDeviceManager().terminateHard(); in shutdownHard()
2006 mRemoteManager = new RemoteManager(getDeviceManager(), this); in startRemoteManager()
[all …]
/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.java113 protected IDeviceManager getDeviceManager() { in getDeviceManager() method in CommandSchedulerTest.TestableCommandScheduler
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDeviceFlashPreparer.java143 IDeviceManager getDeviceManager() { in getDeviceManager() method in DeviceFlashPreparer
181 IDeviceManager deviceManager = getDeviceManager(); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/config/
DIGlobalConfiguration.java177 public IDeviceManager getDeviceManager(); in getDeviceManager() method
DGlobalConfiguration.java133 return sInstance.getDeviceManager(); in getDeviceManagerInstance()
416 public IDeviceManager getDeviceManager() { in getDeviceManager() method in GlobalConfiguration
/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/config/gcs/
DGCSConfigurationFactoryTest.java213 Assert.assertNotNull(config.getDeviceManager()); in testCreateGlobalConfigurationFromArgs()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/adb/
DAdbStopServerPreparerTest.java67 IDeviceManager getDeviceManager() { in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DDeviceFlashPreparerTest.java86 IDeviceManager getDeviceManager() { in setUp()