/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/ |
D | DynamicSystemPreparerTest.java | 152 Mockito.when(mMockDevice.waitForDeviceNotAvailable(Mockito.anyLong())).thenReturn(true); in testSetUp_imageDir() 172 Mockito.when(mMockDevice.waitForDeviceNotAvailable(Mockito.anyLong())).thenReturn(true); in testSetUp_imageZip() 202 Mockito.when(mMockDevice.waitForDeviceNotAvailable(Mockito.anyLong())).thenReturn(false); in testSetUp_installationFail() 222 Mockito.when(mMockDevice.waitForDeviceNotAvailable(Mockito.anyLong())).thenReturn(true); in testSetUp_rebootFail() 244 Mockito.when(mMockDevice.waitForDeviceNotAvailable(Mockito.anyLong())).thenReturn(true); in testSetUp_noDsuRunningAfterRebootFail() 258 Mockito.when(mMockDevice.waitForDeviceNotAvailable(Mockito.anyLong())).thenReturn(true); in testImageSetup()
|
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/ |
D | IDeviceStateMonitor.java | 151 public boolean waitForDeviceNotAvailable(long waitTime); in waitForDeviceNotAvailable() method
|
D | INativeDevice.java | 1319 public boolean waitForDeviceNotAvailable(final long waitTime); in waitForDeviceNotAvailable() method
|
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/ |
D | AtraceCollector.java | 191 device.waitForDeviceNotAvailable(DEVICE_OFFLINE_TIMEOUT_MS); in onTestStart() 194 device.waitForDeviceNotAvailable(DEVICE_OFFLINE_TIMEOUT_MS); in onTestStart()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/ |
D | DeviceWiper.java | 123 device.waitForDeviceNotAvailable(30_000); in doFactoryReset()
|
D | DynamicSystemPreparer.java | 304 if (!device.waitForDeviceNotAvailable(DSU_MAX_WAIT_SEC * 1000)) { in setUp()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/sync/ |
D | DeviceSyncHelper.java | 129 device.waitForDeviceNotAvailable(30 * 1000L); in syncFiles()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | WaitDeviceRecovery.java | 382 monitor.waitForDeviceNotAvailable(WAIT_FOR_DEVICE_OFFLINE); in handleDeviceFastbootdUnresponsive() 422 monitor.waitForDeviceNotAvailable(20*1000); in handleDeviceBootloaderUnresponsive()
|
D | NativeDevice.java | 3956 boolean notAvailable = waitForDeviceNotAvailable(DEFAULT_UNAVAILABLE_TIMEOUT); in postAdbReboot() 3996 protected boolean waitForDeviceNotAvailable(String operationDesc, long time) { in waitForDeviceNotAvailable() method in NativeDevice 3999 if (!mStateMonitor.waitForDeviceNotAvailable(time)) { in waitForDeviceNotAvailable() 4012 public boolean waitForDeviceNotAvailable(long waitTime) { in waitForDeviceNotAvailable() method in NativeDevice 4013 return mStateMonitor.waitForDeviceNotAvailable(waitTime); in waitForDeviceNotAvailable() 4044 waitForDeviceNotAvailable( in enableAdbRoot() 4086 waitForDeviceNotAvailable("unroot", 5 * 1000); in disableAdbRoot()
|
D | NativeDeviceStateMonitor.java | 192 public boolean waitForDeviceNotAvailable(long waitTime) { in waitForDeviceNotAvailable() method in NativeDeviceStateMonitor
|
D | DeviceManager.java | 900 device.waitForDeviceNotAvailable(10 * 1000); in killEmulator() 914 if (!device.waitForDeviceNotAvailable(20 * 1000)) { in killEmulator()
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/ |
D | DeviceStateMonitorTest.java | 152 boolean res = mMonitor.waitForDeviceNotAvailable(WAIT_TIMEOUT_NOT_REACHED_MS); in testWaitForDeviceOffline_alreadyOffline() 173 boolean res = mMonitor.waitForDeviceNotAvailable(WAIT_TIMEOUT_NOT_REACHED_MS); in testWaitForDeviceOffline() 184 boolean res = mMonitor.waitForDeviceNotAvailable(WAIT_TIMEOUT_REACHED_MS); in testWaitForDeviceOffline_timeout()
|
D | WaitDeviceRecoveryTest.java | 285 when(mMockMonitor.waitForDeviceNotAvailable(Mockito.anyLong())).thenReturn(Boolean.TRUE); in testRecoverDeviceBootloader_fastboot() 318 when(mMockMonitor.waitForDeviceNotAvailable(Mockito.anyLong())).thenReturn(Boolean.TRUE); in testRecoverDeviceBootloader_unavailable()
|
D | DeviceManagerTest.java | 380 when(mMockTestDevice.waitForDeviceNotAvailable(Mockito.anyLong())).thenReturn(Boolean.TRUE); in testFreeDevice_emulator() 381 when(mMockTestDevice.waitForDeviceNotAvailable(Mockito.anyLong())).thenReturn(Boolean.TRUE); in testFreeDevice_emulator()
|
D | TestDeviceTest.java | 385 when(mMockStateMonitor.waitForDeviceNotAvailable(Mockito.anyLong())) in testDisableAdbRoot_unroot() 404 when(mMockStateMonitor.waitForDeviceNotAvailable(Mockito.anyLong())) in setEnableAdbRootExpectations() 443 when(mMockStateMonitor.waitForDeviceNotAvailable(Mockito.anyLong())) in testEnableAdbRoot_rootRetry() 449 verify(mMockStateMonitor, times(2)).waitForDeviceNotAvailable(Mockito.anyLong()); in testEnableAdbRoot_rootRetry() 2431 when(mMockStateMonitor.waitForDeviceNotAvailable(Mockito.anyLong())) in setRebootExpectations() 2480 when(mMockStateMonitor.waitForDeviceNotAvailable(Mockito.anyLong())) in testRebootRecovers()
|
D | NativeDeviceTest.java | 1490 when(mMockStateMonitor.waitForDeviceNotAvailable(Mockito.anyLong())).thenReturn(true); in testDoReboot()
|
/tools/tradefederation/core/src/com/android/tradefed/device/connection/ |
D | AdbSshConnection.java | 274 .waitForDeviceNotAvailable(DEFAULT_SHORT_CMD_TIMEOUT)) { in tearDownConnection()
|