Aktualizr
C++ SOTA Client
All Classes Namespaces Files Functions Variables Enumerations Enumerator Pages
Public Member Functions | Static Public Member Functions | List of all members
AndroidManager Class Reference
Inheritance diagram for AndroidManager:
[legend]
Collaboration diagram for AndroidManager:
[legend]

Public Member Functions

 AndroidManager (const PackageConfig &pconfig, const BootloaderConfig &bconfig, const std::shared_ptr< INvStorage > &storage, const std::shared_ptr< Bootloader > &bootloader, const std::shared_ptr< HttpInterface > &http)
 
std::string name () const override
 
Json::Value getInstalledPackages () const override
 
Uptane::Target getCurrent () const override
 
data::InstallationResult install (const Uptane::Target &target) const override
 
data::InstallationResult finalizeInstall (const Uptane::Target &target) const override
 
- Public Member Functions inherited from PackageManagerInterface
 PackageManagerInterface (const PackageConfig &pconfig, const BootloaderConfig &bconfig, const std::shared_ptr< INvStorage > &storage, const std::shared_ptr< HttpInterface > &http)
 
virtual void completeInstall () const
 
virtual data::InstallationResult finalizeInstall (const Uptane::Target &target)=0
 
virtual void updateNotify ()
 
virtual bool fetchTarget (const Uptane::Target &target, Uptane::Fetcher &fetcher, const KeyManager &keys, FetcherProgressCb progress_cb, const api::FlowControlToken *token)
 
virtual TargetStatus verifyTarget (const Uptane::Target &target) const
 

Static Public Member Functions

static std::string GetOTAPackageFilePath (const std::string &hash)
 

Additional Inherited Members

- Protected Attributes inherited from PackageManagerInterface
PackageConfig config
 
std::shared_ptr< INvStoragestorage_
 
std::shared_ptr< HttpInterfacehttp_
 

Detailed Description

Definition at line 8 of file androidmanager.h.


The documentation for this class was generated from the following files: