Searched refs:RecoveryMode (Results 1 – 16 of 16) sorted by relevance
23 import com.android.tradefed.device.ITestDevice.RecoveryMode;105 EasyMock.expect(mMockDevice.getRecoveryMode()).andReturn(RecoveryMode.AVAILABLE); in testCantTouchFilesystem()108 mMockDevice.setRecoveryMode(RecoveryMode.ONLINE); in testCantTouchFilesystem()136 EasyMock.expect(mMockDevice.getRecoveryMode()).andReturn(RecoveryMode.AVAILABLE); in testPushTestsZipOntoData()137 mMockDevice.setRecoveryMode(RecoveryMode.ONLINE); in testPushTestsZipOntoData()150 mMockDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in testPushTestsZipOntoData()180 EasyMock.expect(mMockDevice.getRecoveryMode()).andReturn(RecoveryMode.AVAILABLE); in testPushTestsZipOntoData_retry()181 mMockDevice.setRecoveryMode(RecoveryMode.ONLINE); in testPushTestsZipOntoData_retry()
32 import com.android.tradefed.device.ITestDevice.RecoveryMode;131 mMockDevice.setRecoveryMode(RecoveryMode.ONLINE); in doSetupExpectations()146 mMockDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in doSetupExpectations()167 mMockDevice.setRecoveryMode(RecoveryMode.ONLINE); in testSetup_buildError()183 mMockDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in testSetup_buildError()210 mMockDevice.setRecoveryMode(RecoveryMode.ONLINE); in testSetup_flashException()
29 import com.android.tradefed.device.ITestDevice.RecoveryMode;76 device.setRecoveryMode(RecoveryMode.ONLINE); in setUp()87 device.setRecoveryMode(RecoveryMode.AVAILABLE); in setUp()
27 import com.android.tradefed.device.ITestDevice.RecoveryMode;184 device.setRecoveryMode(RecoveryMode.ONLINE); in setUp()238 device.setRecoveryMode(RecoveryMode.AVAILABLE); in setUp()
30 import com.android.tradefed.device.ITestDevice.RecoveryMode;172 RecoveryMode initMode = getDevice().getRecoveryMode(); in testRun_testTimeout()173 getDevice().setRecoveryMode(RecoveryMode.NONE); in testRun_testTimeout()342 RecoveryMode initMode = getDevice().getRecoveryMode(); in testRun_rerun()343 getDevice().setRecoveryMode(RecoveryMode.NONE); in testRun_rerun()392 RecoveryMode initMode = getDevice().getRecoveryMode(); in testRun_rerunHang()393 getDevice().setRecoveryMode(RecoveryMode.NONE); in testRun_rerunHang()
21 import com.android.tradefed.device.ITestDevice.RecoveryMode;171 public void setRecoveryModeForAllDevices(RecoveryMode mode); in setRecoveryModeForAllDevices()
23 import com.android.tradefed.device.ITestDevice.RecoveryMode;284 public void setRecoveryModeForAllDevices(RecoveryMode mode) { in setRecoveryModeForAllDevices()
28 import com.android.tradefed.device.ITestDevice.RecoveryMode;213 context.setRecoveryModeForAllDevices(RecoveryMode.NONE); in performInvocation()215 badDevice.setRecoveryMode(RecoveryMode.NONE); in performInvocation()246 badDevice.setRecoveryMode(RecoveryMode.NONE); in performInvocation()
25 import com.android.tradefed.device.ITestDevice.RecoveryMode;994 public void setRecoveryMode(RecoveryMode mode); in setRecoveryMode()1001 public RecoveryMode getRecoveryMode(); in getRecoveryMode()
195 private RecoveryMode mRecoveryMode = RecoveryMode.AVAILABLE;1879 if (mRecoveryMode.equals(RecoveryMode.NONE)) { in recoverDevice()1886 mRecovery.recoverDevice(mStateMonitor, mRecoveryMode.equals(RecoveryMode.ONLINE)); in recoverDevice()1888 RecoveryMode previousRecoveryMode = mRecoveryMode; in recoverDevice()1889 mRecoveryMode = RecoveryMode.NONE; in recoverDevice()1895 if (mRecoveryMode.equals(RecoveryMode.AVAILABLE)) { in recoverDevice()1899 mRecoveryMode = RecoveryMode.NONE; in recoverDevice()1905 mRecoveryMode = RecoveryMode.AVAILABLE; in recoverDevice()1906 } else if (mRecoveryMode.equals(RecoveryMode.ONLINE)) { in recoverDevice()1910 mRecoveryMode = RecoveryMode.NONE; in recoverDevice()[all …]
38 public enum RecoveryMode { enum
26 import com.android.tradefed.device.ITestDevice.RecoveryMode;98 mTestDevice.setRecoveryMode(RecoveryMode.NONE); in executeRebootTest()
20 import com.android.tradefed.device.ITestDevice.RecoveryMode;98 mockDevice.setRecoveryMode(RecoveryMode.NONE); in setNumDevicesCustomRealNoRecovery()
31 import com.android.tradefed.device.ITestDevice.RecoveryMode;452 testDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in testRecoverDevice_ThrowException()530 mRecoveryTestDevice.setRecoveryMode(RecoveryMode.ONLINE); in testExecuteShellCommand_recoveryUntilOnline()
37 import com.android.tradefed.device.ITestDevice.RecoveryMode;344 mockDevice.setRecoveryMode(EasyMock.eq(RecoveryMode.AVAILABLE)); in testExecCommand()885 assertTrue(t.getRecoveryMode().equals(RecoveryMode.AVAILABLE)); in testDeviceRecoveryState()1132 mockDevice.setRecoveryMode(EasyMock.eq(RecoveryMode.AVAILABLE)); in testExecCommand_versioning()
47 import com.android.tradefed.device.ITestDevice.RecoveryMode;465 mMockDevice.setRecoveryMode(RecoveryMode.NONE); in testInvoke_deviceNotAvail()528 mMockDevice.setRecoveryMode(RecoveryMode.NONE); in testInvoke_resume()728 mMockDevice.setRecoveryMode(RecoveryMode.NONE); in testInvoke_tearDown_deviceNotAvail()