Searched refs:IDeviceMonitor (Results 1 – 19 of 19) sorted by relevance
24 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()
52 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()
29 public interface IDeviceMonitor { interface
46 protected IDeviceMonitor mAllocationMonitor;54 IDeviceMonitor allocationMonitor) { in ManagedTestDeviceFactory()
47 IDeviceMonitor allocationMonitor) { in RemoteAndroidDevice()
30 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()
36 public class DeviceUtilStatsMonitor implements IDeviceMonitor {
112 IDeviceMonitor allocationMonitor) { in TestDevice()
201 private IDeviceMonitor mAllocationMonitor = null;289 IDeviceMonitor allocationMonitor) { in NativeDevice()
22 import com.android.tradefed.device.IDeviceMonitor;53 public List<IDeviceMonitor> getDeviceMonitors(); in getDeviceMonitors()69 public void setDeviceMonitor(IDeviceMonitor deviceMonitor) throws ConfigurationException; in setDeviceMonitor()
25 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()
90 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()
35 IDeviceMonitor mMockDeviceMonitor;42 mMockDeviceMonitor = EasyMock.createMock(IDeviceMonitor.class); in setUp()
36 private IDeviceMonitor mMockDvcMonitor;64 mMockDvcMonitor = EasyMock.createMock(IDeviceMonitor.class); in setUp()
20 import com.android.tradefed.device.IDeviceMonitor.DeviceLister;
225 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()
82 private IDeviceMonitor mMockDvcMonitor;116 mMockDvcMonitor = EasyMock.createMock(IDeviceMonitor.class); in setUp()
93 private IDeviceMonitor mMockDvcMonitor;135 mMockDvcMonitor = EasyMock.createMock(IDeviceMonitor.class); in setUp()