Home
last modified time | relevance | path

Searched refs:executeFastbootCommand (Results 1 – 16 of 16) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DFastbootCommandPreparerTest.java71 when(mMockDevice.executeFastbootCommand(any())).thenReturn(fastbootResult); in setUp()
88 when(mMockDevice.executeFastbootCommand( in testSetUp_extraFile()
98 verify(mMockDevice).executeFastbootCommand( in testSetUp_extraFile()
119 when(mMockDevice.executeFastbootCommand( in testTearDown_extraFile()
129 verify(mMockDevice).executeFastbootCommand( in testTearDown_extraFile()
145 verify(mMockDevice).executeFastbootCommand(eq("command")); in testSetUp_fastbootdMode()
158 verify(mMockDevice).executeFastbootCommand(eq("command")); in testTearDown_fastbootMode()
192 when(mMockDevice.executeFastbootCommand(any())).thenReturn(fastbootResult); in testSetUp_withErrors()
DFastbootDeviceFlasherTest.java135 .executeFastbootCommand((String) Mockito.any(), (String) Mockito.any()); in testFlash_deviceNotAvailable()
169 when(mMockDevice.executeFastbootCommand("getvar", "version-bootloader")) in testGetImageVersion()
186 when(mMockDevice.executeFastbootCommand("getvar", "current-slot")) in testGetCurrentSlot_fastboot()
234 when(mMockDevice.executeFastbootCommand("getvar", "version-baseband")) in testRetryGetVersionCommand()
333 when(mMockDevice.executeFastbootCommand("getvar", "partition-type:cache")) in testWipeCache_exists()
383 when(mMockDevice.executeFastbootCommand("getvar", "partition-type:cache")) in testWipeCache_not_exists()
406 when(mMockDevice.executeFastbootCommand("getvar", "partition-type:cache")) in testWipeCache_not_exists_error()
423 when(mMockDevice.executeFastbootCommand(Mockito.anyLong(), Mockito.eq("-w"))) in doTestFlashWithWipe()
560 when(mMockDevice.executeFastbootCommand( in testCheckAndFlashBootloader()
888 when(mockDevice.executeFastbootCommand((String) Mockito.any(), (String) Mockito.any())) in setFastbootResponseExpectations()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DDeviceWiper.java86 device.executeFastbootCommand("reboot"); in doFormat()
96 device.executeFastbootCommand("reboot"); in doErase()
DFastbootCommandPreparer.java82 final CommandResult result = device.executeFastbootCommand(cmd.split("\\s+")); in setUp()
106 device.executeFastbootCommand(cmd.split("\\s+")); in tearDown()
DCdmaDeviceFlasher.java181 device.executeFastbootCommand("reboot"); in flashSystem()
DDynamicSystemPreparer.java234 device.executeFastbootCommand( in flashPvmfw()
/tools/tradefederation/core/src/com/android/tradefed/util/image/
DIncrementalImageUtil.java580 mDevice.executeFastbootCommand("snapshot-update", "cancel"); in internalUpdateDevice()
584 CommandResult wipeResults = mDevice.executeFastbootCommand("-w"); in internalUpdateDevice()
672 mDevice.executeFastbootCommand( in updateBootloaderAndBasebandIfNeeded()
685 mDevice.executeFastbootCommand( in updateBootloaderAndBasebandIfNeeded()
704 mDevice.executeFastbootCommand( in revertBootloaderAndBasebandifNeeded()
718 mDevice.executeFastbootCommand( in revertBootloaderAndBasebandifNeeded()
796 CommandResult result = mDevice.executeFastbootCommand("-w"); in flashStaticPartition()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDeviceCleaner.java106 device.executeFastbootCommand("reboot"); in clean()
DFastbootDeviceFlasher.java293 CommandResult result = device.executeFastbootCommand(mWipeTimeout, "-w"); in handleUserDataFlashing()
342 CommandResult result = device.executeFastbootCommand("getvar", partitionType); in hasPartition()
1004 CommandResult result = device.executeFastbootCommand("getvar", versionQuery); in fetchImageVersion()
1072 CommandResult result = device.executeFastbootCommand(cmdArgs); in executeFastbootCmd()
DDeviceFlashPreparer.java429 device.executeFastbootCommand( in setUp()
DDeviceSetup.java1041 device.executeFastbootCommand("oem", "ramdump", "disable"); in changeSystemProps()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DINativeDevice.java513 public CommandResult executeFastbootCommand(String... commandArgs) in executeFastbootCommand() method
527 public CommandResult executeFastbootCommand(long timeout, String... commandArgs) in executeFastbootCommand() method
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DTestDeviceFuncTest.java560 mTestDevice.executeFastbootCommand("getvar", "product").getStatus()); in testExecuteFastbootCommand_deviceInAdb()
594 mTestDevice.executeFastbootCommand("badcommand").getStatus()); in testExecuteFastbootCommand_badCommand()
DNativeDeviceTest.java1705 public CommandResult executeFastbootCommand(String... cmdArgs) in testDoReboot_fastboot()
1777 public CommandResult executeFastbootCommand(String... cmdArgs) in testRebootIntoBootloader_forceFastboot()
1843 public CommandResult executeFastbootCommand(String... cmdArgs) in testRebootIntoFastbootd_forceFastboot()
DTestDeviceTest.java1203 mNoFastbootTestDevice.executeFastbootCommand(""); in testExecuteFastbootCommand_nofastboot()
1217 mNoFastbootTestDevice.executeFastbootCommand(""); in testExecuteLongFastbootCommand_nofastboot()
1250 mTestDevice.executeFastbootCommand("foo"); in testExecuteFastbootCommand_state()
1289 mTestDevice.executeFastbootCommand("foo"); in testExecuteFastbootCommand_recovery()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java916 CommandResult result = executeFastbootCommand("getvar", variableName); in getFastbootVariable()
2455 public CommandResult executeFastbootCommand(String... cmdArgs) in executeFastbootCommand() method in NativeDevice
2465 public CommandResult executeFastbootCommand(long timeout, String... cmdArgs) in executeFastbootCommand() method in NativeDevice
3686 executeFastbootCommand(String.format("reboot-%s", mode)); in rebootIntoFastbootInternal()
4003 executeFastbootCommand("reboot"); in doReboot()
4486 CommandResult res = executeFastbootCommand("--version"); in getFastbootVersion()