Home
last modified time | relevance | path

Searched refs:setRecoveryMode (Results 1 – 25 of 29) sorted by relevance

12

/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDefaultTestsZipInstaller.java118 device.setRecoveryMode(RecoveryMode.ONLINE); in pushTestsZipOntoData()
135 device.setRecoveryMode(cachedRecoveryMode); in pushTestsZipOntoData()
145 device.setRecoveryMode(RecoveryMode.ONLINE); in deleteData()
149 device.setRecoveryMode(cachedRecoveryMode); in deleteData()
DDeviceFlashPreparer.java351 device.setRecoveryMode(RecoveryMode.ONLINE); in setUp()
488 device.setRecoveryMode(RecoveryMode.AVAILABLE); in setUp()
599 testInfo.getDevice().setRecoveryMode(RecoveryMode.NONE); in tearDown()
605 testInfo.getDevice().setRecoveryMode(mode); in tearDown()
DDeviceUpdateTargetPreparer.java103 device.setRecoveryMode(RecoveryMode.AVAILABLE); in setUp()
DGsiDeviceFlashPreparer.java144 device.setRecoveryMode(RecoveryMode.AVAILABLE); in setUp()
DGkiDeviceFlashPreparer.java233 device.setRecoveryMode(RecoveryMode.AVAILABLE); in setUp()
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DDefaultTestsZipInstallerTest.java137 verify(mMockDevice).setRecoveryMode(RecoveryMode.ONLINE); in testCantTouchFilesystem()
176 verify(mMockDevice).setRecoveryMode(RecoveryMode.ONLINE); in testPushTestsZipOntoData()
178 verify(mMockDevice).setRecoveryMode(RecoveryMode.AVAILABLE); in testPushTestsZipOntoData()
211 verify(mMockDevice).setRecoveryMode(RecoveryMode.ONLINE); in testPushTestsZipOntoData_retry()
DDeviceFlashPreparerTest.java164 mMockDevice.setRecoveryMode(RecoveryMode.ONLINE); in doSetupExpectations()
179 mMockDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in doSetupExpectations()
252 verify(mMockDevice).setRecoveryMode(RecoveryMode.ONLINE); in testSetup_buildError()
262 verify(mMockDevice).setRecoveryMode(RecoveryMode.AVAILABLE); in testSetup_buildError()
289 verify(mMockDevice).setRecoveryMode(RecoveryMode.ONLINE); in testSetup_flashException()
DGkiDeviceFlashPreparerTest.java396 verify(mMockDevice).setRecoveryMode(RecoveryMode.AVAILABLE); in testSetup_Success()
457 verify(mMockDevice).setRecoveryMode(RecoveryMode.AVAILABLE); in testSetup_vendor_img_Success()
504 verify(mMockDevice).setRecoveryMode(RecoveryMode.AVAILABLE); in testSetup_Success_FromZip()
DGsiDeviceFlashPreparerTest.java132 verify(mMockDevice).setRecoveryMode(RecoveryMode.AVAILABLE); in verifyExpectations()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DScreenshotOnFailureCollector.java57 device.setRecoveryMode(RecoveryMode.NONE); in onTestFail()
65 device.setRecoveryMode(mode); in onTestFail()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DTestSystemAppInstallSetup.java77 device.setRecoveryMode(RecoveryMode.ONLINE); in setUp()
88 device.setRecoveryMode(RecoveryMode.AVAILABLE); in setUp()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/
DInstrumentationTestFuncTest.java227 getDevice().setRecoveryMode(RecoveryMode.NONE); in testRun_testTimeout()
250 getDevice().setRecoveryMode(initMode); in testRun_testTimeout()
404 getDevice().setRecoveryMode(RecoveryMode.NONE); in testRun_rerun()
419 getDevice().setRecoveryMode(initMode); in testRun_rerun()
456 getDevice().setRecoveryMode(RecoveryMode.NONE); in testRun_rerunHang()
472 getDevice().setRecoveryMode(initMode); in testRun_rerunHang()
/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/
DScreenshotOnFailureCollectorTest.java81 verify(mMockDevice).setRecoveryMode(RecoveryMode.NONE); in testCollect()
86 verify(mMockDevice).setRecoveryMode(RecoveryMode.AVAILABLE); in testCollect()
/tools/tradefederation/contrib/src/com/android/fastboot/tests/
DFastbootTest.java196 mDevice.setRecoveryMode(RecoveryMode.ONLINE); in testFastboot()
209 mDevice.setRecoveryMode(RecoveryMode.AVAILABLE); in testFastboot()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DTestInvocation.java300 badDevice.setRecoveryMode(RecoveryMode.NONE); in performInvocation()
336 badDevice.setRecoveryMode(RecoveryMode.NONE); in performInvocation()
751 device.setRecoveryMode(RecoveryMode.NONE); in takeBugreport()
770 device.setRecoveryMode(recovery); in takeBugreport()
1729 device.setRecoveryMode(RecoveryMode.NONE); in reportRecoveryLogs()
1746 device.setRecoveryMode(mode); in reportRecoveryLogs()
1818 device.setRecoveryMode(RecoveryMode.NONE); in bareMinimumResponsiveness()
1829 device.setRecoveryMode(current); in bareMinimumResponsiveness()
1870 device.setRecoveryMode(RecoveryMode.NONE); in checkDevicesAvailable()
1893 device.setRecoveryMode(current); in checkDevicesAvailable()
DInvocationContext.java304 device.setRecoveryMode(mode); in setRecoveryModeForAllDevices()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/sync/
DDeviceSyncHelper.java95 device.setRecoveryMode(RecoveryMode.NONE); in syncFiles()
/tools/tradefederation/core/src/com/android/tradefed/device/
DLocalAndroidVirtualDevice.java132 setRecoveryMode(RecoveryMode.NONE); in preInvocationSetup()
141 setRecoveryMode(previousMode); in preInvocationSetup()
DNativeDevice.java3681 setRecoveryMode(RecoveryMode.ONLINE); in reboot()
3687 setRecoveryMode(cachedRecoveryMode); in reboot()
3709 setRecoveryMode(RecoveryMode.ONLINE); in rebootUserspace()
3718 setRecoveryMode(cachedRecoveryMode); in rebootUserspace()
3772 setRecoveryMode(RecoveryMode.ONLINE); in internalRebootUntilOnline()
3775 setRecoveryMode(cachedRecoveryMode); in internalRebootUntilOnline()
3794 setRecoveryMode(RecoveryMode.ONLINE); in rebootUserspaceUntilOnline()
3797 setRecoveryMode(cachedRecoveryMode); in rebootUserspaceUntilOnline()
4363 public void setRecoveryMode(RecoveryMode mode) { in setRecoveryMode() method in NativeDevice
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DMockDeviceManager.java100 mockDevice.setRecoveryMode(RecoveryMode.NONE); in setNumDevicesCustomRealNoRecovery()
/tools/tradefederation/core/src/com/android/tradefed/util/image/
DIncrementalImageUtil.java381 mDevice.setRecoveryMode(RecoveryMode.NONE); in internalUpdateDevice()
420 mDevice.setRecoveryMode(mode); in internalUpdateDevice()
/tools/tradefederation/core/src/com/android/tradefed/device/connection/
DAdbSshConnection.java156 getDevice().setRecoveryMode(RecoveryMode.NONE); in initializeConnection()
174 getDevice().setRecoveryMode(previousMode); in initializeConnection()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DINativeDevice.java1382 public void setRecoveryMode(RecoveryMode mode); in setRecoveryMode() method
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleDefinition.java1126 device.setRecoveryMode(RecoveryMode.NONE); in runTearDown()
1133 device.setRecoveryMode(origMode); in runTearDown()
/tools/tradefederation/core/javatests/com/android/tradefed/command/
DCommandSchedulerTest.java398 mockDevice.setRecoveryMode(eq(RecoveryMode.AVAILABLE));
1550 mockDevice.setRecoveryMode(eq(RecoveryMode.AVAILABLE)); in testExecCommand_versioning()

12