Home
last modified time | relevance | path

Searched refs:monitor (Results 1 – 12 of 12) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/device/
DWaitDeviceRecovery.java120 public void recoverDevice(IDeviceStateMonitor monitor, boolean recoverUntilOnline) in recoverDevice() argument
126 INITIAL_PAUSE_TIME, monitor.getSerialNumber())); in recoverDevice()
130 monitor.waitForDeviceBootloaderStateUpdate(); in recoverDevice()
132 TestDeviceState state = monitor.getDeviceState(); in recoverDevice()
138 monitor.getSerialNumber(), state)); in recoverDevice()
141 monitor.getSerialNumber(), "reboot"); in recoverDevice()
145 IDevice device = monitor.waitForDeviceOnline(mOnlineWaitTime); in recoverDevice()
147 handleDeviceNotAvailable(monitor, recoverUntilOnline); in recoverDevice()
149 checkMinBatteryLevel(getDeviceAfterRecovery(monitor)); in recoverDevice()
154 if (!monitor.waitForDeviceShell(mShellWaitTime)) { in recoverDevice()
[all …]
DDeviceMonitorMultiplexer.java37 for (IDeviceMonitor monitor : mDeviceMonitors) { in run()
38 monitor.run(); in run()
47 for (IDeviceMonitor monitor : mDeviceMonitors) { in setDeviceLister()
48 monitor.setDeviceLister(lister); in setDeviceLister()
58 for (IDeviceMonitor monitor : mDeviceMonitors) { in notifyDeviceStateChange()
59 monitor.notifyDeviceStateChange(serial, oldState, newState); in notifyDeviceStateChange()
77 for (IDeviceMonitor monitor : mDeviceMonitors) { in stop()
78 monitor.stop(); in stop()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DIDeviceRecovery.java34 public void recoverDevice(IDeviceStateMonitor monitor, boolean recoverUntilOnline) in recoverDevice() argument
43 public void recoverDeviceRecovery(IDeviceStateMonitor monitor) in recoverDeviceRecovery() argument
52 public void recoverDeviceBootloader(IDeviceStateMonitor monitor) in recoverDeviceBootloader() argument
61 public void recoverDeviceFastbootd(final IDeviceStateMonitor monitor) in recoverDeviceFastbootd() argument
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DFileIdleMonitorTest.java56 FileIdleMonitor monitor = createMonitor(); in testSchedulesCheckIfNoTimestamp() local
57 monitor.start(); in testSchedulesCheckIfNoTimestamp()
70 FileIdleMonitor monitor = createMonitor(first, second); in testSchedulesCheckIfTimeoutNotReached() local
71 monitor.start(); in testSchedulesCheckIfTimeoutNotReached()
86 FileIdleMonitor monitor = createMonitor(System.currentTimeMillis() - 20_000L); in testExecutesCallbackIfTimeoutExceeded() local
87 monitor.start(); in testExecutesCallbackIfTimeoutExceeded()
/tools/tradefederation/core/util-apps/WifiUtil/src/com/android/tradefed/utils/wifi/
DWifiMonitorService.java75 monitor(intent); in onHandleIntent()
88 private void monitor(Intent intent) { in monitor() method in WifiMonitorService
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterCommandLauncher.java174 FileIdleMonitor monitor = createFileMonitor(stdoutFile, stderrFile); in run() local
245 monitor.start(); in run()
267 monitor.stop(); in run()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DDeviceStateMonitorTest.java101 DeviceStateMonitor monitor = new DeviceStateMonitor(mMockMgr, mockDevice, true); in testIsAdbTcp_usb() local
102 assertFalse(monitor.isAdbTcp()); in testIsAdbTcp_usb()
113 DeviceStateMonitor monitor = new DeviceStateMonitor(mMockMgr, mockDevice, true); in testIsAdbTcp_tcp() local
114 assertTrue(monitor.isAdbTcp()); in testIsAdbTcp_tcp()
DTestDeviceTest.java461 public void recoverDeviceRecovery(IDeviceStateMonitor monitor) in testRecoverDevice_ThrowException()
467 public void recoverDeviceBootloader(IDeviceStateMonitor monitor) in testRecoverDevice_ThrowException()
474 IDeviceStateMonitor monitor, boolean recoverUntilOnline) in testRecoverDevice_ThrowException()
480 public void recoverDeviceFastbootd(IDeviceStateMonitor monitor) in testRecoverDevice_ThrowException()
/tools/tradefederation/core/global_configuration/com/android/tradefed/config/
DGlobalConfiguration.java548 public void setDeviceMonitor(IDeviceMonitor monitor) { in setDeviceMonitor() argument
549 setConfigurationObjectNoThrow(DEVICE_MONITOR_TYPE_NAME, monitor); in setDeviceMonitor()
/tools/trebuchet/trebuchet/startup-analyzer/
DREADME.md99 monitor contention
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...
/tools/test/connectivity/acts/tests/google/bt/pts/instructions/
DGATT_PTS_INSTRUCTIONS1157 Note: This test is a little tricky. Need to monitor logcat as such: adb logcat | grep offset.