• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# System Ability Manager
2
3## Introduction
4
5The System Ability Manager (SAMGR) subsystem provides APIs for starting, registering, and querying system abilities, and querying distributed system abilities.
6
7## System Architecture
8
9The figure below shows the SAMGR architecture.
10
11**Figure 1** SAMGR architecture
12
13
14![](figures/samgr-architecture.png)
15
16The SAMGR subsystem consists of the following modules:
17
18- safwk
19
20  The **safwk** module defines how to implement system abilities in OpenHarmony and provides APIs to start and register system abilities.
21
22- samgr
23
24  The **samgr** module provides APIs to start, register, and query OpenHarmony system abilities.
25
26- safwk_lite
27
28  The **safwk_lite** module implements the lightweight foundation process, which provides an empty process for running basic abilities.
29
30- samgr_lite
31
32  The **samgr_lite** module provides APIs for registering and discovering abilities of the mini system.
33
34## Directory Structure
35
36```
37/foundation/systemabilitymgr
38├── safwk                       # System ability framework
39├── samgr                       # System ability manager
40├── safwk_lite                  # Lightweight foundation process
41├── samgr_lite                  # Lightweight system ability manager
42```
43
44## Repositories Involved
45
46**SAMGR**
47
48[systemabilitymgr\_safwk](https://gitee.com/openharmony/systemabilitymgr_safwk)
49
50[systemabilitymgr\_samgr](https://gitee.com/openharmony/systemabilitymgr_samgr)
51
52[systemabilitymgr\_safwk\_lite](https://gitee.com/openharmony/systemabilitymgr_safwk_lite)
53
54[systemabilitymgr\_samgr\_lite](https://gitee.com/openharmony/systemabilitymgr_samgr_lite)
55