SAMGR.md 1.6 KB
Newer Older
A
Annie_wang 已提交
1
# System Ability Manager
A
annie_wangli 已提交
2

A
Annie_wang 已提交
3
## Introduction
A
annie_wangli 已提交
4

A
Annie_wang 已提交
5
The System Ability Manager (SAMGR) subsystem provides APIs for starting, registering, and querying system abilities, and querying distributed system abilities.
A
annie_wangli 已提交
6

A
Annie_wang 已提交
7
## System Architecture
A
annie_wangli 已提交
8

A
Annie_wang 已提交
9
The figure below shows the SAMGR architecture.
A
annie_wangli 已提交
10

A
Annie_wang 已提交
11
**Figure 1** SAMGR architecture
A
annie_wangli 已提交
12 13 14 15


![](figures/samgr-architecture.png)

A
Annie_wang 已提交
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
The SAMGR subsystem consists of the following modules:

- safwk
  
  The **safwk** module defines how to implement system abilities in OpenHarmony and provides APIs to start and register system abilities.

- samgr
  
  The **samgr** module provides APIs to start, register, and query OpenHarmony system abilities.

- safwk_lite
  
  The **safwk_lite** module implements the lightweight foundation process, which provides an empty process for running basic abilities.

- samgr_lite
  
  The **samgr_lite** module provides APIs for registering and discovering abilities of the mini system.

## Directory Structure
A
annie_wangli 已提交
35 36

```
H
huangxiaolinabc123 已提交
37
/foundation/systemabilitymgr
A
annie_wangli 已提交
38 39 40
├── safwk                       # System ability framework
├── samgr                       # System ability manager
├── safwk_lite                  # Lightweight foundation process
A
Annie_wang 已提交
41
├── samgr_lite                  # Lightweight system ability manager
A
annie_wangli 已提交
42 43
```

A
Annie_wang 已提交
44
## Repositories Involved
A
annie_wangli 已提交
45

A
Annie_wang 已提交
46
**SAMGR**
A
annie_wangli 已提交
47

H
huangxiaolinabc123 已提交
48
[systemabilitymgr\_safwk](https://gitee.com/openharmony/systemabilitymgr_safwk)
A
annie_wangli 已提交
49

H
huangxiaolinabc123 已提交
50
[systemabilitymgr\_samgr](https://gitee.com/openharmony/systemabilitymgr_samgr)
A
annie_wangli 已提交
51

H
huangxiaolinabc123 已提交
52
[systemabilitymgr\_safwk\_lite](https://gitee.com/openharmony/systemabilitymgr_safwk_lite)
A
annie_wangli 已提交
53

H
huangxiaolinabc123 已提交
54
[systemabilitymgr\_samgr\_lite](https://gitee.com/openharmony/systemabilitymgr_samgr_lite)