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) 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 void updateNotify ()
 
virtual bool fetchTarget (const Uptane::Target &target, Uptane::Fetcher &fetcher, const KeyManager &keys, const FetcherProgressCb &progress_cb, const api::FlowControlToken *token)
 
virtual TargetStatus verifyTarget (const Uptane::Target &target) const
 
virtual bool checkAvailableDiskSpace (const uint64_t required_bytes) const
 
virtual boost::optional< std::pair< uintmax_t, std::string > > checkTargetFile (const Uptane::Target &target) const
 
virtual std::ofstream createTargetFile (const Uptane::Target &target)
 
virtual std::ofstream appendTargetFile (const Uptane::Target &target)
 
virtual std::ifstream openTargetFile (const Uptane::Target &target) const
 
virtual void removeTargetFile (const Uptane::Target &target)
 
virtual std::vector< Uptane::TargetgetTargetFiles ()
 

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: