Home
last modified time | relevance | path

Searched refs:BSessionRestoreAsync (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/filemanagement/app_file_service/tests/mock/backup_kit_inner/
H A Db_session_restore_async_mock.cpp33 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 …]
/ohos5.0/foundation/filemanagement/app_file_service/frameworks/native/backup_kit_inner/src/
H A Db_session_restore_async.cpp29 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()
/ohos5.0/foundation/filemanagement/app_file_service/interfaces/inner_api/native/backup_kit_inner/impl/
H A Db_session_restore_async.h32 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() function
114 ~BSessionRestoreAsync();
/ohos5.0/foundation/filemanagement/app_file_service/tests/moduletests/backup_kit_inner/
H A Db_session_restore_async_test.cpp66 shared_ptr<BSessionRestoreAsync> restorePtr_ = nullptr;
67 BSessionRestoreAsync::Callbacks callbacks_;
75 restorePtr_ = make_shared<BSessionRestoreAsync>(callbacks_); in SetUp()
132 auto restorePtr = BSessionRestoreAsync::Init(callbacks_);
/ohos5.0/foundation/filemanagement/app_file_service/tools/backup_tool/src/
H A Dtools_op_restore_async.cpp77 shared_ptr<BSessionRestoreAsync> session_ = {};
387 ctx->session_ = BSessionRestoreAsync::Init(BSessionRestoreAsync::Callbacks { in InitArg()