#include <fastboot.h>
|
| FBFlashCmd (char *p) |
int | parser (char *p=nullptr) override |
int | run (CmdCtx *ctx) override |
int | flash (FastBoot *fb, void *p, size_t sz) |
int | flash_raw2sparse (FastBoot *fb, std::shared_ptr< FileBuffer > p, size_t max) |
bool | isffu (std::shared_ptr< FileBuffer > p) |
int | flash_ffu (FastBoot *fb, std::shared_ptr< FileBuffer > p) |
int | flash_ffu_oneblk (FastBoot *fb, std::shared_ptr< FileBuffer > p, size_t off, size_t blksz, size_t blkindex) |
| FBCmd (char *p, std::string &&fb_cmd, char separator=':') |
| CmdBase ()=default |
| CmdBase (char *p) |
virtual | ~CmdBase () |
virtual int | dump () |
const std::string & | get_cmd () const noexcept |
bool | get_lastcmd () const noexcept |
void | insert_param_info (const char *key, void *pD, Param::Type tp, bool ignore_case=true, const char *err=nullptr) |
virtual int | parser_protocol (char *p, size_t &pos) |
◆ FBFlashCmd()
FBFlashCmd::FBFlashCmd |
( |
char * | p | ) |
|
|
inline |
◆ flash()
int FBFlashCmd::flash |
( |
FastBoot * | fb, |
|
|
void * | p, |
|
|
size_t | sz ) |
◆ flash_ffu()
◆ flash_ffu_oneblk()
int FBFlashCmd::flash_ffu_oneblk |
( |
FastBoot * | fb, |
|
|
std::shared_ptr< FileBuffer > | p, |
|
|
size_t | off, |
|
|
size_t | blksz, |
|
|
size_t | blkindex ) |
◆ flash_raw2sparse()
int FBFlashCmd::flash_raw2sparse |
( |
FastBoot * | fb, |
|
|
std::shared_ptr< FileBuffer > | p, |
|
|
size_t | max ) |
◆ isffu()
bool FBFlashCmd::isffu |
( |
std::shared_ptr< FileBuffer > | p | ) |
|
◆ parser()
int FBFlashCmd::parser |
( |
char * | p = nullptr | ) |
|
|
overridevirtual |
Reimplemented from FBCmd.
◆ run()
int FBFlashCmd::run |
( |
CmdCtx * | ctx | ) |
|
|
overridevirtual |
Reimplemented from FBCmd.
◆ m_bmap
◆ m_bmap_filename
std::string FBFlashCmd::m_bmap_filename |
|
private |
◆ m_filename
std::string FBFlashCmd::m_filename |
|
private |
◆ m_partition
std::string FBFlashCmd::m_partition |
|
private |
◆ m_raw2sparse
bool FBFlashCmd::m_raw2sparse = false |
|
private |
◆ m_scan_limited
uint64_t FBFlashCmd::m_scan_limited = UINT64_MAX |
|
private |
◆ m_scanterm
bool FBFlashCmd::m_scanterm = false |
|
private |
◆ m_sparse_limit
size_t FBFlashCmd::m_sparse_limit = 0x1000000 |
|
private |
◆ m_totalsize
uint64_t FBFlashCmd::m_totalsize |
|
private |
◆ m_use_bmap
bool FBFlashCmd::m_use_bmap = false |
|
private |
The documentation for this class was generated from the following files:
- /home/builder/.cache/aurutils/sync/mfgtools-git/src/mfgtools-git/libuuu/fastboot.h
- /home/builder/.cache/aurutils/sync/mfgtools-git/src/mfgtools-git/libuuu/fastboot.cpp