Lines Matching refs:FastBootDriver
61 FastBootDriver::FastBootDriver(Transport* transport, DriverCallbacks driver_callbacks, in FastBootDriver() function in fastboot::FastBootDriver
69 FastBootDriver::~FastBootDriver() { in ~FastBootDriver()
72 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()
118 RetCode FastBootDriver::ResizePartition(const std::string& partition, const std::string& size) { in ResizePartition()
123 RetCode FastBootDriver::SetActive(const std::string& slot, std::string* response, in SetActive()
129 RetCode FastBootDriver::SnapshotUpdateCommand(const std::string& command, std::string* response, in SnapshotUpdateCommand()
138 RetCode FastBootDriver::FlashPartition(const std::string& partition, in FlashPartition()
147 RetCode FastBootDriver::FlashPartition(const std::string& partition, android::base::borrowed_fd fd, in FlashPartition()
156 RetCode FastBootDriver::FlashPartition(const std::string& partition, sparse_file* s, uint32_t size, in FlashPartition()
165 RetCode FastBootDriver::Partitions(std::vector<std::tuple<std::string, uint64_t>>* partitions) { in Partitions()
186 RetCode FastBootDriver::Download(const std::string& name, android::base::borrowed_fd fd, in Download()
195 RetCode FastBootDriver::Download(android::base::borrowed_fd fd, size_t size, std::string* response, in Download()
218 RetCode FastBootDriver::Download(const std::string& name, const std::vector<char>& buf, in Download()
226 RetCode FastBootDriver::Download(const std::vector<char>& buf, std::string* response, in Download()
248 RetCode FastBootDriver::Download(const std::string& partition, struct sparse_file* s, uint32_t size, in Download()
258 RetCode FastBootDriver::Download(sparse_file* s, bool use_crc, std::string* response, in Download()
274 FastBootDriver* self; in Download()
298 RetCode FastBootDriver::Upload(const std::string& outfile, std::string* response, in Upload()
309 RetCode FastBootDriver::RunAndReadBuffer( in RunAndReadBuffer()
343 RetCode FastBootDriver::UploadInner(const std::string& outfile, std::string* response, in UploadInner()
364 RetCode FastBootDriver::FetchToFd(const std::string& partition, android::base::borrowed_fd fd, in FetchToFd()
388 void FastBootDriver::SetInfoCallback(std::function<void(const std::string&)> info) { in SetInfoCallback()
392 const std::string FastBootDriver::RCString(RetCode rc) { in RCString()
417 std::string FastBootDriver::Error() { in Error()
421 RetCode FastBootDriver::WaitForDisconnect() { in WaitForDisconnect()
426 RetCode FastBootDriver::RawCommand(const std::string& cmd, const std::string& message, in RawCommand()
435 RetCode FastBootDriver::RawCommand(const std::string& cmd, std::string* response, in RawCommand()
452 RetCode FastBootDriver::DownloadCommand(uint32_t size, std::string* response, in DownloadCommand()
462 RetCode FastBootDriver::HandleResponse(std::string* response, std::vector<std::string>* info, in HandleResponse()
521 std::string FastBootDriver::ErrnoStr(const std::string& msg) { in ErrnoStr()
526 RetCode FastBootDriver::SendBuffer(android::base::borrowed_fd fd, size_t size) { in SendBuffer()
552 RetCode FastBootDriver::SendBuffer(const std::vector<char>& buf) { in SendBuffer()
557 RetCode FastBootDriver::SendBuffer(const void* buf, size_t size) { in SendBuffer()
577 RetCode FastBootDriver::ReadBuffer(void* buf, size_t size) { in ReadBuffer()
592 int FastBootDriver::SparseWriteCallback(std::vector<char>& tpbuf, const char* data, size_t len) { in SparseWriteCallback()
625 Transport* FastBootDriver::set_transport(Transport* transport) { in set_transport()