/tools/tradefederation/core/javatests/com/android/tradefed/monitoring/collector/ |
D | DeviceInternetAccessibilityResourceMetricCollectorTest.java | 65 @Mock private IDeviceManager mDeviceManager; field in DeviceInternetAccessibilityResourceMetricCollectorTest 96 when(mDeviceManager.executeCmdOnAvailableDevice( 102 when(mDeviceManager.executeCmdOnAvailableDevice( 112 mDeviceManager, 119 mDeviceManager, 127 when(mDeviceManager.executeCmdOnAvailableDevice( 133 when(mDeviceManager.executeCmdOnAvailableDevice( 143 mDeviceManager, 150 mDeviceManager, 158 when(mDeviceManager.executeCmdOnAvailableDevice( [all …]
|
D | ResourceMetricUtilTest.java | 40 @Mock private IDeviceManager mDeviceManager; field in ResourceMetricUtilTest 58 when(mDeviceManager.executeCmdOnAvailableDevice("foo", "bar", 500, TimeUnit.MILLISECONDS)) in testGetCommandResponse() 61 ResourceMetricUtil.GetCommandResponse(mDeviceManager, "foo", "bar", 500); in testGetCommandResponse() 75 when(mDeviceManager.executeCmdOnAvailableDevice("foo", "bar", 500, TimeUnit.MILLISECONDS)) in testGetCommandResponse_failed() 78 ResourceMetricUtil.GetCommandResponse(mDeviceManager, "foo", "bar", 500); in testGetCommandResponse_failed()
|
D | DeviceWifiResourceMetricCollectorTest.java | 72 @Mock private IDeviceManager mDeviceManager; field in DeviceWifiResourceMetricCollectorTest 86 when(mDeviceManager.executeCmdOnAvailableDevice( in setup() 108 when(mDeviceManager.executeCmdOnAvailableDevice( in testGetDeviceResourceMetrics_noWifi() 126 mCollector.getDeviceResourceMetrics(mDescriptor, mDeviceManager); in testGetDeviceResourceMetrics_noWifi() 139 when(mDeviceManager.executeCmdOnAvailableDevice( in testGetDeviceResourceMetrics_success() 157 mCollector.getDeviceResourceMetrics(mDescriptor, mDeviceManager); in testGetDeviceResourceMetrics_success()
|
D | DeviceBatteryResourceMetricCollectorTest.java | 60 @Mock private IDeviceManager mDeviceManager; field in DeviceBatteryResourceMetricCollectorTest 68 when(mDeviceManager.executeCmdOnAvailableDevice( in testGetDeviceResource() 90 mDeviceManager); in testGetDeviceResource() 110 when(mDeviceManager.executeCmdOnAvailableDevice( in testGetDeviceResource_failed() 127 mDeviceManager); in testGetDeviceResource_failed()
|
D | DeviceStorageAgeResourceMetricCollectorTest.java | 46 @Mock private IDeviceManager mDeviceManager; field in DeviceStorageAgeResourceMetricCollectorTest 71 when(mDeviceManager.executeCmdOnAvailableDevice( in testGetDeviceResource() 96 mDeviceManager); in testGetDeviceResource() 108 when(mDeviceManager.executeCmdOnAvailableDevice( in testGetDeviceResource_failed() 128 mDeviceManager); in testGetDeviceResource_failed()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | ManagedTestDeviceFactory.java | 50 protected IDeviceManager mDeviceManager; field in ManagedTestDeviceFactory 61 mDeviceManager = deviceManager; in ManagedTestDeviceFactory() 72 new NativeDeviceStateMonitor(mDeviceManager, idevice, mFastbootEnabled), in createRequestedDevice() 80 new DeviceStateMonitor(mDeviceManager, idevice, mFastbootEnabled), in createRequestedDevice() 97 new DeviceStateMonitor(mDeviceManager, idevice, mFastbootEnabled), in createDevice() 104 new DeviceStateMonitor(mDeviceManager, idevice, mFastbootEnabled), in createDevice() 112 new DeviceStateMonitor(mDeviceManager, idevice, mFastbootEnabled), in createDevice() 121 mDeviceManager, idevice, mFastbootEnabled), in createDevice() 133 mDeviceManager, idevice, mFastbootEnabled), in createDevice() 141 mDeviceManager, idevice, mFastbootEnabled), in createDevice() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/service/management/ |
D | DeviceManagementGrpcServer.java | 44 private final IDeviceManager mDeviceManager; field in DeviceManagementGrpcServer 67 mDeviceManager = deviceManager; in DeviceManagementGrpcServer() 75 mDeviceManager = deviceManager; in DeviceManagementGrpcServer() 104 for (DeviceDescriptor descriptor : mDeviceManager.listAllDevices(true)) { in getDevicesStatus() 109 DeviceDescriptor descriptor = mDeviceManager.getDeviceDescriptor(serial); in getDevicesStatus() 172 DeviceDescriptor descriptor = mDeviceManager.getDeviceDescriptor(serial); in reserveDevice() 203 ITestDevice device = mDeviceManager.allocateDevice(selection); in reserveDevice() 255 mDeviceManager.freeDevice(entry.getValue().device, FreeDeviceState.AVAILABLE); in releaseReservationInternal()
|
/tools/tradefederation/core/src/com/android/tradefed/device/recovery/ |
D | RunConfigDeviceRecovery.java | 157 private final IDeviceManager mDeviceManager; field in RunConfigDeviceRecovery.FreeDeviceHandler 160 mDeviceManager = deviceManager; in FreeDeviceHandler() 167 mDeviceManager.freeDevice(device, devicesStates.get(device)); in invocationComplete() 170 ((IManagedTestDevice) device).setFastbootPath(mDeviceManager.getFastbootPath()); in invocationComplete()
|
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/ |
D | RunHostScriptTargetPreparerTest.java | 71 @Mock private IDeviceManager mDeviceManager; field in RunHostScriptTargetPreparerTest 94 return mDeviceManager; in setUp() 106 when(mDeviceManager.getAdbPath()).thenReturn("adb"); in setUp() 107 when(mDeviceManager.getFastbootPath()).thenReturn("fastboot"); in setUp() 180 when(mDeviceManager.getFastbootPath()).thenReturn(fastbootBinary.getAbsolutePath()); in testSetUp_pathVariable()
|
/tools/tradefederation/core/src/com/android/tradefed/command/ |
D | CommandScheduler.java | 492 private final IDeviceManager mDeviceManager; field in CommandScheduler.FreeDeviceHandler 498 mDeviceManager = deviceManager; in FreeDeviceHandler() 509 mDeviceManager.freeDevice(device, devicesStates.get(device)); in releaseDevices() 536 private final IDeviceManager mDeviceManager; field in CommandScheduler.FreeNullDeviceHandler 542 mDeviceManager = deviceManager; in FreeNullDeviceHandler() 555 mDeviceManager.freeDevice(device, devicesStates.get(device)); in releaseDevices()
|