Searched refs:BSessionRestoreAsync (Results 1 – 5 of 5) sorted by relevance
33 static BSessionRestoreAsync::Callbacks callbacks_ = {};37 BSessionRestoreAsync::~BSessionRestoreAsync() {} in ~BSessionRestoreAsync()39 shared_ptr<BSessionRestoreAsync> BSessionRestoreAsync::Init(Callbacks callbacks) in Init()43 auto restore = make_shared<BSessionRestoreAsync>(callbacks); in Init()51 ErrCode BSessionRestoreAsync::PublishFile(BFileInfo fileInfo) in PublishFile()56 ErrCode BSessionRestoreAsync::GetFileHandle(const string &bundleName, const string &fileName) in GetFileHandle()61 ErrCode BSessionRestoreAsync::AppendBundles(UniqueFd remoteCap, vector<BundleName> bundlesToRestore, in AppendBundles()95 ErrCode BSessionRestoreAsync::AppendBundles(UniqueFd remoteCap, in AppendBundles()131 void BSessionRestoreAsync::OnBackupServiceDied() {} in OnBackupServiceDied()133 ErrCode BSessionRestoreAsync::Release() in Release()[all …]
29 BSessionRestoreAsync::~BSessionRestoreAsync() in ~BSessionRestoreAsync()47 shared_ptr<BSessionRestoreAsync> BSessionRestoreAsync::Init(Callbacks callbacks) in Init()50 auto restore = make_shared<BSessionRestoreAsync>(callbacks); in Init()81 ErrCode BSessionRestoreAsync::PublishFile(BFileInfo fileInfo) in PublishFile()90 ErrCode BSessionRestoreAsync::GetFileHandle(const string &bundleName, const string &fileName) in GetFileHandle()100 ErrCode BSessionRestoreAsync::AppendBundles(UniqueFd remoteCap, in AppendBundles()124 ErrCode BSessionRestoreAsync::AppendBundles(UniqueFd remoteCap, in AppendBundles()147 ErrCode BSessionRestoreAsync::Release() in Release()157 void BSessionRestoreAsync::RegisterBackupServiceDied(std::function<void()> functor) in RegisterBackupServiceDied()
32 class BSessionRestoreAsync : public std::enable_shared_from_this<BSessionRestoreAsync> {59 static std::shared_ptr<BSessionRestoreAsync> Init(Callbacks callbacks);113 explicit BSessionRestoreAsync(Callbacks callbacks) : callbacks_(callbacks) {}; in BSessionRestoreAsync() function114 ~BSessionRestoreAsync();
66 shared_ptr<BSessionRestoreAsync> restorePtr_ = nullptr;67 BSessionRestoreAsync::Callbacks callbacks_;75 restorePtr_ = make_shared<BSessionRestoreAsync>(callbacks_); in SetUp()132 auto restorePtr = BSessionRestoreAsync::Init(callbacks_);
77 shared_ptr<BSessionRestoreAsync> session_ = {};387 ctx->session_ = BSessionRestoreAsync::Init(BSessionRestoreAsync::Callbacks { in InitArg()