Searched refs:backupEntity (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/foundation/filemanagement/app_file_service/interfaces/kits/js/backup/ |
H A D | session_backup_n_exporter.cpp | 334 auto backupEntity = std::make_unique<BackupEntity>(); in Constructor() local 335 backupEntity->callbacks = make_shared<GeneralCallbacks>(env, ptr, callbacks); in Constructor() 336 backupEntity->session = BSessionBackup::Init(BSessionBackup::Callbacks { in Constructor() 342 .onBackupServiceDied = bind(OnBackupServiceDied, backupEntity->callbacks), in Constructor() 344 if (!backupEntity->session) { in Constructor() 348 if (!NClass::SetEntityFor<BackupEntity>(env, funcArg.GetThisVar(), move(backupEntity))) { in Constructor() 412 auto backupEntity = NClass::GetEntityOf<BackupEntity>(env, funcArg.GetThisVar()); in AppendBundles() local 413 if (!(backupEntity && backupEntity->session)) { in AppendBundles() 465 auto backupEntity = NClass::GetEntityOf<BackupEntity>(env, funcArg.GetThisVar()); in Release() local 466 if (!(backupEntity && backupEntity->session)) { in Release() [all …]
|
H A D | session_incremental_backup_n_exporter.cpp | 340 auto backupEntity = std::make_unique<BackupEntity>(); in Constructor() local 341 backupEntity->callbacks = make_shared<GeneralCallbacks>(env, ptr, callbacks); in Constructor() 349 .onBackupServiceDied = bind(OnBackupServiceDied, backupEntity->callbacks), in Constructor() 351 if (!backupEntity->session) { in Constructor() 355 if (!NClass::SetEntityFor<BackupEntity>(env, funcArg.GetThisVar(), move(backupEntity))) { in Constructor() 477 auto backupEntity = NClass::GetEntityOf<BackupEntity>(env, funcArg.GetThisVar()); in AppendBundles() local 478 if (!(backupEntity && backupEntity->session)) { in AppendBundles() 483 auto cbExec = [session{ backupEntity->session.get() }, bundles{ backupBundles }, in AppendBundles() 527 auto backupEntity = NClass::GetEntityOf<BackupEntity>(env, funcArg.GetThisVar()); in Release() local 528 if (!(backupEntity && backupEntity->session)) { in Release() [all …]
|