Searched refs:fullBackupOnly (Results 1 – 9 of 9) sorted by relevance
/ohos5.0/docs/zh-cn/application-dev/file-management/ |
H A D | app-file-backup-extension.md | 65 "fullBackupOnly": false, 137 | fullBackupOnly | 布尔值 | 否 | 是否使用应用默认恢复目录,默认值为false。当值为true时,恢复数据时会通过临时路径进行缓存,临时路径可通过[b… 143 > 1、**有关fullBackupOnly字段的说明** 145 > - 当fullBackupOnly为false时,恢复数据会以 **/** 为根目录解压数据,同路径下的同名文件会被覆盖。 146 > - 当fullBackupOnly为true时,恢复数据会以临时目录为根目录解压数据,开发者需要在OnRestore/OnRestoreEx内自行实现恢复数据的逻辑,进行最终的恢复。 151 …l2/base/files/A/** 。那么在恢复时,如果配置了fullBackupOnly为false,数据会被直接解压到:**/data/storage/el2/base/files/A/**…
|
/ohos5.0/foundation/filemanagement/app_file_service/utils/include/b_json/ |
H A D | b_json_entity_caps.h | 33 bool fullBackupOnly; member 41 bool fullBackupOnly; member 86 arrObj["fullBackupOnly"] = item.fullBackupOnly; 207 bool fullBackupOnly = false; in GetBundleInfos() local 209 fullBackupOnly = item["fullBackupOnly"].asBool(); in GetBundleInfos() 221 … increSpaceOccupied, item["allToBackup"].asBool(), fullBackupOnly, in GetBundleInfos()
|
/ohos5.0/foundation/filemanagement/app_file_service/tests/unittests/backup_sa/module_ipc/ |
H A D | svc_restore_deps_manager_test.cpp | 96 .fullBackupOnly = false, 104 .fullBackupOnly = false, 133 .fullBackupOnly = false, 281 .fullBackupOnly = false, 413 .fullBackupOnly = false, 421 .fullBackupOnly = false, 429 .fullBackupOnly = false, 457 .fullBackupOnly = false,
|
/ohos5.0/foundation/filemanagement/app_file_service/services/backup_sa/src/module_external/ |
H A D | bms_adapter.cpp | 137 auto [allToBackup, fullBackupOnly, extName, restoreDeps, supportScene, extraInfo] = in GetBundleInfos() 146 … fullBackupOnly, extName, restoreDeps, supportScene, in GetBundleInfos() 183 backupPara.fullBackupOnly = cache.GetFullBackupOnly(); in GetBackupExtConfig() 278 … .fullBackupOnly = bundleInfos[i].fullBackupOnly, in GenerateBundleStatsIncrease() 317 … backupPara.allToBackup, backupPara.fullBackupOnly, in GetBundleInfosForIncremental() 358 auto [allToBackup, fullBackupOnly, extName, restoreDeps, supportScene, extraInfo] = in GetBundleInfosForIncremental() 362 … installedBundle.versionCode, installedBundle.versionName, 0, 0, allToBackup, fullBackupOnly, in GetBundleInfosForIncremental() 407 auto [allToBackup, fullBackupOnly, extName, restoreDeps, supportScene, extraInfo] = in GetFullBundleInfos() 412 …stalledBundle.versionCode, installedBundle.versionName, 0, 0, allToBackup, fullBackupOnly, extName, in GetFullBundleInfos()
|
/ohos5.0/docs/en/application-dev/file-management/ |
H A D | app-file-backup-extension.md | 63 "fullBackupOnly": false, 135 | fullBackupOnly | Boolean | No | Whether to use the default restore directory of the app… 141 > When setting **fullBackupOnly**, observe the following: 143 > - If **fullBackupOnly** is set to **false**, the restored data will be decompressed in the root d… 144 > - If **fullBackupOnly** is set to **true**, the restored data will be decompressed in a temporary… 148 …If **fullBackupOnly** is **false**, the restored data will be decompressed to the **/data/storage/…
|
/ohos5.0/foundation/filemanagement/app_file_service/tests/unittests/backup_utils/b_json/ |
H A D | b_json_entity_extension_config_test.cpp | 640 string_view sv = R"({"fullBackupOnly":1})"; 664 string_view sv = R"({"fullBackupOnly":true})"; 834 string_view sv = R"({"fullBackupOnly":1})"; 858 string_view sv = R"({"fullBackupOnly":true})";
|
/ohos5.0/foundation/filemanagement/app_file_service/tools/backup_tool/src/ |
H A D | tools_op_restore_async.cpp | 322 … .fullBackupOnly = bundleInfo.fullBackupOnly, in ChangeBundleInfo()
|
H A D | tools_op_incremental_restore_async.cpp | 339 … .fullBackupOnly = bundleInfo.fullBackupOnly, in ChangeBundleInfo()
|
/ohos5.0/foundation/filemanagement/app_file_service/services/backup_sa/src/module_ipc/ |
H A D | service.cpp | 552 .fullBackupOnly = restoreInfo.fullBackupOnly, in GetRestoreBundleNames() 571 .fullBackupOnly = (*it).fullBackupOnly, in GetRestoreBundleNames()
|