Searched refs:monitor (Results 1 – 10 of 10) sorted by relevance
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | WaitDeviceRecovery.java | 111 public void recoverDevice(IDeviceStateMonitor monitor, boolean recoverUntilOnline) in recoverDevice() argument 117 INITIAL_PAUSE_TIME, monitor.getSerialNumber())); in recoverDevice() 121 monitor.waitForDeviceBootloaderStateUpdate(); in recoverDevice() 123 if (monitor.getDeviceState().equals(TestDeviceState.FASTBOOT)) { in recoverDevice() 126 monitor.getSerialNumber())); in recoverDevice() 129 monitor.getSerialNumber(), "reboot"); in recoverDevice() 133 IDevice device = monitor.waitForDeviceOnline(mOnlineWaitTime); in recoverDevice() 135 handleDeviceNotAvailable(monitor, recoverUntilOnline); in recoverDevice() 137 checkMinBatteryLevel(getDeviceAfterRecovery(monitor)); in recoverDevice() 142 if (!monitor.waitForDeviceShell(mShellWaitTime)) { in recoverDevice() [all …]
|
D | DeviceMonitorMultiplexer.java | 37 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()
|
D | ReconnectingRecovery.java | 36 public void recoverDevice(IDeviceStateMonitor monitor, boolean recoverUntilOnline) in recoverDevice() argument 38 String serial = monitor.getSerialNumber(); in recoverDevice() 49 } while (monitor.waitForDeviceOnline() == null && ++attempt <= CONNECTION_ATTEMPTS); in recoverDevice() 55 if (!monitor.waitForDeviceShell(10 * 1000)) { in recoverDevice() 60 if (monitor.waitForDeviceAvailable() == null) { in recoverDevice() 72 public void recoverDeviceBootloader(IDeviceStateMonitor monitor) in recoverDeviceBootloader() argument 86 public void recoverDeviceRecovery(IDeviceStateMonitor monitor) in recoverDeviceRecovery() argument 88 recoverDevice(monitor, false); in recoverDeviceRecovery()
|
D | IDeviceRecovery.java | 34 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
|
D | DeviceManager.java | 883 public void recoverDevice(IDeviceStateMonitor monitor, boolean recoverUntilOnline) in recoverDevice() argument 886 monitor.getSerialNumber()); in recoverDevice() 893 public void recoverDeviceBootloader(IDeviceStateMonitor monitor) in recoverDeviceBootloader() argument 896 monitor.getSerialNumber()); in recoverDeviceBootloader() 903 public void recoverDeviceRecovery(IDeviceStateMonitor monitor) in recoverDeviceRecovery() argument 906 monitor.getSerialNumber()); in recoverDeviceRecovery()
|
/tools/tradefederation/core/util-apps/WifiUtil/src/com/android/tradefed/utils/wifi/ |
D | WifiMonitorService.java | 79 monitor(intent); in onHandleIntent() 92 private void monitor(Intent intent) { in monitor() method in WifiMonitorService
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | DeviceStateMonitorTest.java | 100 DeviceStateMonitor monitor = new DeviceStateMonitor(mMockMgr, mockDevice, true); in testIsAdbTcp_usb() local 101 assertFalse(monitor.isAdbTcp()); in testIsAdbTcp_usb() 112 DeviceStateMonitor monitor = new DeviceStateMonitor(mMockMgr, mockDevice, true); in testIsAdbTcp_tcp() local 113 assertTrue(monitor.isAdbTcp()); in testIsAdbTcp_tcp()
|
D | TestDeviceTest.java | 435 public void recoverDeviceRecovery(IDeviceStateMonitor monitor) in testRecoverDevice_ThrowException() 441 public void recoverDeviceBootloader(IDeviceStateMonitor monitor) in testRecoverDevice_ThrowException() 447 public void recoverDevice(IDeviceStateMonitor monitor, boolean recoverUntilOnline) in testRecoverDevice_ThrowException()
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | GlobalConfiguration.java | 483 public void setDeviceMonitor(IDeviceMonitor monitor) { in setDeviceMonitor() argument 484 setConfigurationObjectNoThrow(DEVICE_MONITOR_TYPE_NAME, monitor); in setDeviceMonitor()
|
/tools/test/connectivity/acts/tests/google/bt/pts/instructions/ |
D | GATT_PTS_INSTRUCTIONS | 1157 Note: This test is a little tricky. Need to monitor logcat as such: adb logcat | grep offset.
|