Home
last modified time | relevance | path

Searched refs:deviceManager (Results 1 – 15 of 15) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/device/
DDeviceManagerFuncTest.java44 IDeviceManager deviceManager = getDeviceManager(); in testReconnectDeviceToTcp_backUsb() local
45 ITestDevice tcpDevice = deviceManager.reconnectDeviceToTcp(mUsbDevice); in testReconnectDeviceToTcp_backUsb()
52 assertTrue(deviceManager.disconnectFromTcpDevice(tcpDevice)); in testReconnectDeviceToTcp_backUsb()
56 deviceManager.disconnectFromTcpDevice(tcpDevice); in testReconnectDeviceToTcp_backUsb()
77 IDeviceManager deviceManager = getDeviceManager(); in testReconnectDeviceToTcp_reboot() local
78 ITestDevice tcpDevice = deviceManager.reconnectDeviceToTcp(mUsbDevice); in testReconnectDeviceToTcp_reboot()
90 deviceManager.disconnectFromTcpDevice(tcpDevice); in testReconnectDeviceToTcp_reboot()
/tools/tradefederation/core/src/com/android/tradefed/monitoring/collector/
DDeviceInternetAccessibilityResourceMetricCollector.java66 DeviceDescriptor descriptor, IDeviceManager deviceManager) { in getDeviceResourceMetrics() argument
71 final float avgPing = getAveragePing(descriptor, deviceManager, PING_CMD); in getDeviceResourceMetrics()
75 final float avgPing6 = getAveragePing(descriptor, deviceManager, PING6_CMD); in getDeviceResourceMetrics()
85 DeviceDescriptor descriptor, IDeviceManager deviceManager, String command) { in getAveragePing() argument
88 deviceManager, descriptor.getSerial(), command, mCmdTimeoutMs); in getAveragePing()
DDeviceWifiResourceMetricCollector.java81 DeviceDescriptor descriptor, IDeviceManager deviceManager) { in getDeviceResourceMetrics() argument
84 descriptor, deviceManager, WIFI_SIGNAL_CMD, WIFI_SIGNAL_PATTERN); in getDeviceResourceMetrics()
87 descriptor, deviceManager, WIFI_STATUS_CMD, WIFI_STATUS_PATTERN); in getDeviceResourceMetrics()
120 IDeviceManager deviceManager, in getWifiCmdResponseMatcher() argument
125 deviceManager, descriptor.getSerial(), cmd, CMD_TIMEOUT_MS); in getWifiCmdResponseMatcher()
DResourceMetricUtil.java45 IDeviceManager deviceManager, String serial, String cmd, long timeoutMs) { in GetCommandResponse() argument
47 deviceManager.executeCmdOnAvailableDevice( in GetCommandResponse()
DDeviceBatteryResourceMetricCollector.java68 DeviceDescriptor descriptor, IDeviceManager deviceManager) { in getDeviceResourceMetrics() argument
71 deviceManager, descriptor.getSerial(), BATTERY_CMD, CMD_TIMEOUT_MS); in getDeviceResourceMetrics()
DDeviceStorageAgeResourceMetricCollector.java58 DeviceDescriptor descriptor, IDeviceManager deviceManager) { in getDeviceResourceMetrics() argument
61 deviceManager, in getDeviceResourceMetrics()
DIResourceMetricCollector.java53 DeviceDescriptor descriptor, IDeviceManager deviceManager) { in getDeviceResourceMetrics() argument
/tools/tradefederation/core/src/com/android/tradefed/device/
DMicrodroidHelper.java37 IDeviceManager deviceManager = GlobalConfiguration.getDeviceManagerInstance(); in runOnMicrodroid() local
42 deviceManager.getAdbPath(), in runOnMicrodroid()
58 IDeviceManager deviceManager = GlobalConfiguration.getDeviceManagerInstance(); in tryRunOnMicrodroid() local
63 deviceManager.getAdbPath(), in tryRunOnMicrodroid()
DManagedTestDeviceFactory.java58 public ManagedTestDeviceFactory(boolean fastbootEnabled, IDeviceManager deviceManager, in ManagedTestDeviceFactory() argument
61 mDeviceManager = deviceManager; in ManagedTestDeviceFactory()
DTestDevice.java2840 IDeviceManager deviceManager = GlobalConfiguration.getDeviceManagerInstance(); in startMicrodroid() local
2898 deviceManager.getAdbPath(), in startMicrodroid()
2971 NativeDevice microdroid = (NativeDevice) deviceManager.allocateDevice(microSelection); in startMicrodroid()
3042 IDeviceManager deviceManager = GlobalConfiguration.getDeviceManagerInstance(); in forwardMicrodroidAdbPort() local
3060 deviceManager.getAdbPath(), in forwardMicrodroidAdbPort()
3091 IDeviceManager deviceManager = GlobalConfiguration.getDeviceManagerInstance(); in adbConnectToMicrodroid() local
3101 .runTimedCmd(10000, deviceManager.getAdbPath(), "-s", serial, "forward", from, to); in adbConnectToMicrodroid()
3112 deviceManager.getAdbPath(), in adbConnectToMicrodroid()
3117 deviceManager.getAdbPath() in adbConnectToMicrodroid()
3131 10000, deviceManager.getAdbPath(), "disconnect", microdroidSerial); in adbConnectToMicrodroid()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/service/management/
DDeviceManagementGrpcServer.java57 int port, IDeviceManager deviceManager, ICommandScheduler scheduler) { in DeviceManagementGrpcServer() argument
58 this(ServerBuilder.forPort(port), deviceManager, scheduler); in DeviceManagementGrpcServer()
64 IDeviceManager deviceManager, in DeviceManagementGrpcServer() argument
67 mDeviceManager = deviceManager; in DeviceManagementGrpcServer()
73 Server server, IDeviceManager deviceManager, ICommandScheduler scheduler) { in DeviceManagementGrpcServer() argument
75 mDeviceManager = deviceManager; in DeviceManagementGrpcServer()
/tools/tradefederation/core/javatests/com/android/tradefed/config/
DConfigurationUtilTest.java65 DeviceManager deviceManager = new DeviceManager(); in testDumpClassToXml() local
69 deviceManager, in testDumpClassToXml()
106 DeviceManager deviceManager = new DeviceManager(); in testDumpClassToXml_filtered() local
110 deviceManager, in testDumpClassToXml_filtered()
/tools/tradefederation/core/src/com/android/tradefed/device/recovery/
DRunConfigDeviceRecovery.java159 FreeDeviceHandler(IDeviceManager deviceManager) { in FreeDeviceHandler() argument
160 mDeviceManager = deviceManager; in FreeDeviceHandler()
/tools/tradefederation/core/global_configuration/com/android/tradefed/config/
DIGlobalConfiguration.java264 public void setDeviceManager(IDeviceManager deviceManager); in setDeviceManager() argument
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java496 FreeDeviceHandler(IDeviceManager deviceManager, IScheduledInvocationListener... listeners) { in FreeDeviceHandler() argument
498 mDeviceManager = deviceManager; in FreeDeviceHandler()
540 IDeviceManager deviceManager, IScheduledInvocationListener... listeners) { in FreeNullDeviceHandler() argument
541 super(deviceManager, listeners); in FreeNullDeviceHandler()
542 mDeviceManager = deviceManager; in FreeNullDeviceHandler()