Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/
DRemoteAndroidVirtualDeviceTest.java327 EasyMock.expect(mMockStateMonitor.waitForDeviceNotAvailable(EasyMock.anyLong())) in testPostInvocationTearDown()
433 EasyMock.expect(mMockStateMonitor.waitForDeviceNotAvailable(EasyMock.anyLong())) in testLaunchGce_nullPort()
532 EasyMock.expect(mMockStateMonitor.waitForDeviceNotAvailable(EasyMock.anyLong())) in testDeviceNotStoreShutdownState()
635 EasyMock.expect(mMockStateMonitor.waitForDeviceNotAvailable(EasyMock.anyLong())) in testDevice_skipTearDown()
721 EasyMock.expect(mMockStateMonitor.waitForDeviceNotAvailable(EasyMock.anyLong())) in testDeviceBoot_offline()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java3204 boolean notAvailable = waitForDeviceNotAvailable(DEFAULT_UNAVAILABLE_TIMEOUT); in doReboot()
3249 protected void waitForDeviceNotAvailable(String operationDesc, long time) { in waitForDeviceNotAvailable() method in NativeDevice
3252 if (!mStateMonitor.waitForDeviceNotAvailable(time)) { in waitForDeviceNotAvailable()
3283 waitForDeviceNotAvailable("root", 20 * 1000); in enableAdbRoot()
3314 waitForDeviceNotAvailable("unroot", 5 * 1000); in disableAdbRoot()
3404 waitForDeviceNotAvailable("reboot", getCommandTimeout()); in encryptDevice()
3458 if (waitForDeviceNotAvailable(mOptions.getUnencryptRebootTimeout())) { in unencryptDevice()
3643 public boolean waitForDeviceNotAvailable(long waitTime) { in waitForDeviceNotAvailable() method in NativeDevice
3644 return mStateMonitor.waitForDeviceNotAvailable(waitTime); in waitForDeviceNotAvailable()
DWaitDeviceRecovery.java383 monitor.waitForDeviceNotAvailable(WAIT_FOR_DEVICE_OFFLINE); in handleDeviceFastbootdUnresponsive()
421 monitor.waitForDeviceNotAvailable(20*1000); in handleDeviceBootloaderUnresponsive()
DDeviceManager.java803 device.waitForDeviceNotAvailable(5 * 1000); in killEmulator()
818 if (!device.waitForDeviceNotAvailable(20 * 1000)) { in killEmulator()
DNativeDeviceStateMonitor.java146 public boolean waitForDeviceNotAvailable(long waitTime) { in waitForDeviceNotAvailable() method in NativeDeviceStateMonitor
DTestDevice.java961 boolean notAvailable = waitForDeviceNotAvailable(30 * 1000); in doAdbFrameworkReboot()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DDeviceStateMonitorTest.java123 boolean res = mMonitor.waitForDeviceNotAvailable(WAIT_TIMEOUT_NOT_REACHED_MS); in testWaitForDeviceOffline_alreadyOffline()
143 boolean res = mMonitor.waitForDeviceNotAvailable(WAIT_TIMEOUT_NOT_REACHED_MS); in testWaitForDeviceOffline()
153 boolean res = mMonitor.waitForDeviceNotAvailable(WAIT_TIMEOUT_REACHED_MS); in testWaitForDeviceOffline_timeout()
DWaitDeviceRecoveryTest.java276 EasyMock.expect(mMockMonitor.waitForDeviceNotAvailable(EasyMock.anyLong())).andReturn( in testRecoverDeviceBootloader_fastboot()
303 EasyMock.expect(mMockMonitor.waitForDeviceNotAvailable(EasyMock.anyLong())).andReturn( in testRecoverDeviceBootloader_unavailable()
DTestDeviceTest.java232 EasyMock.expect(mMockStateMonitor.waitForDeviceNotAvailable(EasyMock.anyLong())).andReturn( in testDisableAdbRoot_unroot()
251 EasyMock.expect(mMockStateMonitor.waitForDeviceNotAvailable(EasyMock.anyLong())).andReturn( in setEnableAdbRootExpectations()
283 EasyMock.expect(mMockStateMonitor.waitForDeviceNotAvailable(EasyMock.anyLong())).andReturn( in testEnableAdbRoot_rootRetry()
1111 EasyMock.expect(mMockStateMonitor.waitForDeviceNotAvailable(EasyMock.anyLong())).andReturn( in testEncryptDevice_encryptionFails()
DDeviceManagerTest.java427 EasyMock.expect(mMockTestDevice.waitForDeviceNotAvailable(EasyMock.anyLong())).andReturn( in testFreeDevice_emulator()
DNativeDeviceTest.java1611 EasyMock.expect(mMockStateMonitor.waitForDeviceNotAvailable(EasyMock.anyLong())) in testDoReboot()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DIDeviceStateMonitor.java125 public boolean waitForDeviceNotAvailable(long waitTime); in waitForDeviceNotAvailable() method
DINativeDevice.java1176 public boolean waitForDeviceNotAvailable(final long waitTime); in waitForDeviceNotAvailable() method
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DDynamicSystemPreparer.java102 device.waitForDeviceNotAvailable(DSU_MAX_WAIT_SEC * 1000); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DRemoteAndroidVirtualDevice.java178 if (!waitForDeviceNotAvailable(DEFAULT_SHORT_CMD_TIMEOUT)) { in postInvocationTearDown()