Searched refs:RECOVERY (Results 1 – 9 of 9) sorted by relevance
31 RECOVERY, enumConstant43 case RECOVERY: in getDdmsState()44 return DeviceState.RECOVERY; in getDdmsState()65 case RECOVERY: in getStateByDdms()66 return TestDeviceState.RECOVERY; in getStateByDdms()
111 if (waitForDeviceState(TestDeviceState.RECOVERY, mDefaultOnlineTimeout)) { in waitForDeviceInRecovery()163 return waitForDeviceState(TestDeviceState.RECOVERY, waitTime); in waitForDeviceInRecovery()
510 if (TestDeviceState.RECOVERY.equals(monitor.getDeviceState())) { in attemptDeviceUnavailableRecovery()
138 EasyMock.expect(mMockMonitor.getDeviceState()).andStubReturn(TestDeviceState.RECOVERY); in testRecoverDevice_unavailable_recovery()163 EasyMock.expect(mMockMonitor.getDeviceState()).andReturn(TestDeviceState.RECOVERY).times(3); in testRecoverDevice_unavailable_recovery_fail()
607 assertEquals(TestDeviceState.RECOVERY, mMonitor.getDeviceState()); in testRebootIntoRecovery()
55 if (managedDevice.getDeviceState().equals(TestDeviceState.RECOVERY)) { in bootOutOfRecovery()
50 EasyMock.expect(mMockManagedDevice.getDeviceState()).andReturn(TestDeviceState.RECOVERY); in testBootOutOfRecovery()
58 if (TestDeviceState.RECOVERY.equals(state) in run()
87 doReturn(TestDeviceState.RECOVERY).when(mDevice).getDeviceState(); in testReset_recovery()