Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceMonitorMultiplexer.java24 public class DeviceMonitorMultiplexer implements IDeviceMonitor {
26 private final List<IDeviceMonitor> mDeviceMonitors;
37 for (IDeviceMonitor monitor : mDeviceMonitors) { in run()
47 for (IDeviceMonitor monitor : mDeviceMonitors) { in setDeviceLister()
58 for (IDeviceMonitor monitor : mDeviceMonitors) { in notifyDeviceStateChange()
63 public synchronized void addMonitors(List<IDeviceMonitor> globalDeviceMonitors) { in addMonitors()
67 public synchronized void addMonitor(IDeviceMonitor globalDeviceMonitor) { in addMonitor()
71 public synchronized void removeMonitor(IDeviceMonitor mon) { in removeMonitor()
77 for (IDeviceMonitor monitor : mDeviceMonitors) { in stop()
DIDeviceManager.java52 public void init(IDeviceSelection globalDeviceFilter, List<IDeviceMonitor> deviceMonitors); in init()
230 public void addDeviceMonitor(IDeviceMonitor mon); in addDeviceMonitor()
235 public void removeDeviceMonitor(IDeviceMonitor mon); in removeDeviceMonitor()
DIDeviceMonitor.java29 public interface IDeviceMonitor { interface
DManagedTestDeviceFactory.java46 protected IDeviceMonitor mAllocationMonitor;
54 IDeviceMonitor allocationMonitor) { in ManagedTestDeviceFactory()
DRemoteAndroidDevice.java47 IDeviceMonitor allocationMonitor) { in RemoteAndroidDevice()
DDeviceManager.java30 import com.android.tradefed.device.IDeviceMonitor.DeviceLister;
181 List<IDeviceMonitor> globalDeviceMonitors) { in init()
191 List<IDeviceMonitor> globalDeviceMonitors, IManagedTestDeviceFactory deviceFactory) { in init()
1275 public void addDeviceMonitor(IDeviceMonitor mon) { in addDeviceMonitor()
1280 public void removeDeviceMonitor(IDeviceMonitor mon) { in removeDeviceMonitor()
DDeviceUtilStatsMonitor.java36 public class DeviceUtilStatsMonitor implements IDeviceMonitor {
DTestDevice.java112 IDeviceMonitor allocationMonitor) { in TestDevice()
DNativeDevice.java201 private IDeviceMonitor mAllocationMonitor = null;
289 IDeviceMonitor allocationMonitor) { in NativeDevice()
/tools/tradefederation/core/src/com/android/tradefed/config/
DIGlobalConfiguration.java22 import com.android.tradefed.device.IDeviceMonitor;
53 public List<IDeviceMonitor> getDeviceMonitors(); in getDeviceMonitors()
69 public void setDeviceMonitor(IDeviceMonitor deviceMonitor) throws ConfigurationException; in setDeviceMonitor()
DGlobalConfiguration.java25 import com.android.tradefed.device.IDeviceMonitor;
262 sObjTypeMap.put(DEVICE_MONITOR_TYPE_NAME, new ObjTypeInfo(IDeviceMonitor.class, true)); in getObjTypeMap()
323 public List<IDeviceMonitor> getDeviceMonitors() { in getDeviceMonitors()
324 return (List<IDeviceMonitor>) getConfigurationObjectList(DEVICE_MONITOR_TYPE_NAME); in getDeviceMonitors()
483 public void setDeviceMonitor(IDeviceMonitor monitor) { in setDeviceMonitor()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DMockDeviceManager.java90 IDeviceMonitor allocationMonitor = EasyMock.createNiceMock(IDeviceMonitor.class); in setNumDevicesCustomRealNoRecovery()
284 List<IDeviceMonitor> globalDeviceMonitors) { in init()
378 public void addDeviceMonitor(IDeviceMonitor mon) { in addDeviceMonitor()
383 public void removeDeviceMonitor(IDeviceMonitor mon) { in removeDeviceMonitor()
DManagedTestDeviceFactoryTest.java35 IDeviceMonitor mMockDeviceMonitor;
42 mMockDeviceMonitor = EasyMock.createMock(IDeviceMonitor.class); in setUp()
DRemoteAndroidDeviceTest.java36 private IDeviceMonitor mMockDvcMonitor;
64 mMockDvcMonitor = EasyMock.createMock(IDeviceMonitor.class); in setUp()
DDeviceUtilStatsMonitorLoadTest.java20 import com.android.tradefed.device.IDeviceMonitor.DeviceLister;
DDeviceManagerTest.java225 private DeviceManager createDeviceManager(List<IDeviceMonitor> deviceMonitors, in createDeviceManager()
1181 IDeviceMonitor mockMonitor = EasyMock.createMock(IDeviceMonitor.class); in testDeviceMonitorLifeCycle()
1182 List<IDeviceMonitor> monitors = new ArrayList<>(); in testDeviceMonitorLifeCycle()
1198 IDeviceMonitor mockMonitor = EasyMock.createMock(IDeviceMonitor.class); in testDeviceMonitorLifeCycleWhenAdbRestarts()
1199 List<IDeviceMonitor> monitors = new ArrayList<>(); in testDeviceMonitorLifeCycleWhenAdbRestarts()
DDeviceUtilStatsMonitorTest.java20 import com.android.tradefed.device.IDeviceMonitor.DeviceLister;
DNativeDeviceTest.java82 private IDeviceMonitor mMockDvcMonitor;
116 mMockDvcMonitor = EasyMock.createMock(IDeviceMonitor.class); in setUp()
DTestDeviceTest.java93 private IDeviceMonitor mMockDvcMonitor;
135 mMockDvcMonitor = EasyMock.createMock(IDeviceMonitor.class); in setUp()