Home
last modified time | relevance | path

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

12

/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/
DClusterCommandSchedulerTest.java43 import com.android.tradefed.device.IDeviceManager;
124 private IDeviceManager mMockDeviceManager;
147 mMockDeviceManager = EasyMock.createMock(IDeviceManager.class); in setUp()
190 protected IDeviceManager getDeviceManager() { in setUp()
875 private IDeviceManager manager = new MockDeviceManager(1);
895 protected IDeviceManager getDeviceManager() {
900 public IDeviceManager getTestManager() {
942 IDeviceManager m = scheduler.getTestManager();
989 IDeviceManager m = scheduler.getTestManager();
/tools/tradefederation/core/global_configuration/com/android/tradefed/config/
DGlobalConfiguration.java25 import com.android.tradefed.device.IDeviceManager;
134 public static IDeviceManager getDeviceManagerInstance() { in getDeviceManagerInstance()
292 sObjTypeMap.put(DEVICE_MANAGER_TYPE_NAME, new ObjTypeInfo(IDeviceManager.class, false)); in getObjTypeMap()
420 public IDeviceManager getDeviceManager() { in getDeviceManager()
421 return (IDeviceManager) getConfigurationObject(DEVICE_MANAGER_TYPE_NAME); in getDeviceManager()
582 public void setDeviceManager(IDeviceManager manager) { in setDeviceManager()
DIGlobalConfiguration.java21 import com.android.tradefed.device.IDeviceManager;
178 public IDeviceManager getDeviceManager(); in getDeviceManager()
235 public void setDeviceManager(IDeviceManager deviceManager); in setDeviceManager()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java53 import com.android.tradefed.device.IDeviceManager;
476 private final IDeviceManager mDeviceManager;
479 FreeDeviceHandler(IDeviceManager deviceManager, in FreeDeviceHandler()
953 protected IDeviceManager getDeviceManager() { in getDeviceManager()
1005 IDeviceManager manager = getDeviceManager(); in run()
1064 protected void processReadyCommands(IDeviceManager manager) { in processReadyCommands()
1159 private void exit(IDeviceManager manager) { in exit()
1530 IDeviceManager manager = getDeviceManager(); in execCommand()
1592 Map<String, ITestDevice> allocateDevices(IConfiguration config, IDeviceManager manager) { in allocateDevices()
DConsole.java28 import com.android.tradefed.device.IDeviceManager;
549 IDeviceManager manager = in addDefaultCommands()
557 IDeviceManager manager = in addDefaultCommands()
/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DCommandSchedulerFuncTest.java34 import com.android.tradefed.device.IDeviceManager;
139 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.java22 import com.android.tradefed.device.IDeviceManager;
38 private IDeviceManager mMockDeviceManager;
57 protected IDeviceManager getDeviceManager() { in CommandSchedulerStressApp()
DCommandSchedulerTest.java44 import com.android.tradefed.device.IDeviceManager;
112 protected IDeviceManager getDeviceManager() { in getDeviceManager()
369 IConfiguration config, IDeviceManager manager) { in testExecCommand()
1283 IConfiguration config, IDeviceManager manager) { in testExecCommand_versioning()
/tools/tradefederation/core/src/com/android/tradefed/device/recovery/
DRunConfigDeviceRecovery.java27 import com.android.tradefed.device.IDeviceManager;
143 protected IDeviceManager getDeviceManager() { in getDeviceManager()
156 private final IDeviceManager mDeviceManager;
158 FreeDeviceHandler(IDeviceManager deviceManager) { in FreeDeviceHandler()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/recovery/
DRunConfigDeviceRecoveryTest.java25 import com.android.tradefed.device.IDeviceManager;
46 private IDeviceManager mMockDeviceManager;
53 mMockDeviceManager = EasyMock.createMock(IDeviceManager.class); in setup()
60 protected IDeviceManager getDeviceManager() { in setup()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/adb/
DAdbStopServerPreparerTest.java23 import com.android.tradefed.device.IDeviceManager;
48 private IDeviceManager mMockManager;
59 mMockManager = EasyMock.createMock(IDeviceManager.class); in setUp()
70 IDeviceManager getDeviceManager() { in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DDeviceFlashPreparerTest.java30 import com.android.tradefed.device.IDeviceManager;
56 private IDeviceManager mMockDeviceManager;
68 mMockDeviceManager = EasyMock.createMock(IDeviceManager.class); in setUp()
90 IDeviceManager getDeviceManager() { in setUp()
DGkiDeviceFlashPreparerTest.java27 import com.android.tradefed.device.IDeviceManager;
54 private IDeviceManager mMockDeviceManager;
79 mMockDeviceManager = EasyMock.createMock(IDeviceManager.class); in setUp()
93 IDeviceManager getDeviceManager() { in setUp()
DGsiDeviceFlashPreparerTest.java27 import com.android.tradefed.device.IDeviceManager;
54 private IDeviceManager mMockDeviceManager;
79 mMockDeviceManager = EasyMock.createMock(IDeviceManager.class); in setUp()
93 IDeviceManager getDeviceManager() { in setUp()
DRunHostScriptTargetPreparerTest.java30 import com.android.tradefed.device.IDeviceManager;
66 @Mock private IDeviceManager mDeviceManager;
83 IDeviceManager getDeviceManager() { in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DDeviceManagerFuncTest.java46 IDeviceManager deviceManager = getDeviceManager(); in testReconnectDeviceToTcp_backUsb()
63 private IDeviceManager getDeviceManager() { in getDeviceManager()
80 IDeviceManager deviceManager = getDeviceManager(); in testReconnectDeviceToTcp_reboot()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterCommandScheduler.java29 import com.android.tradefed.device.IDeviceManager;
442 protected void processReadyCommands(IDeviceManager manager) { in processReadyCommands()
473 MultiMap<String, DeviceDescriptor> getAvailableDevices(IDeviceManager manager) { in getAvailableDevices()
484 MultiMap<String, DeviceDescriptor> getDevices(IDeviceManager manager, boolean availableOnly) { in getDevices()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DGkiDeviceFlashPreparer.java24 import com.android.tradefed.device.IDeviceManager;
123 IDeviceManager getDeviceManager() { in getDeviceManager()
146 IDeviceManager deviceManager = getDeviceManager(); in flashGki()
DGsiDeviceFlashPreparer.java24 import com.android.tradefed.device.IDeviceManager;
142 IDeviceManager getDeviceManager() { in getDeviceManager()
165 IDeviceManager deviceManager = getDeviceManager(); in flashGsi()
DDeviceFlashPreparer.java25 import com.android.tradefed.device.IDeviceManager;
158 IDeviceManager getDeviceManager() { in getDeviceManager()
201 IDeviceManager deviceManager = getDeviceManager(); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/command/remote/
DRemoteManagerTest.java26 import com.android.tradefed.device.IDeviceManager;
51 private IDeviceManager mMockDeviceManager;
57 mMockDeviceManager = Mockito.mock(IDeviceManager.class); in setUp()
DRemoteManagerFuncTest.java24 import com.android.tradefed.device.IDeviceManager;
45 private IDeviceManager mMockDeviceManager;
53 mMockDeviceManager = EasyMock.createMock(IDeviceManager.class); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDeviceStateMonitor.java23 import com.android.tradefed.device.IDeviceManager.IFastbootListener;
59 private IDeviceManager mMgr;
64 public NativeDeviceStateMonitor(IDeviceManager mgr, IDevice device, in NativeDeviceStateMonitor()
/tools/tradefederation/core/src/com/android/tradefed/command/remote/
DRemoteManager.java25 import com.android.tradefed.device.IDeviceManager;
65 private final IDeviceManager mDeviceManager;
117 public RemoteManager(IDeviceManager manager, ICommandScheduler scheduler) { in RemoteManager()
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DNestedDeviceStateMonitor.java21 import com.android.tradefed.device.IDeviceManager;
38 public NestedDeviceStateMonitor(IDeviceManager mgr, IDevice device, boolean fastbootEnabled) { in NestedDeviceStateMonitor()

12