Home
last modified time | relevance | path

Searched refs:onBundleStarted (Results 1 – 25 of 26) sorted by relevance

12

/ohos5.0/foundation/filemanagement/app_file_service/tests/mock/backup_kit_inner/
H A Db_session_restore_async_mock.cpp69 callbacks_.onBundleStarted(0, "com.example.app2backup"); in AppendBundles()
86 callbacks_.onBundleStarted(1, "com.example.app2backup"); in AppendBundles()
105 callbacks_.onBundleStarted(0, "com.example.app2backup"); in AppendBundles()
123 callbacks_.onBundleStarted(1, "com.example.app2backup"); in AppendBundles()
H A Db_session_backup_mock.cpp53 callbacks_.onBundleStarted(0, "com.example.app2backup"); in Start()
72 callbacks_.onBundleStarted(1, "com.example.app2backup"); in Start()
H A Db_session_restore_mock.cpp57 callbacks_.onBundleStarted(0, "com.example.app2backup"); in Start()
75 callbacks_.onBundleStarted(1, "com.example.app2backup"); in Start()
/ohos5.0/foundation/filemanagement/app_file_service/frameworks/native/backup_kit_inner/src/
H A Dservice_incremental_reverse.cpp38 if (scenario_ != Scenario::BACKUP || !callbacksIncrementalBackup_.onBundleStarted) { in IncrementalBackupOnBundleStarted()
42 callbacksIncrementalBackup_.onBundleStarted(errCode, bundleName); in IncrementalBackupOnBundleStarted()
86 if (scenario_ != Scenario::RESTORE || !callbacksIncrementalRestore_.onBundleStarted) { in IncrementalRestoreOnBundleStarted()
90 callbacksIncrementalRestore_.onBundleStarted(errCode, bundleName); in IncrementalRestoreOnBundleStarted()
H A Dservice_reverse.cpp36 if (scenario_ != Scenario::BACKUP || !callbacksBackup_.onBundleStarted) { in BackupOnBundleStarted()
40 callbacksBackup_.onBundleStarted(errCode, bundleName); in BackupOnBundleStarted()
84 if (scenario_ != Scenario::RESTORE || !callbacksRestore_.onBundleStarted) { in RestoreOnBundleStarted()
88 callbacksRestore_.onBundleStarted(errCode, bundleName); in RestoreOnBundleStarted()
H A Db_incremental_session_restore_async.cpp58 .onBundleStarted = callbacks.onBundleStarted, in Init()
H A Db_session_restore_async.cpp58 .onBundleStarted = callbacks.onBundleStarted, in Init()
/ohos5.0/foundation/filemanagement/app_file_service/tests/unittests/backup_api/backup_impl/
H A Dservice_reverse_test.cpp97 .onBundleStarted = nullptr, in Init()
105 .onBundleStarted = bind(OnBundleStartedTest, placeholders::_1, placeholders::_2), in Init()
114 .onBundleStarted = nullptr, in Init()
122 .onBundleStarted = bind(OnBundleStartedTest, placeholders::_1, placeholders::_2), in Init()
136 … .onBundleStarted = nullptr, in IncrementalInit()
144 .onBundleStarted = bind(OnBundleStartedTest, placeholders::_1, placeholders::_2), in IncrementalInit()
153 … .onBundleStarted = nullptr, in IncrementalInit()
160 .onBundleStarted = bind(OnBundleStartedTest, placeholders::_1, placeholders::_2), in IncrementalInit()
/ohos5.0/foundation/filemanagement/app_file_service/interfaces/inner_api/native/backup_kit_inner/impl/
H A Db_incremental_backup_session.h34 std::function<void(ErrCode, const BundleName)> onBundleStarted; // 当启动某个应用的备份流程结束时执行的回调函数 member
H A Db_session_backup.h33 std::function<void(ErrCode, const BundleName)> onBundleStarted; // 当启动某个应用的备份流程结束时执行的回调函数 member
H A Db_session_restore.h33 std::function<void(ErrCode, const BundleName)> onBundleStarted; // 当启动某个应用的恢复流程结束时执行的回调函数 member
H A Db_incremental_restore_session.h34 std::function<void(ErrCode, const BundleName)> onBundleStarted; // 当启动某个应用的恢复流程结束时执行的回调函数 member
H A Db_incremental_session_restore_async.h36 std::function<void(ErrCode, const BundleName)> onBundleStarted; // 当启动某个应用的恢复流程结束时执行的回调函数 member
H A Db_session_restore_async.h36 std::function<void(ErrCode, const BundleName)> onBundleStarted; // 当启动某个应用的恢复流程结束时执行的回调函数 member
/ohos5.0/foundation/filemanagement/app_file_service/tests/moduletests/backup_kit_inner/
H A Db_session_backup_test.cpp81 callbacks_.onBundleStarted = OnBundleStarted; in Init()
199 callbacks_.onBundleStarted(ErrCode(BError::Codes::OK), "");
H A Db_session_restore_async_test.cpp86 callbacks_.onBundleStarted = OnBundleStarted; in Init()
108 callbacks_.onBundleStarted(ErrCode(BError::Codes::OK), "");
H A Db_session_restore_test.cpp87 callbacks_.onBundleStarted = OnBundleStarted; in Init()
145 callbacks_.onBundleStarted(ErrCode(BError::Codes::OK), "");
/ohos5.0/foundation/filemanagement/app_file_service/tools/backup_tool/src/
H A Dtools_op_backup.cpp253 … .onBundleStarted = bind(OnBundleStarted, ctx, placeholders::_1, placeholders::_2), in InitPathCapFile()
H A Dtools_op_restore.cpp261 .onBundleStarted = bind(OnBundleStarted, ctx, placeholders::_1, placeholders::_2), in InitRestoreSession()
H A Dtools_op_incremental_restore.cpp276 .onBundleStarted = bind(OnBundleStarted, ctx, placeholders::_1, placeholders::_2), in InitRestoreSession()
H A Dtools_op_incremental_backup.cpp312 .onBundleStarted = bind(OnBundleStarted, ctx, placeholders::_1, placeholders::_2), in Init()
H A Dtools_op_restore_async.cpp389 .onBundleStarted = bind(OnBundleStarted, ctx, placeholders::_1, placeholders::_2), in InitArg()
H A Dtools_op_incremental_restore_async.cpp406 .onBundleStarted = bind(OnBundleStarted, ctx, placeholders::_1, placeholders::_2), in InitArg()
/ohos5.0/foundation/filemanagement/app_file_service/interfaces/kits/js/backup/
H A Dsession_backup_n_exporter.cpp338 ….onBundleStarted = bind(onBundleBegin, backupEntity->callbacks, placeholders::_1, placeholders::_2… in Constructor()
H A Dsession_incremental_backup_n_exporter.cpp345 ….onBundleStarted = bind(onBundleBegin, backupEntity->callbacks, placeholders::_1, placeholders::_2… in Constructor()

12