Lines Matching refs:FastBootDriver
61 FastBootDriver::FastBootDriver(Transport* transport, DriverCallbacks driver_callbacks, in FastBootDriver() function in fastboot::FastBootDriver
70 FastBootDriver::~FastBootDriver() { in ~FastBootDriver()
73 RetCode FastBootDriver::Boot(std::string* response, std::vector<std::string>* info) { in Boot()
77 RetCode FastBootDriver::Continue(std::string* response, std::vector<std::string>* info) { in Continue()
81 RetCode FastBootDriver::CreatePartition(const std::string& partition, const std::string& size) { in CreatePartition()
86 RetCode FastBootDriver::DeletePartition(const std::string& partition) { in DeletePartition()
90 RetCode FastBootDriver::Erase(const std::string& partition, std::string* response, in Erase()
95 RetCode FastBootDriver::Flash(const std::string& partition, std::string* response, in Flash()
100 RetCode FastBootDriver::GetVar(const std::string& key, std::string* val, in GetVar()
105 RetCode FastBootDriver::GetVarAll(std::vector<std::string>* response) { in GetVarAll()
110 RetCode FastBootDriver::Reboot(std::string* response, std::vector<std::string>* info) { in Reboot()
114 RetCode FastBootDriver::RebootTo(std::string target, std::string* response, in RebootTo()
119 RetCode FastBootDriver::ResizePartition(const std::string& partition, const std::string& size) { in ResizePartition()
124 RetCode FastBootDriver::SetActive(const std::string& slot, std::string* response, in SetActive()
130 RetCode FastBootDriver::SnapshotUpdateCommand(const std::string& command, std::string* response, in SnapshotUpdateCommand()
139 RetCode FastBootDriver::FlashPartition(const std::string& partition, in FlashPartition()
148 RetCode FastBootDriver::FlashPartition(const std::string& partition, android::base::borrowed_fd fd, in FlashPartition()
157 RetCode FastBootDriver::FlashPartition(const std::string& partition, sparse_file* s, uint32_t size, in FlashPartition()
166 RetCode FastBootDriver::Partitions(std::vector<std::tuple<std::string, uint64_t>>* partitions) { in Partitions()
187 RetCode FastBootDriver::Download(const std::string& name, android::base::borrowed_fd fd, in Download()
196 RetCode FastBootDriver::Download(android::base::borrowed_fd fd, size_t size, std::string* response, in Download()
219 RetCode FastBootDriver::Download(const std::string& name, const std::vector<char>& buf, in Download()
227 RetCode FastBootDriver::Download(const std::vector<char>& buf, std::string* response, in Download()
249 RetCode FastBootDriver::Download(const std::string& partition, struct sparse_file* s, uint32_t size, in Download()
259 RetCode FastBootDriver::Download(sparse_file* s, bool use_crc, std::string* response, in Download()
275 FastBootDriver* self; in Download()
299 RetCode FastBootDriver::Upload(const std::string& outfile, std::string* response, in Upload()
310 RetCode FastBootDriver::RunAndReadBuffer( in RunAndReadBuffer()
344 RetCode FastBootDriver::UploadInner(const std::string& outfile, std::string* response, in UploadInner()
365 RetCode FastBootDriver::FetchToFd(const std::string& partition, android::base::borrowed_fd fd, in FetchToFd()
389 void FastBootDriver::SetInfoCallback(std::function<void(const std::string&)> info) { in SetInfoCallback()
393 const std::string FastBootDriver::RCString(RetCode rc) { in RCString()
418 std::string FastBootDriver::Error() { in Error()
422 RetCode FastBootDriver::WaitForDisconnect() { in WaitForDisconnect()
427 RetCode FastBootDriver::RawCommand(const std::string& cmd, const std::string& message, in RawCommand()
436 RetCode FastBootDriver::RawCommand(const std::string& cmd, std::string* response, in RawCommand()
453 RetCode FastBootDriver::DownloadCommand(uint32_t size, std::string* response, in DownloadCommand()
463 RetCode FastBootDriver::HandleResponse(std::string* response, std::vector<std::string>* info, in HandleResponse()
526 std::string FastBootDriver::ErrnoStr(const std::string& msg) { in ErrnoStr()
531 RetCode FastBootDriver::SendBuffer(android::base::borrowed_fd fd, size_t size) { in SendBuffer()
557 RetCode FastBootDriver::SendBuffer(const std::vector<char>& buf) { in SendBuffer()
562 RetCode FastBootDriver::SendBuffer(const void* buf, size_t size) { in SendBuffer()
582 RetCode FastBootDriver::ReadBuffer(void* buf, size_t size) { in ReadBuffer()
597 int FastBootDriver::SparseWriteCallback(std::vector<char>& tpbuf, const char* data, size_t len) { in SparseWriteCallback()
630 Transport* FastBootDriver::set_transport(Transport* transport) { in set_transport()