Home
last modified time | relevance | path

Searched refs:FEATURE_PROTECTOR (Results 1 – 13 of 13) sorted by relevance

/base/powermgr/thermal_manager/application/protector/src/
Dthermal_sensor_provider.cpp42 THERMAL_HILOGE(FEATURE_PROTECTOR, "failed to get path info."); in InitProvider()
52 THERMAL_HILOGD(FEATURE_PROTECTOR, "Enter"); in GetThermalSensorInfo()
57 THERMAL_HILOGE(FEATURE_PROTECTOR, "failed to thermal zone info"); in GetThermalSensorInfo()
62 THERMAL_HILOGI(FEATURE_PROTECTOR, "size = %{public}zu", tzInfoList_.size()); in GetThermalSensorInfo()
65 THERMAL_HILOGI(FEATURE_PROTECTOR, "configType = %{public}s", type.first.c_str()); in GetThermalSensorInfo()
69 THERMAL_HILOGD(FEATURE_PROTECTOR, "type = %{public}s", iter->type.c_str()); in GetThermalSensorInfo()
70 THERMAL_HILOGD(FEATURE_PROTECTOR, "temp = %{public}d", iter->temp); in GetThermalSensorInfo()
73 THERMAL_HILOGI(FEATURE_PROTECTOR, "success to find type"); in GetThermalSensorInfo()
92 THERMAL_HILOGD(FEATURE_PROTECTOR, "Enter"); in NotifyPolicy()
95 THERMAL_HILOGD(FEATURE_PROTECTOR, "type = %{public}s, temp = %{public}d", in NotifyPolicy()
[all …]
Dthermal_protector_timer.cpp46 THERMAL_HILOGD(FEATURE_PROTECTOR, "Enter"); in NotifyPolicy()
56 THERMAL_HILOGE(FEATURE_PROTECTOR, "epoll create failed, epFd_ is invalid"); in CreateProvisionFd()
64 THERMAL_HILOGI(FEATURE_PROTECTOR, "register Timer event failed"); in CreateProvisionFd()
67 THERMAL_HILOGD(FEATURE_PROTECTOR, "Exit"); in CreateProvisionFd()
79 THERMAL_HILOGI(FEATURE_PROTECTOR, "%{public}d, %{public}d", epfd, fd); in RegisterCallback()
83 THERMAL_HILOGE(FEATURE_PROTECTOR, "epoll_ctl failed, error num =%{public}d", errno); in RegisterCallback()
86 THERMAL_HILOGD(FEATURE_PROTECTOR, "Exit"); in RegisterCallback()
95 THERMAL_HILOGE(FEATURE_PROTECTOR, "read timerFd_ failed"); in TimerProvisionCallback()
123 THERMAL_HILOGE(FEATURE_PROTECTOR, "timer failed\n"); in SetTimerInterval()
125 THERMAL_HILOGD(FEATURE_PROTECTOR, "Exit"); in SetTimerInterval()
[all …]
Dthermal_sensor_provision.cpp68 THERMAL_HILOGW(FEATURE_PROTECTOR, "read path failed, ret: %{public}d", ret); in ReadThermalSysfsToBuff()
80 THERMAL_HILOGE(FEATURE_PROTECTOR, "failed to open file"); in ReadSysfsFile()
85 THERMAL_HILOGE(FEATURE_PROTECTOR, "failed to read file"); in ReadSysfsFile()
126 THERMAL_HILOGW(FEATURE_PROTECTOR, "failed to format path of %{public}s", name); in FormatThermalPaths()
139 THERMAL_HILOGE(FEATURE_PROTECTOR, "cannot open thermal zone path"); in InitThermalZoneSysfs()
160 THERMAL_HILOGI(FEATURE_PROTECTOR, "init sysfs info of %{public}s", sysfsInfo.name); in InitThermalZoneSysfs()
167 …THERMAL_HILOGI(FEATURE_PROTECTOR, "Sensor %{public}s found at tz: %{public}d", sysfsInfo.name, id); in InitThermalZoneSysfs()
170 THERMAL_HILOGE(FEATURE_PROTECTOR, "too many plugged types"); in InitThermalZoneSysfs()
187 THERMAL_HILOGE(FEATURE_PROTECTOR, "failed to get path info."); in ParseThermalZoneInfo()
196 THERMAL_HILOGE(FEATURE_PROTECTOR, "failed to read thermal zone type"); in ParseThermalZoneInfo()
Dthermal_kernel_service.cpp29 THERMAL_HILOGE(FEATURE_PROTECTOR, "failed to init service"); in OnStart()
54 THERMAL_HILOGE(FEATURE_PROTECTOR, "failed to init policy"); in Init()
59 THERMAL_HILOGE(FEATURE_PROTECTOR, "failed to init device control"); in Init()
Dthermal_protector_utils.cpp35 THERMAL_HILOGE(FEATURE_PROTECTOR, "ret=%{public}zu", ret); in WriteFile()
/base/powermgr/thermal_manager/application/protector/src/policy/
Dthermal_kernel_policy.cpp39 THERMAL_HILOGD(FEATURE_PROTECTOR, "Enter"); in LevelDecision()
43 THERMAL_HILOGD(FEATURE_PROTECTOR, "start update thermal level"); in LevelDecision()
47 THERMAL_HILOGI(FEATURE_PROTECTOR, "final level = %{public}d", level); in LevelDecision()
54 THERMAL_HILOGD(FEATURE_PROTECTOR, "Enter"); in PolicyDecision()
68 THERMAL_HILOGD(FEATURE_PROTECTOR, "Enter"); in ActionDecision()
84 THERMAL_HILOGD(FEATURE_PROTECTOR, "Enter"); in ActionExecution()
87 THERMAL_HILOGI(FEATURE_PROTECTOR, "executeActionList_ is empty"); in ActionExecution()
92 THERMAL_HILOGI(FEATURE_PROTECTOR, "size: %{public}zu", actionMap.size()); in ActionExecution()
113 THERMAL_HILOGD(FEATURE_PROTECTOR, "Enter"); in OnReceivedSensorsInfo()
162 THERMAL_HILOGI(FEATURE_PROTECTOR, "info list is null"); in CalculateMaxCd()
[all …]
Dprotector_thermal_zone_info.cpp24 THERMAL_HILOGD(FEATURE_PROTECTOR, "Enter"); in UpdateThermalLevel()
36 THERMAL_HILOGD(FEATURE_PROTECTOR, "curTemp:%{public}d", curTemp); in AscJudgment()
47 THERMAL_HILOGI(FEATURE_PROTECTOR, "third level = %{public}d", level); in AscJudgment()
58 THERMAL_HILOGD(FEATURE_PROTECTOR, "curTemp:%{public}d", curTemp); in DescJudgment()
69 THERMAL_HILOGI(FEATURE_PROTECTOR, "third level = %{public}d", level); in DescJudgment()
76 THERMAL_HILOGD(FEATURE_PROTECTOR, "Exit"); in DescJudgment()
88 THERMAL_HILOGI(FEATURE_PROTECTOR, "first level = %{public}d", level); in HandleAscNextUpTemp()
100 THERMAL_HILOGI(FEATURE_PROTECTOR, "second level = %{public}d", level); in HandleAscCurDownTemp()
115 THERMAL_HILOGI(FEATURE_PROTECTOR, "fourth level = %{public}d", level); in HandleAscMaxSizeTemp()
132 THERMAL_HILOGI(FEATURE_PROTECTOR, "fifth level = %{public}d", level); in HandleAscMinSizeTemp()
[all …]
Dthermal_kernel_config_file.cpp28 THERMAL_HILOGD(FEATURE_PROTECTOR, "Enter"); in Init()
39 THERMAL_HILOGD(FEATURE_PROTECTOR, "Enter"); in ParseThermalKernelXML()
44 THERMAL_HILOGE(FEATURE_PROTECTOR, "Init failed, read file failed."); in ParseThermalKernelXML()
50 THERMAL_HILOGE(FEATURE_PROTECTOR, "Get root node failed."); in ParseThermalKernelXML()
129 THERMAL_HILOGD(FEATURE_PROTECTOR, "Enter"); in ParseSubNode()
/base/powermgr/thermal_manager/application/protector/src/action/
Dcurrent_action.cpp33 THERMAL_HILOGD(FEATURE_PROTECTOR, "Enter"); in AddActionValue()
43 THERMAL_HILOGE(FEATURE_PROTECTOR, "failed to set battery current"); in Execute()
53 THERMAL_HILOGD(FEATURE_PROTECTOR, "%{public}d", current); in BatteryCurrentActionRequest()
Dvoltage_action.cpp33 THERMAL_HILOGD(FEATURE_PROTECTOR, "Enter"); in AddActionValue()
43 THERMAL_HILOGW(FEATURE_PROTECTOR, "failed to set battery volatage"); in Execute()
Dcpu_action.cpp41 THERMAL_HILOGE(FEATURE_PROTECTOR, "failed to set cpu freq"); in Execute()
51 THERMAL_HILOGD(FEATURE_PROTECTOR, "%{public}d", freq); in CpuActionRequest()
Dthermal_device_control.cpp29 THERMAL_HILOGD(FEATURE_PROTECTOR, "Enter"); in Init()
/base/powermgr/thermal_manager/utils/native/include/
Dthermal_log.h62 FEATURE_PROTECTOR, enumerator