/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | NativeDevice.java | 206 private RecoveryMode mRecoveryMode = RecoveryMode.AVAILABLE; 2155 if (mRecoveryMode.equals(RecoveryMode.NONE)) { in recoverDevice() 2162 mRecovery.recoverDevice(mStateMonitor, mRecoveryMode.equals(RecoveryMode.ONLINE)); in recoverDevice() 2164 RecoveryMode previousRecoveryMode = mRecoveryMode; in recoverDevice() 2165 mRecoveryMode = RecoveryMode.NONE; in recoverDevice() 2177 if (mRecoveryMode.equals(RecoveryMode.AVAILABLE)) { in recoverDevice() 2181 mRecoveryMode = RecoveryMode.NONE; in recoverDevice() 2187 mRecoveryMode = RecoveryMode.AVAILABLE; in recoverDevice() 2188 } else if (mRecoveryMode.equals(RecoveryMode.ONLINE)) { in recoverDevice() 2192 mRecoveryMode = RecoveryMode.NONE; in recoverDevice() [all …]
|
D | LocalAndroidVirtualDevice.java | 108 RecoveryMode previousMode = getRecoveryMode(); in preInvocationSetup() 110 setRecoveryMode(RecoveryMode.NONE); in preInvocationSetup()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | DefaultTestsZipInstallerTest.java | 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() 149 mMockDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in testPushTestsZipOntoData() 179 EasyMock.expect(mMockDevice.getRecoveryMode()).andReturn(RecoveryMode.AVAILABLE); in testPushTestsZipOntoData_retry() 180 mMockDevice.setRecoveryMode(RecoveryMode.ONLINE); in testPushTestsZipOntoData_retry()
|
D | DeviceFlashPreparerTest.java | 32 import com.android.tradefed.device.ITestDevice.RecoveryMode; 140 mMockDevice.setRecoveryMode(RecoveryMode.ONLINE); in doSetupExpectations() 155 mMockDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in doSetupExpectations() 194 mMockDevice.setRecoveryMode(RecoveryMode.ONLINE); in testSetup_buildError() 211 mMockDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in testSetup_buildError() 238 mMockDevice.setRecoveryMode(RecoveryMode.ONLINE); in testSetup_flashException()
|
D | GkiDeviceFlashPreparerTest.java | 29 import com.android.tradefed.device.ITestDevice.RecoveryMode; 126 mMockDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in doSetupExpectations()
|
D | GsiDeviceFlashPreparerTest.java | 29 import com.android.tradefed.device.ITestDevice.RecoveryMode; 126 mMockDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in doSetupExpectations()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | InstrumentationTestFuncTest.java | 30 import com.android.tradefed.device.ITestDevice.RecoveryMode; 185 RecoveryMode initMode = getDevice().getRecoveryMode(); in testRun_testTimeout() 186 getDevice().setRecoveryMode(RecoveryMode.NONE); in testRun_testTimeout() 359 RecoveryMode initMode = getDevice().getRecoveryMode(); in testRun_rerun() 360 getDevice().setRecoveryMode(RecoveryMode.NONE); in testRun_rerun() 409 RecoveryMode initMode = getDevice().getRecoveryMode(); in testRun_rerunHang() 410 getDevice().setRecoveryMode(RecoveryMode.NONE); in testRun_rerunHang()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | DefaultTestsZipInstaller.java | 24 import com.android.tradefed.device.ITestDevice.RecoveryMode; 117 RecoveryMode cachedRecoveryMode = device.getRecoveryMode(); in pushTestsZipOntoData() 118 device.setRecoveryMode(RecoveryMode.ONLINE); in pushTestsZipOntoData() 144 RecoveryMode cachedRecoveryMode = device.getRecoveryMode(); in deleteData() 145 device.setRecoveryMode(RecoveryMode.ONLINE); in deleteData()
|
D | DeviceFlashPreparer.java | 27 import com.android.tradefed.device.ITestDevice.RecoveryMode; 207 device.setRecoveryMode(RecoveryMode.ONLINE); in setUp() 263 device.setRecoveryMode(RecoveryMode.AVAILABLE); in setUp()
|
D | DeviceUpdateTargetPreparer.java | 25 import com.android.tradefed.device.ITestDevice.RecoveryMode; 102 device.setRecoveryMode(RecoveryMode.AVAILABLE); in setUp()
|
D | GkiDeviceFlashPreparer.java | 26 import com.android.tradefed.device.ITestDevice.RecoveryMode; 102 device.setRecoveryMode(RecoveryMode.AVAILABLE); in setUp()
|
D | GsiDeviceFlashPreparer.java | 26 import com.android.tradefed.device.ITestDevice.RecoveryMode; 121 device.setRecoveryMode(RecoveryMode.AVAILABLE); in setUp()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/ |
D | TestSystemAppInstallSetup.java | 25 import com.android.tradefed.device.ITestDevice.RecoveryMode; 77 device.setRecoveryMode(RecoveryMode.ONLINE); in setUp() 88 device.setRecoveryMode(RecoveryMode.AVAILABLE); in setUp()
|
/tools/tradefederation/contrib/src/com/android/fastboot/tests/ |
D | FastbootTest.java | 26 import com.android.tradefed.device.ITestDevice.RecoveryMode; 196 mDevice.setRecoveryMode(RecoveryMode.ONLINE); in testFastboot() 209 mDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in testFastboot()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | TestInvocationTest.java | 51 import com.android.tradefed.device.ITestDevice.RecoveryMode; 238 mMockDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in setUp() 658 mMockDevice.setRecoveryMode(RecoveryMode.NONE); in testInvoke_deviceNotAvail() 679 mMockDevice.setRecoveryMode(RecoveryMode.NONE); in testInvoke_setupError() 771 mMockDevice.setRecoveryMode(RecoveryMode.NONE); in testInvoke_tearDown_deviceNotAvail() 2146 mMockDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in setEarlyDeviceReleaseExpectation()
|
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/ |
D | INativeDevice.java | 25 import com.android.tradefed.device.ITestDevice.RecoveryMode; 1231 public void setRecoveryMode(RecoveryMode mode); in setRecoveryMode() 1238 public RecoveryMode getRecoveryMode(); in getRecoveryMode()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | TestInvocation.java | 36 import com.android.tradefed.device.ITestDevice.RecoveryMode; 246 context.setRecoveryModeForAllDevices(RecoveryMode.NONE); in performInvocation() 248 badDevice.setRecoveryMode(RecoveryMode.NONE); in performInvocation() 276 badDevice.setRecoveryMode(RecoveryMode.NONE); in performInvocation()
|
D | InvocationContext.java | 25 import com.android.tradefed.device.ITestDevice.RecoveryMode; 302 public void setRecoveryModeForAllDevices(RecoveryMode mode) { in setRecoveryModeForAllDevices()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/command/ |
D | CommandSchedulerTest.java | 46 import com.android.tradefed.device.ITestDevice.RecoveryMode; 357 mockDevice.setRecoveryMode(EasyMock.eq(RecoveryMode.AVAILABLE)); in testExecCommand() 979 assertTrue(t.getRecoveryMode().equals(RecoveryMode.AVAILABLE)); in testDeviceRecoveryState() 1270 mockDevice.setRecoveryMode(EasyMock.eq(RecoveryMode.AVAILABLE)); in testExecCommand_versioning()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ModuleDefinition.java | 30 import com.android.tradefed.device.ITestDevice.RecoveryMode; 898 RecoveryMode origMode = null; in runTearDown() 904 device.setRecoveryMode(RecoveryMode.NONE); in runTearDown()
|
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/invoker/ |
D | IInvocationContext.java | 21 import com.android.tradefed.device.ITestDevice.RecoveryMode; 192 public void setRecoveryModeForAllDevices(RecoveryMode mode); in setRecoveryModeForAllDevices()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | ModuleDefinitionTest.java | 40 import com.android.tradefed.device.ITestDevice.RecoveryMode; 992 EasyMock.expect(mMockDevice.getRecoveryMode()).andReturn(RecoveryMode.AVAILABLE); in testRun_partialRun() 993 mMockDevice.setRecoveryMode(RecoveryMode.NONE); in testRun_partialRun() 994 mMockDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in testRun_partialRun()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | MockDeviceManager.java | 20 import com.android.tradefed.device.ITestDevice.RecoveryMode; 98 mockDevice.setRecoveryMode(RecoveryMode.NONE); in setNumDevicesCustomRealNoRecovery()
|
D | TestDeviceTest.java | 39 import com.android.tradefed.device.ITestDevice.RecoveryMode; 485 testDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in testRecoverDevice_ThrowException() 563 mRecoveryTestDevice.setRecoveryMode(RecoveryMode.ONLINE); in testExecuteShellCommand_recoveryUntilOnline()
|
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/ |
D | RemoteAndroidVirtualDevice.java | 112 RecoveryMode previousMode = getRecoveryMode(); in preInvocationSetup() 113 setRecoveryMode(RecoveryMode.NONE); in preInvocationSetup()
|