Home
last modified time | relevance | path

Searched refs:RetCode (Results 1 – 6 of 6) sorted by relevance

/system/core/fastboot/
Dfastboot_driver.h49 enum RetCode : int { enum
76 RetCode Boot(std::string* response = nullptr, std::vector<std::string>* info = nullptr);
77 RetCode Continue(std::string* response = nullptr, std::vector<std::string>* info = nullptr);
78 RetCode CreatePartition(const std::string& partition, const std::string& size);
79 RetCode DeletePartition(const std::string& partition);
80 RetCode Download(const std::string& name, android::base::borrowed_fd fd, size_t size,
82 RetCode Download(android::base::borrowed_fd fd, size_t size, std::string* response = nullptr,
84 RetCode Download(const std::string& name, const std::vector<char>& buf,
86 RetCode Download(const std::vector<char>& buf, std::string* response = nullptr,
88 RetCode Download(const std::string& partition, struct sparse_file* s, uint32_t sz,
[all …]
Dfastboot_driver.cpp72 RetCode FastBootDriver::Boot(std::string* response, std::vector<std::string>* info) { in Boot()
76 RetCode FastBootDriver::Continue(std::string* response, std::vector<std::string>* info) { in Continue()
80 RetCode FastBootDriver::CreatePartition(const std::string& partition, const std::string& size) { in CreatePartition()
85 RetCode FastBootDriver::DeletePartition(const std::string& partition) { in DeletePartition()
89 RetCode FastBootDriver::Erase(const std::string& partition, std::string* response, in Erase()
94 RetCode FastBootDriver::Flash(const std::string& partition, std::string* response, in Flash()
99 RetCode FastBootDriver::GetVar(const std::string& key, std::string* val, in GetVar()
104 RetCode FastBootDriver::GetVarAll(std::vector<std::string>* response) { in GetVarAll()
109 RetCode FastBootDriver::Reboot(std::string* response, std::vector<std::string>* info) { in Reboot()
113 RetCode FastBootDriver::RebootTo(std::string target, std::string* response, in RebootTo()
[all …]
Dfastboot.cpp1305 if (fb->FetchToFd(partition, fd, offset, chunk_size) != fastboot::RetCode::SUCCESS) { in fetch_partition()
1581 if (fb->GetVar("super-partition-name", &super_name) != fastboot::RetCode::SUCCESS) { in UpdateSuperPartition()
/system/core/fastboot/fuzzy_fastboot/
Dfixtures.h58 RetCode DownloadCommand(uint32_t size, std::string* response = nullptr,
61 RetCode SendBuffer(const std::vector<char>& buf);
62 RetCode HandleResponse(std::string* response = nullptr,
Dfixtures.cpp105 RetCode FastBootTest::DownloadCommand(uint32_t size, std::string* response, in DownloadCommand()
110 RetCode FastBootTest::SendBuffer(const std::vector<char>& buf) { in SendBuffer()
114 RetCode FastBootTest::HandleResponse(std::string* response, std::vector<std::string>* info, in HandleResponse()
Dmain.cpp96 ::std::ostream& operator<<(::std::ostream& os, const RetCode& ret) { in operator <<()
109 RetCode ret; in PartitionHash()
693 ASSERT_EQ(fastboot::RetCode::SUCCESS, ret) in TEST_F()
794 RetCode ret = SendBuffer(buf); in TEST_F()
811 RetCode ret = SendBuffer(buf); in TEST_F()
944 RetCode ret = fb->Download(*sparse); in TEST_F()
967 RetCode ret = fb->Download(*sparse); in TEST_F()
1533 const RetCode expect = (test.expect == extension::FAIL) ? DEVICE_FAIL : SUCCESS; in TEST_P()