Home
last modified time | relevance | path

Searched refs:RawCommand (Results 1 – 9 of 9) sorted by relevance

/aosp14/system/core/fastboot/
H A Dfastboot_driver.cpp74 return RawCommand(FB_CMD_BOOT, "Booting", response, info); in Boot()
78 return RawCommand(FB_CMD_CONTINUE, "Resuming boot", response, info); in Continue()
82 return RawCommand(FB_CMD_CREATE_PARTITION ":" + partition + ":" + size, in CreatePartition()
102 return RawCommand(FB_CMD_GETVAR ":" + key, val, info); in GetVar()
111 return RawCommand(FB_CMD_REBOOT, "Rebooting", response, info); in Reboot()
120 return RawCommand(FB_CMD_RESIZE_PARTITION ":" + partition + ":" + size, in ResizePartition()
134 auto result = RawCommand(raw, response, info); in SnapshotUpdateCommand()
315 if ((ret = RawCommand(cmd, response, info, &dsize))) { in RunAndReadBuffer()
431 auto result = RawCommand(cmd, response, info, dsize); in RawCommand()
436 RetCode FastBootDriver::RawCommand(const std::string& cmd, std::string* response, in RawCommand() function in fastboot::FastBootDriver
[all …]
H A Dfastboot_driver_test.cpp57 ASSERT_EQ(driver.RawCommand("oem dmesg", "", nullptr, &info), SUCCESS) << driver.Error(); in TEST_F()
87 ASSERT_EQ(driver.RawCommand("oem trusty runtest trusty.hwaes.bench", "", nullptr, &info), in TEST_F()
H A Dfastboot_driver_mock.h41 MOCK_METHOD(RetCode, RawCommand,
H A Dfastboot_driver_interface.h51 RetCode virtual RawCommand(const std::string& cmd, const std::string& message,
H A Dfastboot_driver.h130 RetCode RawCommand(const std::string& cmd, const std::string& message,
134 RetCode RawCommand(const std::string& cmd, std::string* response = nullptr,
H A Dtask.cpp266 fp_->fb->RawCommand(command, "Updating super partition"); in Run()
H A Dfastboot.cpp1915 fb->RawCommand("signature", "installing signature"); in FlashImage()
2000 fb->RawCommand(command, ""); in do_oem_command()
2135 fb->RawCommand("oem allow-flash-super"); in wipe_super()
2452 fb->RawCommand("signature", "installing signature"); in Main()
2573 fb->RawCommand(cmd, ""); in Main()
/aosp14/system/core/fastboot/fuzzy_fastboot/
H A Dmain.cpp848 EXPECT_EQ(fb->RawCommand(cmd), DEVICE_FAIL) in TEST_F()
854 EXPECT_EQ(fb->RawCommand(cmd), DEVICE_FAIL) in TEST_F()
860 EXPECT_EQ(fb->RawCommand(cmd), DEVICE_FAIL) in TEST_F()
866 EXPECT_EQ(fb->RawCommand(cmd), DEVICE_FAIL) in TEST_F()
873 EXPECT_EQ(fb->RawCommand(cmd), DEVICE_FAIL) in TEST_F()
899 RetCode ret = fb->RawCommand(s); in TEST_F()
905 ret = fb->RawCommand(s1); in TEST_F()
911 ret = fb->RawCommand(s2); in TEST_F()
917 ret = fb->RawCommand(s3); in TEST_F()
924 ret = fb->RawCommand(s); in TEST_F()
[all …]
H A Dfixtures.cpp240 ASSERT_EQ(fb->RawCommand("flashing get_unlock_ability", &resp, &info), SUCCESS) in SetLockState()
262 ASSERT_EQ(fb->RawCommand("flashing " + cmd, &resp), SUCCESS) in SetLockState()