Searched refs:waitForDeviceNotAvailable (Results 1 – 15 of 15) sorted by relevance
327 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()
3204 boolean notAvailable = waitForDeviceNotAvailable(DEFAULT_UNAVAILABLE_TIMEOUT); in doReboot()3249 protected void waitForDeviceNotAvailable(String operationDesc, long time) { in waitForDeviceNotAvailable() method in NativeDevice3252 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 NativeDevice3644 return mStateMonitor.waitForDeviceNotAvailable(waitTime); in waitForDeviceNotAvailable()
383 monitor.waitForDeviceNotAvailable(WAIT_FOR_DEVICE_OFFLINE); in handleDeviceFastbootdUnresponsive()421 monitor.waitForDeviceNotAvailable(20*1000); in handleDeviceBootloaderUnresponsive()
803 device.waitForDeviceNotAvailable(5 * 1000); in killEmulator()818 if (!device.waitForDeviceNotAvailable(20 * 1000)) { in killEmulator()
146 public boolean waitForDeviceNotAvailable(long waitTime) { in waitForDeviceNotAvailable() method in NativeDeviceStateMonitor
961 boolean notAvailable = waitForDeviceNotAvailable(30 * 1000); in doAdbFrameworkReboot()
123 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()
276 EasyMock.expect(mMockMonitor.waitForDeviceNotAvailable(EasyMock.anyLong())).andReturn( in testRecoverDeviceBootloader_fastboot()303 EasyMock.expect(mMockMonitor.waitForDeviceNotAvailable(EasyMock.anyLong())).andReturn( in testRecoverDeviceBootloader_unavailable()
232 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()
427 EasyMock.expect(mMockTestDevice.waitForDeviceNotAvailable(EasyMock.anyLong())).andReturn( in testFreeDevice_emulator()
1611 EasyMock.expect(mMockStateMonitor.waitForDeviceNotAvailable(EasyMock.anyLong())) in testDoReboot()
125 public boolean waitForDeviceNotAvailable(long waitTime); in waitForDeviceNotAvailable() method
1176 public boolean waitForDeviceNotAvailable(final long waitTime); in waitForDeviceNotAvailable() method
102 device.waitForDeviceNotAvailable(DSU_MAX_WAIT_SEC * 1000); in setUp()
178 if (!waitForDeviceNotAvailable(DEFAULT_SHORT_CMD_TIMEOUT)) { in postInvocationTearDown()