/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | DeviceMonitorMultiplexer.java | 26 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()
|
D | IDeviceManager.java | 54 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()
|
D | IDeviceMonitor.java | 29 public interface IDeviceMonitor { interface
|
D | ManagedTestDeviceFactory.java | 51 protected IDeviceMonitor mAllocationMonitor; 59 IDeviceMonitor allocationMonitor) { in ManagedTestDeviceFactory()
|
D | RemoteAndroidDevice.java | 49 IDeviceMonitor allocationMonitor) { in RemoteAndroidDevice()
|
D | DeviceManager.java | 30 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()
|
D | LocalAndroidVirtualDevice.java | 90 IDevice device, IDeviceStateMonitor stateMonitor, IDeviceMonitor allocationMonitor) { in LocalAndroidVirtualDevice()
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/cloud/ |
D | ManagedRemoteDeviceTest.java | 25 import com.android.tradefed.device.IDeviceMonitor; 43 private IDeviceMonitor mDeviceMonitor; 59 mDeviceMonitor = Mockito.mock(IDeviceMonitor.class); in setUp()
|
D | NestedRemoteDeviceTest.java | 24 import com.android.tradefed.device.IDeviceMonitor; 45 private IDeviceMonitor mMockMonitor; 52 mMockMonitor = Mockito.mock(IDeviceMonitor.class); in setUp()
|
D | RemoteAndroidVirtualDeviceTest.java | 24 import com.android.tradefed.device.IDeviceMonitor; 51 @Mock IDeviceMonitor mMockDvcMonitor;
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/ |
D | MockDeviceManager.java | 91 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()
|
D | RemoteAndroidDeviceTest.java | 35 @Mock IDeviceMonitor mMockDvcMonitor;
|
D | ManagedTestDeviceFactoryTest.java | 40 @Mock IDeviceMonitor mMockDeviceMonitor;
|
D | DeviceManagerTest.java | 209 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()
|
D | LocalAndroidVirtualDeviceTest.java | 71 IDeviceMonitor allocationMonitor) { in TestableLocalAndroidVirtualDevice() 205 IDeviceMonitor mockDeviceMonitor = mock(IDeviceMonitor.class); in setUp()
|
/tools/tradefederation/core/global_configuration/com/android/tradefed/config/ |
D | IGlobalConfiguration.java | 23 import com.android.tradefed.device.IDeviceMonitor; 70 public List<IDeviceMonitor> getDeviceMonitors(); in getDeviceMonitors() 101 public void setDeviceMonitor(IDeviceMonitor deviceMonitor) throws ConfigurationException; in setDeviceMonitor()
|
D | GlobalConfiguration.java | 27 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/ |
D | ManagedRemoteDevice.java | 27 import com.android.tradefed.device.IDeviceMonitor; 54 IDevice device, IDeviceStateMonitor stateMonitor, IDeviceMonitor allocationMonitor) { in ManagedRemoteDevice()
|
D | NestedRemoteDevice.java | 20 import com.android.tradefed.device.IDeviceMonitor; 66 IDevice device, IDeviceStateMonitor stateMonitor, IDeviceMonitor allocationMonitor) { in NestedRemoteDevice()
|
D | RemoteAndroidVirtualDevice.java | 21 import com.android.tradefed.device.IDeviceMonitor; 51 IDevice device, IDeviceStateMonitor stateMonitor, IDeviceMonitor allocationMonitor) { in RemoteAndroidVirtualDevice()
|
/tools/tradefederation/core/javatests/com/android/tradefed/monitoring/ |
D | LabResourceDeviceMonitorTest.java | 23 import com.android.tradefed.device.IDeviceMonitor; 78 new IDeviceMonitor.DeviceLister() { in setUp()
|
/tools/tradefederation/core/javatests/com/android/tradefed/command/ |
D | CommandRunnerTest.java | 30 import com.android.tradefed.device.IDeviceMonitor; 162 Mockito.mock(IDeviceMonitor.class))); in mockDeviceManager()
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/ |
D | DeviceBatteryLevelCheckerTest.java | 27 import com.android.tradefed.device.IDeviceMonitor; 69 @Mock IDeviceMonitor mMockDvcMonitor;
|
/tools/tradefederation/core/src/com/android/tradefed/monitoring/ |
D | LabResourceDeviceMonitor.java | 27 import com.android.tradefed.device.IDeviceMonitor; 73 implements IDeviceMonitor {
|
/tools/tradefederation/core/src/com/android/tradefed/cluster/ |
D | ClusterDeviceMonitor.java | 24 import com.android.tradefed.device.IDeviceMonitor;
|