• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..17-Mar-2025-

frameworks/H17-Mar-2025-10,6748,693

interfaces/H17-Mar-2025-10,6858,061

services/H17-Mar-2025-9,9057,735

test/H17-Mar-2025-9,1476,777

tests/H17-Mar-2025-37,60925,361

tools/backup_tool/H17-Mar-2025-3,0732,406

utils/H17-Mar-2025-6,5124,419

.clang-formatH A D17-Mar-20256.7 KiB162162

.gitignoreH A D17-Mar-202515 22

BUILD.gnH A D17-Mar-20251.2 KiB4538

CODEOWNERSH A D17-Mar-2025757 1514

LICENSEH A D17-Mar-20259.9 KiB177150

OAT.xmlH A D17-Mar-20254.5 KiB6816

README.mdH A D17-Mar-2025960 3725

README_ZH.mdH A D17-Mar-20252.7 KiB5041

app_file_service.gniH A D17-Mar-20251,004 2624

backup.gniH A D17-Mar-20252.8 KiB6156

bundle.jsonH A D17-Mar-20257.6 KiB172171

cfi_blocklist.txtH A D17-Mar-20251.2 KiB3332

hisysevent.yamlH A D17-Mar-2025895 2119

README.md

1# app_file_service
2
3#### Description
4{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**}
5
6#### Software Architecture
7Software architecture description
8
9#### Installation
10
111.  xxxx
122.  xxxx
133.  xxxx
14
15#### Instructions
16
171.  xxxx
182.  xxxx
193.  xxxx
20
21#### Contribution
22
231.  Fork the repository
242.  Create Feat_xxx branch
253.  Commit your code
264.  Create Pull Request
27
28
29#### Gitee Feature
30
311.  You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
322.  Gitee blog [blog.gitee.com](https://blog.gitee.com)
333.  Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
344.  The most valuable open source project [GVP](https://gitee.com/gvp)
355.  The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
366.  The most popular members  [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
37

README_ZH.md

1# 应用文件服务
2
3## **简介**
4应用文件服务是为应用提供文件分享和管理能力的服务,包含应用间文件分享、跨设备同应用文件分享以及跨设备跨应用文件分享的能力。
5当前已具备基于分布式文件系统的跨设备同应用文件分享能力。
6
7## **目录**
8```
9/foundation/filemanagement/app_file_service
10│── interfaces                        // 接口声明
11│  ├── innerkits                      // 对内接口声明
12│  └── kits                           // 对外接口声明
13```
14
15# 备份恢复
16
17## **简介**
18
19备份恢复是为Openharmony设备上三方应用数据、系统应用数据、公共数据提供一套完整的数据备份和数据恢复解决方案。
20
21备份恢复功能主要由三大部分组成:
22 - 集成在克隆等系统应用中的[JS API](https://gitee.com/openharmony/docs/blob/weekly_20230502/zh-cn/application-dev/reference/apis/js-apis-file-backup.md):负责触发备份/恢复数据。支持获取能力文件,触发备份应用数据,触发恢复应用数据,设置恢复应用数据时安装应用。
23 - 集成在待备份恢复应用中的备份[服务扩展](https://gitee.com/openharmony/ability_ability_runtime#简介):负责备份恢复具体应用的数据。应用开发者可通过配置备份恢复策略规则,配置备份恢复场景及过滤隐私等目录。
24 - 具有独立进程的备份服务:主要负责调度备份恢复任务。具体而言,其具体职责包括获取及检查备份恢复能力、管理备份服务扩展的生命周期与并发程度、协调零拷贝传输文件、在恢复时可选择安装应用。
25
26## **目录**
27```
28/foundation/filemanagement/app_file_service
29│── frameworks                        // 框架层
30|  └── native
31│     └── backup_ext                  // 备份服务扩展
32│── interfaces                        // 接口存放目录
33|  ├── api
34│  ├── inner_api                      // 内部接口声明
35│  └── kits
36|     └── js
37|        └── backup                   // js外部接口
38│── services
39|   └── backup_sa                     // 备份恢复服务
40│── tests                             // 测试用例
41│── tools                             // 备份恢复工具
42└── utils                             // 工具套
43```
44
45# **相关仓**
46
47- [Linux内核5.10](https://gitee.com/openharmony/kernel_linux_5.10)
48- [文件访问接口](https://gitee.com/openharmony/filemanagement_file_api)
49- [元能力子系统](https://gitee.com/openharmony/ability_ability_runtime)
50- [系统服务框架](https://gitee.com/openharmony/systemabilitymgr_safwk)