/base/powermgr/thermal_manager/application/protector/src/ |
D | thermal_sensor_provider.cpp | 42 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 …]
|
D | thermal_protector_timer.cpp | 46 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 …]
|
D | thermal_sensor_provision.cpp | 68 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()
|
D | thermal_kernel_service.cpp | 29 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()
|
D | thermal_protector_utils.cpp | 35 THERMAL_HILOGE(FEATURE_PROTECTOR, "ret=%{public}zu", ret); in WriteFile()
|
/base/powermgr/thermal_manager/application/protector/src/policy/ |
D | thermal_kernel_policy.cpp | 39 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 …]
|
D | protector_thermal_zone_info.cpp | 24 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 …]
|
D | thermal_kernel_config_file.cpp | 28 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/ |
D | current_action.cpp | 33 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()
|
D | voltage_action.cpp | 33 THERMAL_HILOGD(FEATURE_PROTECTOR, "Enter"); in AddActionValue() 43 THERMAL_HILOGW(FEATURE_PROTECTOR, "failed to set battery volatage"); in Execute()
|
D | cpu_action.cpp | 41 THERMAL_HILOGE(FEATURE_PROTECTOR, "failed to set cpu freq"); in Execute() 51 THERMAL_HILOGD(FEATURE_PROTECTOR, "%{public}d", freq); in CpuActionRequest()
|
D | thermal_device_control.cpp | 29 THERMAL_HILOGD(FEATURE_PROTECTOR, "Enter"); in Init()
|
/base/powermgr/thermal_manager/utils/native/include/ |
D | thermal_log.h | 62 FEATURE_PROTECTOR, enumerator
|