Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/device/
DWaitDeviceRecovery.java111 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 …]
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()
DReconnectingRecovery.java36 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()
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
DRetryingWaitDeviceRecovery.java32 public void recoverDevice(IDeviceStateMonitor monitor, boolean recoverUntilOnline) { in recoverDevice() argument
36 super.recoverDevice(monitor, recoverUntilOnline); in recoverDevice()
DDeviceManager.java958 public void recoverDevice(IDeviceStateMonitor monitor, boolean recoverUntilOnline) in recoverDevice() argument
961 monitor.getSerialNumber()); in recoverDevice()
968 public void recoverDeviceBootloader(IDeviceStateMonitor monitor) in recoverDeviceBootloader() argument
971 monitor.getSerialNumber()); in recoverDeviceBootloader()
978 public void recoverDeviceRecovery(IDeviceStateMonitor monitor) in recoverDeviceRecovery() argument
981 monitor.getSerialNumber()); in recoverDeviceRecovery()
/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/tests/src/com/android/tradefed/device/
DDeviceStateMonitorTest.java100 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()
DTestDeviceTest.java454 public void recoverDeviceRecovery(IDeviceStateMonitor monitor) in testRecoverDevice_ThrowException()
460 public void recoverDeviceBootloader(IDeviceStateMonitor monitor) in testRecoverDevice_ThrowException()
466 public void recoverDevice(IDeviceStateMonitor monitor, boolean recoverUntilOnline) in testRecoverDevice_ThrowException()
/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/invoker/monitor/
DInvocationData.java16 package com.android.tradefed.invoker.monitor;
DInvocationTracker.java16 package com.android.tradefed.invoker.monitor;
DInvocationsMonitor.java16 package com.android.tradefed.invoker.monitor;
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/monitor/
DInvocationsMonitorTest.java16 package com.android.tradefed.invoker.monitor;
/tools/tradefederation/core/src/com/android/tradefed/config/
DGlobalConfiguration.java540 public void setDeviceMonitor(IDeviceMonitor monitor) { in setDeviceMonitor() argument
541 setConfigurationObjectNoThrow(DEVICE_MONITOR_TYPE_NAME, monitor); in setDeviceMonitor()
/tools/trebuchet/trebuchet/startup-analyzer/
DREADME.md99 monitor contention
/tools/tradefederation/core/tests/src/com/android/tradefed/
DUnitTests.java126 import com.android.tradefed.invoker.monitor.InvocationsMonitorTest;
/tools/dexter/testdata/expected/
Dmedium.asm1730 0| monitor-enter v1
1747 21| monitor-exit v1
1753 24| monitor-exit v1
5506 6| monitor-enter v2
5539 43| monitor-exit v2
5544 45| monitor-exit v2
5558 58| monitor-exit v2
5566 65| monitor-enter v2
5599 102| monitor-exit v2
5606 105| monitor-exit v2
[all …]
Dmedium.rewrite1730 0| monitor-enter v1
1747 21| monitor-exit v1
1753 24| monitor-exit v1
5507 6| monitor-enter v2
5540 43| monitor-exit v2
5545 45| monitor-exit v2
5559 58| monitor-exit v2
5567 65| monitor-enter v2
5600 102| monitor-exit v2
5607 105| monitor-exit v2
[all …]
Dmedium.wrap_invoke1730 0| monitor-enter v1
1747 21| monitor-exit v1
1753 24| monitor-exit v1
5507 6| monitor-enter v2
5540 43| monitor-exit v2
5545 45| monitor-exit v2
5559 58| monitor-exit v2
5567 65| monitor-enter v2
5600 102| monitor-exit v2
5607 105| monitor-exit v2
[all …]
Dmedium.scratch_regs2195 27| monitor-enter v11
2212 48| monitor-exit v11
2218 51| monitor-exit v11
7036 24| monitor-enter v10
7069 61| monitor-exit v10
7074 63| monitor-exit v10
7088 76| monitor-exit v10
7096 83| monitor-enter v10
7129 120| monitor-exit v10
7136 123| monitor-exit v10
[all …]
Dmedium.exit_hook1877 0| monitor-enter v1
1894 21| monitor-exit v1
1901 27| monitor-exit v1
5990 6| monitor-enter v2
6023 43| monitor-exit v2
6029 48| monitor-exit v2
6044 64| monitor-exit v2
6052 71| monitor-enter v2
6085 108| monitor-exit v2
6093 114| monitor-exit v2
[all …]
Dmedium.entry_hook1827 3| monitor-enter v1
1844 24| monitor-exit v1
1850 27| monitor-exit v1
5802 9| monitor-enter v2
5835 46| monitor-exit v2
5840 48| monitor-exit v2
5854 61| monitor-exit v2
5862 68| monitor-enter v2
5895 105| monitor-exit v2
5902 108| monitor-exit v2
[all …]
Dmedium.compact_cfg2055 0| monitor-enter v1
2080 21| monitor-exit v1
2088 24| monitor-exit v1
6473 6| monitor-enter v2
6512 43| monitor-exit v2
6519 45| monitor-exit v2
6537 58| monitor-exit v2
6549 65| monitor-enter v2
6588 102| monitor-exit v2
6597 105| monitor-exit v2
[all …]
/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.