• Home
Name Date Size #Lines LOC

..--

brightness_manager/12-May-2024-4,2653,320

figures/12-May-2024-

state_manager/12-May-2024-10,9738,072

.clang-formatD12-May-20241.3 KiB3836

.gitattributesD12-May-2024631 1615

LICENSED12-May-20249.9 KiB177150

OAT.xmlD12-May-2024982 2610

README.mdD12-May-20242.5 KiB6042

README_zh.mdD12-May-20242.4 KiB5942

bundle.jsonD12-May-20242.8 KiB9190

displaymanager.yamlD12-May-20241.4 KiB3416

displaymgr.gniD12-May-20241.3 KiB3929

README.md

1# Display Power Manager<a name="EN-US_TOPIC_0000001152026155"></a>
2
3-   [Introduction](#section11660541593)
4-   [Directory Structure](#section19472752217)
5-   [Repositories Involved](#section63151229062)
6
7## Introduction<a name="section11660541593"></a>
8
9The Display Power Manager module provides the following capabilities:
10
111.  Turning on/off the display
122.  Adjusting the brightness of the display screen
13
14**Figure 1** Architecture of the Display Power Manager module<a name="fig106301571239"></a>
15
16![](figures/power-management-subsystem-architecture.png "Architecture of the power management subsystem")
17
18## Directory Structure<a name="section19472752217"></a>
19
20```
21base/powermgr/display_manager
22├───state_manager                   # state manager
23│   ├── figures                     # Architecture
24│   ├── frameworks                  # Framework layer
25│   │   ├── napi                    # NAPI layer
26│   │   └── native                  # Native layer
27│   ├── interfaces                  # API layer
28│   │   └── inner_api               # Internal APIs
29│   ├── sa_profile                  # SA profile
30│   ├── service                     # Server layer
31│   │   ├── etc                     # Brightness configuration file
32│   │   ├── native                  # Native layer
33│   │   └── zidl                    # Zidl API layer
34│   ├── test                        # Test cases
35│   │   ├── fuzztest                # Fuzz test
36│   │   ├── unittest                # Unit test
37│   │   ├── systemtest              # System test
38│   │   └── utils                   # Test tools
39│   └── utils                       # Utilities
40├───brightness_manager              # brightness manager
41```
42
43## Repositories Involved<a name="section63151229062"></a>
44
45[Power Management Subsystem](https://gitee.com/openharmony/docs/blob/master/en/readme/power-management.md)
46
47[powermgr_power_manager](https://gitee.com/openharmony/powermgr_power_manager)
48
49**powermgr_display_manager**
50
51[powermgr_battery_manager](https://gitee.com/openharmony/powermgr_battery_manager)
52
53[powermgr_thermal_manager](https://gitee.com/openharmony/powermgr_thermal_manager)
54
55[powermgr_battery_statistics](https://gitee.com/openharmony/powermgr_battery_statistics)
56
57[powermgr_battery_lite](https://gitee.com/openharmony/powermgr_battery_lite)
58
59[powermgr_powermgr_lite](https://gitee.com/openharmony/powermgr_powermgr_lite)
60

README_zh.md

1# 显示能效管理组件<a name="ZH-CN_TOPIC_0000001152026155"></a>
2
3-   [简介](#section11660541593)
4-   [目录](#section19472752217)
5-   [相关仓](#section63151229062)
6
7## 简介<a name="section11660541593"></a>
8
9显示能效管理组件主要负责显示屏的亮/灭、亮度调节等功能,如下:
10
111.  显示屏的亮/灭。
122.  显示屏亮度调节。
13
14**图 1**  显示能效管理组件架构图<a name="fig106301571239"></a><br>
15![](figures/power-management-subsystem-architecture.png "显示能效管理组件架构图")
16
17## 目录<a name="section19472752217"></a>
18
19```
20base/powermgr/display_manager
21├───state_manager                   # 显示状态管理
22│   ├── figures                     # 架构图
23│   ├── frameworks                  # Framework层
24│   │   ├── napi                    # NAPI层
25│   │   └── native                  # Native层
26│   ├── interfaces                  # 接口层
27│   │   └── inner_api               # 内部接口
28│   ├── sa_profile                  # SA 配置文件
29│   ├── service                     # 服务层
30│   │   ├── etc                     # 亮度配置文件
31│   │   ├── native                  # Native 层
32│   │   └── zidl                    # Zidl 接口层
33│   ├── test                        # 测试用例
34│   │   ├── fuzztest                # Fuzz 测试
35│   │   ├── unittest                # 单元测试
36│   │   ├── systemtest              # 系统测试
37│   │   └── utils                   # 测试工具
38│   └── utils                       # 工具和通用层
39├───brightness_manager              # 显示亮度管理
40```
41
42## 相关仓<a name="section63151229062"></a>
43
44[电源管理子系统](https://gitee.com/openharmony/docs/blob/master/zh-cn/readme/%E7%94%B5%E6%BA%90%E7%AE%A1%E7%90%86%E5%AD%90%E7%B3%BB%E7%BB%9F.md)
45
46[powermgr_power_manager](https://gitee.com/openharmony/powermgr_power_manager)
47
48**powermgr_display_manager**
49
50[powermgr_battery_manager](https://gitee.com/openharmony/powermgr_battery_manager)
51
52[powermgr_thermal_manager](https://gitee.com/openharmony/powermgr_thermal_manager)
53
54[powermgr_battery_statistics](https://gitee.com/openharmony/powermgr_battery_statistics)
55
56[powermgr_battery_lite](https://gitee.com/openharmony/powermgr_battery_lite)
57
58[powermgr_powermgr_lite](https://gitee.com/openharmony/powermgr_powermgr_lite)
59