Searched refs:RetCode (Results 1 – 6 of 6) sorted by relevance
/system/core/fastboot/ |
D | fastboot_driver.h | 48 enum RetCode : int { enum 75 RetCode Boot(std::string* response = nullptr, std::vector<std::string>* info = nullptr); 76 RetCode Continue(std::string* response = nullptr, std::vector<std::string>* info = nullptr); 77 RetCode CreatePartition(const std::string& partition, const std::string& size); 78 RetCode DeletePartition(const std::string& partition); 79 RetCode Download(const std::string& name, int fd, size_t size, std::string* response = nullptr, 81 RetCode Download(int fd, size_t size, std::string* response = nullptr, 83 RetCode Download(const std::string& name, const std::vector<char>& buf, 85 RetCode Download(const std::vector<char>& buf, std::string* response = nullptr, 87 RetCode Download(const std::string& partition, struct sparse_file* s, uint32_t sz, [all …]
|
D | fastboot_driver.cpp | 68 RetCode FastBootDriver::Boot(std::string* response, std::vector<std::string>* info) { in Boot() 72 RetCode FastBootDriver::Continue(std::string* response, std::vector<std::string>* info) { in Continue() 76 RetCode FastBootDriver::CreatePartition(const std::string& partition, const std::string& size) { in CreatePartition() 81 RetCode FastBootDriver::DeletePartition(const std::string& partition) { in DeletePartition() 85 RetCode FastBootDriver::Erase(const std::string& partition, std::string* response, in Erase() 90 RetCode FastBootDriver::Flash(const std::string& partition, std::string* response, in Flash() 95 RetCode FastBootDriver::GetVar(const std::string& key, std::string* val, in GetVar() 100 RetCode FastBootDriver::GetVarAll(std::vector<std::string>* response) { in GetVarAll() 105 RetCode FastBootDriver::Reboot(std::string* response, std::vector<std::string>* info) { in Reboot() 109 RetCode FastBootDriver::RebootTo(std::string target, std::string* response, in RebootTo() [all …]
|
D | fastboot.cpp | 1342 if (fb->GetVar("super-partition-name", &super_name) != fastboot::RetCode::SUCCESS) { in UpdateSuperPartition()
|
/system/core/fastboot/fuzzy_fastboot/ |
D | fixtures.h | 55 RetCode DownloadCommand(uint32_t size, std::string* response = nullptr, 58 RetCode SendBuffer(const std::vector<char>& buf); 59 RetCode HandleResponse(std::string* response = nullptr,
|
D | fixtures.cpp | 97 RetCode FastBootTest::DownloadCommand(uint32_t size, std::string* response, in DownloadCommand() 102 RetCode FastBootTest::SendBuffer(const std::vector<char>& buf) { in SendBuffer() 106 RetCode FastBootTest::HandleResponse(std::string* response, std::vector<std::string>* info, in HandleResponse()
|
D | main.cpp | 94 ::std::ostream& operator<<(::std::ostream& os, const RetCode& ret) { in operator <<() 107 RetCode ret; in PartitionHash() 762 RetCode ret = SendBuffer(buf); in TEST_F() 779 RetCode ret = SendBuffer(buf); in TEST_F() 912 RetCode ret = fb->Download(*sparse); in TEST_F() 935 RetCode ret = fb->Download(*sparse); in TEST_F() 1501 const RetCode expect = (test.expect == extension::FAIL) ? DEVICE_FAIL : SUCCESS; in TEST_P()
|