Home
last modified time | relevance | path

Searched refs:FASTBOOT (Results 1 – 14 of 14) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/device/
DTestDeviceState.java27 FASTBOOT, enumConstant
65 return TestDeviceState.FASTBOOT; in getStateByDdms()
DManagedDeviceList.java138 d.setDeviceState(TestDeviceState.FASTBOOT);
139 } else if (d.getDeviceState() == TestDeviceState.FASTBOOT) {
DManagedTestDeviceFactory.java85 testDevice.setDeviceState(TestDeviceState.FASTBOOT); in createDevice()
DWaitDeviceRecovery.java123 if (monitor.getDeviceState().equals(TestDeviceState.FASTBOOT)) { in recoverDevice()
DNativeDeviceStateMonitor.java385 boolean result = waitForDeviceState(TestDeviceState.FASTBOOT, waitTime); in waitForDeviceBootloader()
DNativeDevice.java390 } else if (TestDeviceState.FASTBOOT.equals(getDeviceState()) && in internalGetProperty()
2640 if (TestDeviceState.FASTBOOT.equals(getDeviceState())) { in rebootIntoBootloader()
2702 if (TestDeviceState.FASTBOOT == getDeviceState()) { in rebootIntoRecovery()
2723 if (TestDeviceState.FASTBOOT == getDeviceState()) { in doReboot()
3244 if (getDeviceState().equals(TestDeviceState.FASTBOOT) && mFastbootLock.isLocked()) { in setDeviceState()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DManagedDeviceListTest.java119 mockDevice.setDeviceState(TestDeviceState.FASTBOOT); in testUpdateFastbootState()
139 EasyMock.expect(mockDevice.getDeviceState()).andReturn(TestDeviceState.FASTBOOT); in testUpdateFastbootState_gone()
DTestDeviceStressTest.java85 assertEquals(TestDeviceState.FASTBOOT, mMonitor.getDeviceState()); in testManyRebootBootloaders()
DTestDeviceFuncTest.java525 assertEquals(TestDeviceState.FASTBOOT, mMonitor.getDeviceState()); in testExecuteFastbootCommand_deviceInAdb()
548 assertEquals(TestDeviceState.FASTBOOT, mMonitor.getDeviceState()); in testExecuteFastbootCommand_badCommand()
573 assertEquals(TestDeviceState.FASTBOOT, mMonitor.getDeviceState()); in testRebootIntoBootloader()
DTestDeviceTest.java316 mRecoveryTestDevice.setDeviceState(TestDeviceState.FASTBOOT); in testGetProductType_fastboot()
337 mRecoveryTestDevice.setDeviceState(TestDeviceState.FASTBOOT); in testGetProductType_fastbootNonalpha()
359 mTestDevice.setDeviceState(TestDeviceState.FASTBOOT); in testGetProductType_fastbootFail()
950 mMockStateMonitor.setState(TestDeviceState.FASTBOOT); in testExecuteFastbootCommand_state()
956 mTestDevice.setDeviceState(TestDeviceState.FASTBOOT); in testExecuteFastbootCommand_state()
957 assertEquals(TestDeviceState.FASTBOOT, mTestDevice.getDeviceState()); in testExecuteFastbootCommand_state()
978 assertEquals(TestDeviceState.FASTBOOT, mTestDevice.getDeviceState()); in testExecuteFastbootCommand_state()
DWaitDeviceRecoveryTest.java133 EasyMock.expect(mMockMonitor.getDeviceState()).andReturn(TestDeviceState.FASTBOOT); in testRecoverDevice_fastboot()
DNativeDeviceTest.java1544 return TestDeviceState.FASTBOOT; in testDoReboot_fastboot()
2096 mTestDevice.setDeviceState(TestDeviceState.FASTBOOT); in testGetMacAddress_fastboot()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DFastbootDeviceFlasher.java708 if (device.getDeviceState().equals(TestDeviceState.FASTBOOT)) { in getCurrentSlot()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DFastbootDeviceFlasherTest.java151 EasyMock.expect(mMockDevice.getDeviceState()).andReturn(TestDeviceState.FASTBOOT); in testGetCurrentSlot_fastboot()