|
uuu
uuu (Universal Update Utility), mfgtools 3.0
|
#include <fastboot.h>
Public Member Functions | |
| FBFlashCmd (const 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) |
| Public Member Functions inherited from FBCmd | |
| FBCmd (const char *p, std::string &&fb_cmd, char separator=':') | |
| Public Member Functions inherited from CmdBase | |
| CmdBase ()=default | |
| CmdBase (const 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) |
Private Attributes | |
| bmap_t | m_bmap |
| std::string | m_filename |
| std::string | m_bmap_filename |
| std::string | m_partition |
| bool | m_raw2sparse = false |
| bool | m_use_bmap = false |
| size_t | m_sparse_limit = 0x1000000 |
| uint64_t | m_totalsize |
| bool | m_scanterm = false |
| uint64_t | m_scan_limited = UINT64_MAX |
Additional Inherited Members | |
| Protected Attributes inherited from FBCmd | |
| std::string | m_uboot_cmd |
| Protected Attributes inherited from CmdBase | |
| bool | m_bCheckTotalParam = false |
| std::string | m_cmd |
| bool | m_lastcmd = false |
| bool | m_NoKeyParam = false |
| int | m_timeout = 10000 |
|
inline |
| int FBFlashCmd::flash | ( | FastBoot * | fb, |
| void * | p, | ||
| size_t | sz ) |
| int FBFlashCmd::flash_ffu | ( | FastBoot * | fb, |
| std::shared_ptr< FileBuffer > | p ) |
| int FBFlashCmd::flash_ffu_oneblk | ( | FastBoot * | fb, |
| std::shared_ptr< FileBuffer > | p, | ||
| size_t | off, | ||
| size_t | blksz, | ||
| size_t | blkindex ) |
| int FBFlashCmd::flash_raw2sparse | ( | FastBoot * | fb, |
| std::shared_ptr< FileBuffer > | p, | ||
| size_t | max ) |
| bool FBFlashCmd::isffu | ( | std::shared_ptr< FileBuffer > | p | ) |
|
overridevirtual |
Reimplemented from FBCmd.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |