Home
last modified time | relevance | path

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

12

/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceMonitorMultiplexer.java26 public class DeviceMonitorMultiplexer implements IDeviceMonitor {
28 private final List<IDeviceMonitor> mDeviceMonitors;
39 for (IDeviceMonitor monitor : mDeviceMonitors) { in run()
49 for (IDeviceMonitor monitor : mDeviceMonitors) { in setDeviceLister()
60 for (IDeviceMonitor monitor : mDeviceMonitors) { in notifyDeviceStateChange()
65 public synchronized void addMonitors(List<IDeviceMonitor> globalDeviceMonitors) { in addMonitors()
69 public synchronized void addMonitor(IDeviceMonitor globalDeviceMonitor) { in addMonitor()
73 public synchronized void removeMonitor(IDeviceMonitor mon) { in removeMonitor()
79 for (IDeviceMonitor monitor : mDeviceMonitors) { in stop()
DIDeviceManager.java54 public void init(IDeviceSelection globalDeviceFilter, List<IDeviceMonitor> deviceMonitors); in init()
279 public void addDeviceMonitor(IDeviceMonitor mon); in addDeviceMonitor()
284 public void removeDeviceMonitor(IDeviceMonitor mon); in removeDeviceMonitor()
DIDeviceMonitor.java29 public interface IDeviceMonitor { interface
DManagedTestDeviceFactory.java51 protected IDeviceMonitor mAllocationMonitor;
59 IDeviceMonitor allocationMonitor) { in ManagedTestDeviceFactory()
DRemoteAndroidDevice.java49 IDeviceMonitor allocationMonitor) { in RemoteAndroidDevice()
DDeviceManager.java30 import com.android.tradefed.device.IDeviceMonitor.DeviceLister;
220 List<IDeviceMonitor> globalDeviceMonitors) { in init()
230 List<IDeviceMonitor> globalDeviceMonitors, IManagedTestDeviceFactory deviceFactory) { in init()
1593 public void addDeviceMonitor(IDeviceMonitor mon) { in addDeviceMonitor()
1598 public void removeDeviceMonitor(IDeviceMonitor mon) { in removeDeviceMonitor()
DLocalAndroidVirtualDevice.java90 IDevice device, IDeviceStateMonitor stateMonitor, IDeviceMonitor allocationMonitor) { in LocalAndroidVirtualDevice()
/tools/tradefederation/core/javatests/com/android/tradefed/device/cloud/
DManagedRemoteDeviceTest.java25 import com.android.tradefed.device.IDeviceMonitor;
43 private IDeviceMonitor mDeviceMonitor;
59 mDeviceMonitor = Mockito.mock(IDeviceMonitor.class); in setUp()
DNestedRemoteDeviceTest.java24 import com.android.tradefed.device.IDeviceMonitor;
45 private IDeviceMonitor mMockMonitor;
52 mMockMonitor = Mockito.mock(IDeviceMonitor.class); in setUp()
DRemoteAndroidVirtualDeviceTest.java24 import com.android.tradefed.device.IDeviceMonitor;
51 @Mock IDeviceMonitor mMockDvcMonitor;
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DMockDeviceManager.java91 IDeviceMonitor allocationMonitor = mock(IDeviceMonitor.class); in setNumDevicesCustomRealNoRecovery()
274 IDeviceSelection globalDeviceFilter, List<IDeviceMonitor> globalDeviceMonitors) { in init()
378 public void addDeviceMonitor(IDeviceMonitor mon) { in addDeviceMonitor()
383 public void removeDeviceMonitor(IDeviceMonitor mon) { in removeDeviceMonitor()
DRemoteAndroidDeviceTest.java35 @Mock IDeviceMonitor mMockDvcMonitor;
DManagedTestDeviceFactoryTest.java40 @Mock IDeviceMonitor mMockDeviceMonitor;
DDeviceManagerTest.java209 List<IDeviceMonitor> deviceMonitors, IDevice... devices) { in createDeviceManager()
1250 IDeviceMonitor mockMonitor = mock(IDeviceMonitor.class); in testDeviceMonitorLifeCycle()
1251 List<IDeviceMonitor> monitors = new ArrayList<>(); in testDeviceMonitorLifeCycle()
1266 IDeviceMonitor mockMonitor = mock(IDeviceMonitor.class); in testDeviceMonitorLifeCycleWhenAdbRestarts()
1267 List<IDeviceMonitor> monitors = new ArrayList<>(); in testDeviceMonitorLifeCycleWhenAdbRestarts()
DLocalAndroidVirtualDeviceTest.java71 IDeviceMonitor allocationMonitor) { in TestableLocalAndroidVirtualDevice()
205 IDeviceMonitor mockDeviceMonitor = mock(IDeviceMonitor.class); in setUp()
/tools/tradefederation/core/global_configuration/com/android/tradefed/config/
DIGlobalConfiguration.java23 import com.android.tradefed.device.IDeviceMonitor;
70 public List<IDeviceMonitor> getDeviceMonitors(); in getDeviceMonitors()
101 public void setDeviceMonitor(IDeviceMonitor deviceMonitor) throws ConfigurationException; in setDeviceMonitor()
DGlobalConfiguration.java27 import com.android.tradefed.device.IDeviceMonitor;
300 sObjTypeMap.put(DEVICE_MONITOR_TYPE_NAME, new ObjTypeInfo(IDeviceMonitor.class, true)); in getObjTypeMap()
395 public List<IDeviceMonitor> getDeviceMonitors() { in getDeviceMonitors()
396 return (List<IDeviceMonitor>) getConfigurationObjectList(DEVICE_MONITOR_TYPE_NAME); in getDeviceMonitors()
576 public void setDeviceMonitor(IDeviceMonitor monitor) { in setDeviceMonitor()
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DManagedRemoteDevice.java27 import com.android.tradefed.device.IDeviceMonitor;
54 IDevice device, IDeviceStateMonitor stateMonitor, IDeviceMonitor allocationMonitor) { in ManagedRemoteDevice()
DNestedRemoteDevice.java20 import com.android.tradefed.device.IDeviceMonitor;
66 IDevice device, IDeviceStateMonitor stateMonitor, IDeviceMonitor allocationMonitor) { in NestedRemoteDevice()
DRemoteAndroidVirtualDevice.java21 import com.android.tradefed.device.IDeviceMonitor;
51 IDevice device, IDeviceStateMonitor stateMonitor, IDeviceMonitor allocationMonitor) { in RemoteAndroidVirtualDevice()
/tools/tradefederation/core/javatests/com/android/tradefed/monitoring/
DLabResourceDeviceMonitorTest.java23 import com.android.tradefed.device.IDeviceMonitor;
78 new IDeviceMonitor.DeviceLister() { in setUp()
/tools/tradefederation/core/javatests/com/android/tradefed/command/
DCommandRunnerTest.java30 import com.android.tradefed.device.IDeviceMonitor;
162 Mockito.mock(IDeviceMonitor.class))); in mockDeviceManager()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/
DDeviceBatteryLevelCheckerTest.java27 import com.android.tradefed.device.IDeviceMonitor;
69 @Mock IDeviceMonitor mMockDvcMonitor;
/tools/tradefederation/core/src/com/android/tradefed/monitoring/
DLabResourceDeviceMonitor.java27 import com.android.tradefed.device.IDeviceMonitor;
73 implements IDeviceMonitor {
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterDeviceMonitor.java24 import com.android.tradefed.device.IDeviceMonitor;

12