#include <fastboot_driver_interface.h>
|
virtual RetCode | FlashPartition (const std::string &partition, android::base::borrowed_fd fd, uint32_t sz)=0 |
|
virtual RetCode | DeletePartition (const std::string &partition)=0 |
|
virtual RetCode | WaitForDisconnect ()=0 |
|
virtual RetCode | Reboot (std::string *response=nullptr, std::vector< std::string > *info=nullptr)=0 |
|
virtual RetCode | RebootTo (std::string target, std::string *response=nullptr, std::vector< std::string > *info=nullptr)=0 |
|
virtual RetCode | GetVar (const std::string &key, std::string *val, std::vector< std::string > *info=nullptr)=0 |
|
virtual RetCode | FetchToFd (const std::string &partition, android::base::borrowed_fd fd, int64_t offset=-1, int64_t size=-1, std::string *response=nullptr, std::vector< std::string > *info=nullptr)=0 |
|
virtual RetCode | Download (const std::string &name, android::base::borrowed_fd fd, size_t size, std::string *response=nullptr, std::vector< std::string > *info=nullptr)=0 |
|
virtual RetCode | RawCommand (const std::string &cmd, const std::string &message, std::string *response=nullptr, std::vector< std::string > *info=nullptr, int *dsize=nullptr)=0 |
|
virtual RetCode | ResizePartition (const std::string &partition, const std::string &size)=0 |
|
virtual RetCode | Erase (const std::string &partition, std::string *response=nullptr, std::vector< std::string > *info=nullptr)=0 |
|
virtual | ~IFastBootDriver ()=default |
|
◆ ~IFastBootDriver()
virtual fastboot::IFastBootDriver::~IFastBootDriver |
( |
| ) |
|
|
virtualdefault |
◆ DeletePartition()
virtual RetCode fastboot::IFastBootDriver::DeletePartition |
( |
const std::string & |
partition | ) |
|
|
pure virtual |
◆ Download()
virtual RetCode fastboot::IFastBootDriver::Download |
( |
const std::string & |
name, |
|
|
android::base::borrowed_fd |
fd, |
|
|
size_t |
size, |
|
|
std::string * |
response = nullptr , |
|
|
std::vector< std::string > * |
info = nullptr |
|
) |
| |
|
pure virtual |
◆ Erase()
virtual RetCode fastboot::IFastBootDriver::Erase |
( |
const std::string & |
partition, |
|
|
std::string * |
response = nullptr , |
|
|
std::vector< std::string > * |
info = nullptr |
|
) |
| |
|
pure virtual |
◆ FetchToFd()
virtual RetCode fastboot::IFastBootDriver::FetchToFd |
( |
const std::string & |
partition, |
|
|
android::base::borrowed_fd |
fd, |
|
|
int64_t |
offset = -1 , |
|
|
int64_t |
size = -1 , |
|
|
std::string * |
response = nullptr , |
|
|
std::vector< std::string > * |
info = nullptr |
|
) |
| |
|
pure virtual |
◆ FlashPartition()
◆ GetVar()
virtual RetCode fastboot::IFastBootDriver::GetVar |
( |
const std::string & |
key, |
|
|
std::string * |
val, |
|
|
std::vector< std::string > * |
info = nullptr |
|
) |
| |
|
pure virtual |
◆ RawCommand()
virtual RetCode fastboot::IFastBootDriver::RawCommand |
( |
const std::string & |
cmd, |
|
|
const std::string & |
message, |
|
|
std::string * |
response = nullptr , |
|
|
std::vector< std::string > * |
info = nullptr , |
|
|
int * |
dsize = nullptr |
|
) |
| |
|
pure virtual |
◆ Reboot()
virtual RetCode fastboot::IFastBootDriver::Reboot |
( |
std::string * |
response = nullptr , |
|
|
std::vector< std::string > * |
info = nullptr |
|
) |
| |
|
pure virtual |
◆ RebootTo()
virtual RetCode fastboot::IFastBootDriver::RebootTo |
( |
std::string |
target, |
|
|
std::string * |
response = nullptr , |
|
|
std::vector< std::string > * |
info = nullptr |
|
) |
| |
|
pure virtual |
◆ ResizePartition()
virtual RetCode fastboot::IFastBootDriver::ResizePartition |
( |
const std::string & |
partition, |
|
|
const std::string & |
size |
|
) |
| |
|
pure virtual |
◆ WaitForDisconnect()
virtual RetCode fastboot::IFastBootDriver::WaitForDisconnect |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: