Home
last modified time | relevance | path

Searched refs:thermal (Results 1 – 25 of 114) sorted by relevance

12345

/ohos5.0/docs/zh-cn/device-dev/subsystems/
H A Dsubsys-thermal_log.md43 ├── thermal.para
44 ├── thermal.para.dac
76thermal.para](https://gitee.com/openharmony/drivers_peripheral/blob/master/thermal/etc/thermal.par…
78 thermal.para:
80 persist.thermal.log.enable=true # 打开thermal log
85 thermal.para.dac:
103 …ivers_peripheral/blob/master/thermal/etc/BUILD.gn)编写BUILD.gn文件,将thermal.para和thermal.para.dac打包到`/…
108 ## Install thermal.para to /vendor/etc/param/thermal.para
145 …"//vendor/hihope/rk3568/thermal/etc:param_files" // 添加thermal.para和thermal.para.dac的编译
171 cd /data/log/thermal/
[all …]
H A Dsubsys-thermal_detection.md31 …ony/drivers_peripheral/tree/master/thermal/interfaces/hdi_service/profile)创建目标文件夹,并安装到`//vendor/hi…
49 | thermal_zone | type | thermal zone名称 | string |
50 | thermal_zone | path | 获取真实节点thermal zone温度值的路径 | string |
51 | thermal_node | type | thermal node名称 | string |
52 | thermal_node | path | 获取模拟节点thermal node温度值的路径 | string |
61 <thermal_zone type="soc-thermal" path="sys/class/thermal/thermal_zone0/temp"/>
62 <thermal_zone type="gpu-thermal" path="sys/class/thermal/thermal_zone0/temp"/>
127 2. 获取thermal zone的热检测结果:
132 成功获取thermal zone的热检测结果如下,其中Temperature的默认温度单位为0.001摄氏度:
139 Type: gpu-thermal
[all …]
/ohos5.0/docs/zh-cn/application-dev/reference/apis-basic-services-kit/
H A Djs-apis-thermal.md1 # @ohos.thermal (热管理)
12 import {thermal} from '@kit.BasicServicesKit';
31 以下错误码的详细介绍请参见[热管理错误码](errorcode-thermal.md)。
42 thermal.registerThermalLevelCallback((level: thermal.ThermalLevel) => {
67 以下错误码的详细介绍请参见[热管理错误码](errorcode-thermal.md)。
87 ## thermal.getLevel<sup>9+</sup>
103 以下错误码的详细介绍请参见[热管理错误码](errorcode-thermal.md)。
113 let level = thermal.getLevel();
139 thermal.subscribeThermalLevel((err: Error, level: thermal.ThermalLevel) => {
163 thermal.unsubscribeThermalLevel(() => {
[all …]
/ohos5.0/docs/en/device-dev/subsystems/
H A Dsubsys-thermal_log.md43 ├── thermal.para
44 ├── thermal.para.dac
78thermal.para` and `thermal.para.dac` files by referring to the [thermal.para](https://gitee.com/op…
80 thermal.para:
82 persist.thermal.log.enable=true # Enable the thermal log function.
87 thermal.para.dac:
110 ## Install thermal.para to /vendor/etc/param/thermal.para
128 ":thermal.para",
173 cd /data/log/thermal/
176 View thermal logs.
[all …]
H A Dsubsys-thermal_detection.md7thermal detection feature. A component, for example, the CPU or battery, generates heat while it i…
31thermal detection configuration folder](https://gitee.com/openharmony/drivers_peripheral/tree/mast…
41 **Table 1** Configuration items for thermal detection
61 <thermal_zone type="soc-thermal" path="sys/class/thermal/thermal_zone0/temp"/>
62 <thermal_zone type="gpu-thermal" path="sys/class/thermal/thermal_zone0/temp"/>
67 <thermal_node type="ap" path="data/service/el0/thermal/sensor/ap/temp"/>
68 <thermal_node type="pa" path="data/service/el0/thermal/sensor/pa/temp"/>
127 2. Obtain the thermal detection result of the thermal zone.
132 …The following is the reference thermal detection result of the thermal zone. The value of **Temper…
139 Type: gpu-thermal
[all …]
H A Dsubsys-thermal_scene.md7thermal scene feature. During device usage, for example, gaming, photographing, or calling, the sy…
27 …penharmony/vendor_hihope/tree/master/rk3568) as an example to illustrate thermal scene customizati…
29 1. Create the `thermal` folder in the product directory [/vendor/hihope/rk3568](https://gitee.com/o…
31thermal scene configuration folder](https://gitee.com/openharmony/powermgr_thermal_manager/tree/ma…
41 **Table 1** Configuration items for the thermal scene
45 …| name="scene" | One or more thermal scenes specified by enum values.| param | Available thermal s…
56 …rnal system can call the **UpdateThermalState** API of the thermal service to set the thermal stat…
64 | isImmed | Whether to update the thermal control action value immediately.| bool |
91 …"//vendor/hihope/rk3568/thermal/profile:thermal_service_config", // Add the configuration for buil…
115 2. Obtain the current thermal scene information.
[all …]
H A Dsubsys-thermal_level.md7thermal level feature. Different hardware devices generate different amounts of heat and can toler…
27 …penharmony/vendor_hihope/tree/master/rk3568) as an example to illustrate thermal level customizati…
29 1. Create the `thermal` folder in the product directory [/vendor/hihope/rk3568](https://gitee.com/o…
31thermal level configuration folder](https://gitee.com/openharmony/powermgr_thermal_manager/tree/ma…
62 …re threshold for each sensor in the cluster to roll back to the previous thermal level. | int | Pr…
66 <thermal version="0.01" product="lya">
107 …"//vendor/hihope/rk3568/thermal/profile:thermal_service_config", // Add the configuration for buil…
131 2. Go to the `data/service/el0/thermal/sensor/soc/` directory.
133 cd data/service/el0/thermal/sensor/soc
141 4. Obtain the current thermal level information.
[all …]
H A Dsubsys-thermal_control.md7thermal control feature. If a device becomes overheated during usage, thermal control measures nee…
27 …penharmony/vendor_hihope/blob/master/rk3568) as an example to illustrate thermal control customiza…
29 1. Create the `thermal` folder in the product directory [/vendor/hihope/rk3568](https://gitee.com/o…
31thermal control configuration folder](https://gitee.com/openharmony/powermgr_thermal_manager/blob/…
41 **Table 1** Configuration items for thermal control
50 …| name="boost" | SOCPERF thermal level control| event | - **1**: event sending enabled<br>-**0**: …
82 <item name="(action_name)" protocol="node" param="/sys/class/thermal/xxx"/>
112 …"//vendor/hihope/rk3568/thermal/profile:thermal_service_config", // Add the configuration for buil…
119 …In the preceding code, `//vendor/hihope/rk3568/thermal/` is the folder path, `profile` is the fold…
136 2. Obtain the current thermal control information.
[all …]
/ohos5.0/docs/en/application-dev/reference/apis-basic-services-kit/
H A Djs-apis-thermal.md1 # @ohos.thermal (Thermal Management)
3 The **thermal** module provides thermal level-related callback and query APIs to obtain the informa…
19 Subscribes to thermal level changes.
42 thermal.registerThermalLevelCallback((level: thermal.ThermalLevel) => {
87 ## thermal.getLevel<sup>9+</sup>
91 Obtains the current thermal level.
113 let level = thermal.getLevel();
126 Subscribes to thermal level changes.
139 thermal.subscribeThermalLevel((err: Error, level: thermal.ThermalLevel) => {
174 Obtains the current thermal level.
[all …]
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/thermal_v1_1/dump_ast_target/
H A Ddump.txt2 package ohos.hdi.thermal.v1_1;
4 import ohos.hdi.thermal.v1_1.IFanCallback;
5 import ohos.hdi.thermal.v1_1.IThermalCallback;
6 import ohos.hdi.thermal.v1_1.ThermalTypes;
30 [in] ohos.hdi.thermal.v1_1.IFanCallback callbackObj);
37 package ohos.hdi.thermal.v1_1;
39 import ohos.hdi.thermal.v1_1.ThermalTypes;
48 package ohos.hdi.thermal.v1_1;
50 import ohos.hdi.thermal.v1_1.ThermalTypes;
59 package ohos.hdi.thermal.v1_1;
[all …]
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-Release/
H A Djs-apidiff-battery.md9 | ohos.thermal | thermal | getThermalLevel(): ThermalLevel; | 新增 |
10 | ohos.thermal | thermal | unsubscribeThermalLevel(callback?: AsyncCallback\<void>): void; | 新增 |
11 | ohos.thermal | thermal | subscribeThermalLevel(callback: AsyncCallback\<ThermalLevel>): void; | 新…
12 | ohos.thermal | ThermalLevel | EMERGENCY = 6 | 新增 |
13 | ohos.thermal | ThermalLevel | WARNING = 5 | 新增 |
14 | ohos.thermal | ThermalLevel | OVERHEATED = 4 | 新增 |
15 | ohos.thermal | ThermalLevel | HOT = 3 | 新增 |
16 | ohos.thermal | ThermalLevel | WARM = 2 | 新增 |
17 | ohos.thermal | ThermalLevel | NORMAL = 1 | 新增 |
18 | ohos.thermal | ThermalLevel | COOL = 0 | 新增 |
/ohos5.0/docs/en/release-notes/api-diff/v3.1-Release/
H A Djs-apidiff-battery.md9 | ohos.thermal | thermal | getThermalLevel(): ThermalLevel; | Added|
10 | ohos.thermal | thermal | unsubscribeThermalLevel(callback?: AsyncCallback\<void>): void; | Added|
11 | ohos.thermal | thermal | subscribeThermalLevel(callback: AsyncCallback\<ThermalLevel>): void; | A…
12 | ohos.thermal | ThermalLevel | EMERGENCY = 6 | Added|
13 | ohos.thermal | ThermalLevel | WARNING = 5 | Added|
14 | ohos.thermal | ThermalLevel | OVERHEATED = 4 | Added|
15 | ohos.thermal | ThermalLevel | HOT = 3 | Added|
16 | ohos.thermal | ThermalLevel | WARM = 2 | Added|
17 | ohos.thermal | ThermalLevel | NORMAL = 1 | Added|
18 | ohos.thermal | ThermalLevel | COOL = 0 | Added|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/thermal_v1_0/dump_ast_target/
H A Ddump.txt1 …enHarmony/foundation/ability/idl_tool/test/hdi_unittest/thermal_v1_0/foo/thermal/v1_0/IThermalInte…
2 package ohos.hdi.thermal.v1_0;
4 import ohos.hdi.thermal.v1_0.IThermalCallback;
5 import ohos.hdi.thermal.v1_0.ThermalTypes;
18 [out] ohos.hdi.thermal.v1_0.HdfThermalCallbackInfo event);
21 [in] ohos.hdi.thermal.v1_0.IThermalCallback callbackObj);
28 package ohos.hdi.thermal.v1_0;
30 import ohos.hdi.thermal.v1_0.ThermalTypes;
34 [in] ohos.hdi.thermal.v1_0.HdfThermalCallbackInfo event);
39 package ohos.hdi.thermal.v1_0;
[all …]
/ohos5.0/drivers/interface/thermal/v1_0/
H A DIThermalCallback.idl17 * @addtogroup thermal
22 …* The thermal module provides APIs for the thermal service to manage, control, and subscribe to th…
23 …* After obtaining an object or proxy of this module, the thermal service can invoke related APIs t…
35 …* The thermal module provides the callback for the thermal service to obtain device temperature ch…
41 package ohos.hdi.thermal.v1_0;
43 import ohos.hdi.thermal.v1_0.ThermalTypes;
46 * @brief Represents the callback of thermal status changes.
48 …* After creating a callback object, the thermal service can call {@link IThermalInterface} to regi…
49 * subscribe to thermal status changes.
55 * @brief Callback of thermal status changes.
H A DThermalTypes.idl17 * @addtogroup thermal
22 …* After obtaining an object or proxy of this module, the thermal service can invoke related APIs t…
32 * @brief Enumerates data types related to thermal management.
34 * Such data types include thermal information and thermal information list.
40 package ohos.hdi.thermal.v1_0;
43 * @brief Defines the device thermal information.
55 * @brief Defines the device thermal information list.
60 /** Device thermal information list */
/ohos5.0/drivers/interface/thermal/v1_1/
H A DIThermalCallback.idl17 * @addtogroup thermal
22 …* The thermal module provides APIs for the thermal service to manage, control, and subscribe to th…
23 …* After obtaining an object or proxy of this module, the thermal service can invoke related APIs t…
35 …* The thermal module provides the callback for the thermal service to obtain device temperature ch…
41 package ohos.hdi.thermal.v1_1;
43 import ohos.hdi.thermal.v1_1.ThermalTypes;
46 * @brief Represents the callback of thermal status changes.
48 …* After creating a callback object, the thermal service can call {@link IThermalInterface} to regi…
49 * subscribe to thermal status changes.
55 * @brief Callback of thermal status changes.
H A DThermalTypes.idl17 * @addtogroup thermal
22 …* After obtaining an object or proxy of this module, the thermal service can invoke related APIs t…
32 * @brief Enumerates data types related to thermal management.
34 * Such data types include thermal information and thermal information list.
40 package ohos.hdi.thermal.v1_1;
43 * @brief Defines the device thermal information.
55 * @brief Defines the device thermal information list.
60 /** Device thermal information list */
H A DIFanCallback.idl17 * @addtogroup thermal
22 …* The thermal module provides APIs for the thermal service to manage, control, and subscribe to th…
23 …* After obtaining an object or proxy of this module, the thermal service can invoke related APIs t…
35 * provides the callback for the thermal service to obtain device temperature and fan speed changes.
41 package ohos.hdi.thermal.v1_1;
43 import ohos.hdi.thermal.v1_1.ThermalTypes;
48 …* After creating a callback object, the thermal service can call {@link IThermalInterface} to regi…
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/thermal_v1_0/foo/thermal/v1_0/
H A DIThermalCallback.idl17 * @addtogroup thermal
22 …* The thermal module provides APIs for the thermal service to manage, control, and subscribe to th…
23 …* After obtaining an object or proxy of this module, the thermal service can invoke related APIs t…
35 …* The thermal module provides the callback for the thermal service to obtain device temperature ch…
41 package ohos.hdi.thermal.v1_0;
43 import ohos.hdi.thermal.v1_0.ThermalTypes;
46 * @brief Represents the callback of thermal status changes.
48 …* After creating a callback object, the thermal service can call {@link IThermalInterface} to regi…
49 * subscribe to thermal status changes.
55 * @brief Callback of thermal status changes.
H A DThermalTypes.idl17 * @addtogroup thermal
22 …* After obtaining an object or proxy of this module, the thermal service can invoke related APIs t…
32 * @brief Enumerates data types related to thermal management.
34 * Such data types include thermal information and thermal information list.
40 package ohos.hdi.thermal.v1_0;
43 * @brief Defines the device thermal information.
55 * @brief Defines the device thermal information list.
60 /** Device thermal information list */
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/thermal_v1_1/foo/thermal/v1_1/
H A DIThermalCallback.idl17 * @addtogroup thermal
22 …* The thermal module provides APIs for the thermal service to manage, control, and subscribe to th…
23 …* After obtaining an object or proxy of this module, the thermal service can invoke related APIs t…
35 …* The thermal module provides the callback for the thermal service to obtain device temperature ch…
41 package ohos.hdi.thermal.v1_1;
43 import ohos.hdi.thermal.v1_1.ThermalTypes;
46 * @brief Represents the callback of thermal status changes.
48 …* After creating a callback object, the thermal service can call {@link IThermalInterface} to regi…
49 * subscribe to thermal status changes.
55 * @brief Callback of thermal status changes.
H A DThermalTypes.idl17 * @addtogroup thermal
22 …* After obtaining an object or proxy of this module, the thermal service can invoke related APIs t…
32 * @brief Enumerates data types related to thermal management.
34 * Such data types include thermal information and thermal information list.
40 package ohos.hdi.thermal.v1_1;
43 * @brief Defines the device thermal information.
55 * @brief Defines the device thermal information list.
60 /** Device thermal information list */
H A DIFanCallback.idl17 * @addtogroup thermal
22 …* The thermal module provides APIs for the thermal service to manage, control, and subscribe to th…
23 …* After obtaining an object or proxy of this module, the thermal service can invoke related APIs t…
35 * provides the callback for the thermal service to obtain device temperature and fan speed changes.
41 package ohos.hdi.thermal.v1_1;
43 import ohos.hdi.thermal.v1_1.ThermalTypes;
48 …* After creating a callback object, the thermal service can call {@link IThermalInterface} to regi…
/ohos5.0/drivers/peripheral/thermal/etc/
H A DBUILD.gn15 ## Install thermal.para to /vendor/etc/param/thermal.para
17 ohos_prebuilt_etc("thermal.para") {
18 source = "thermal.para"
25 ohos_prebuilt_etc("thermal.para.dac") {
26 source = "thermal.para.dac"
35 ":thermal.para",
36 ":thermal.para.dac",
/ohos5.0/base/powermgr/thermal_manager/test/unittest/
H A DBUILD.gn58 # thermal mock action test
92 # thermal policy test
150 # thermal client api test
172 # thermal action hub test
412 # thermal utils test
463 # thermal listener test
491 # thermal client test
581 # thermal action test
609 # thermal observer test
643 # thermal service test
[all …]

12345