Searched refs:curTemp (Results 1 – 5 of 5) sorted by relevance
/base/powermgr/thermal_manager/application/protector/src/policy/ |
D | protector_thermal_zone_info.cpp | 22 void ProtectorThermalZoneInfo::UpdateThermalLevel(int32_t curTemp) in UpdateThermalLevel() argument 27 DescJudgment(curTemp, level); in UpdateThermalLevel() 29 AscJudgment(curTemp, level); in UpdateThermalLevel() 34 void ProtectorThermalZoneInfo::AscJudgment(int32_t curTemp, uint32_t &level) in AscJudgment() argument 36 THERMAL_HILOGD(FEATURE_PROTECTOR, "curTemp:%{public}d", curTemp); in AscJudgment() 41 if (curTemp >= nextUptemp) { in AscJudgment() 42 HandleAscNextUpTemp(level, curTemp); in AscJudgment() 43 } else if (curTemp < curDownTemp) { in AscJudgment() 44 HandleAscCurDownTemp(level, curTemp); in AscJudgment() 50 HandleAscMaxSizeTemp(level, curTemp); in AscJudgment() [all …]
|
/base/powermgr/thermal_manager/application/protector/include/policy/ |
D | protector_thermal_zone_info.h | 52 void AscJudgment(int32_t curTemp, uint32_t &level); 53 void DescJudgment(int32_t curTemp, uint32_t &level); 54 void HandleDescNextUpTemp(uint32_t &level, int32_t curTemp); 55 void HandleDescCurDownTemp(uint32_t &level, int32_t curTemp); 56 void HandleDescMaxSizeTemp(uint32_t &level, int32_t curTemp); 57 void HandleDescMinSizeTemp(uint32_t &level, int32_t curTemp); 58 void HandleAscNextUpTemp(uint32_t &level, int32_t curTemp); 59 void HandleAscCurDownTemp(uint32_t &level, int32_t curTemp); 60 void HandleAscMaxSizeTemp(uint32_t &level, int32_t curTemp); 61 void HandleAscMinSizeTemp(uint32_t &level, int32_t curTemp);
|
/base/powermgr/thermal_manager/services/native/src/thermal_policy/ |
D | thermal_config_sensor_cluster.cpp | 101 void ThermalConfigSensorCluster::AscJudgment(std::vector<LevelItem>& levItems, int32_t curTemp, uin… in AscJudgment() argument 106 if (curTemp >= nextUptemp) { in AscJudgment() 108 if (curTemp < levItems.at(i).threshold) { in AscJudgment() 113 } else if (curTemp < curDownTemp) { in AscJudgment() 115 if (curTemp >= levItems.at(i - 1).thresholdClr) { in AscJudgment() 123 if (curTemp < curDownTemp) { in AscJudgment() 125 if (curTemp < levItems.at(i - 1).thresholdClr) { in AscJudgment() 134 if (curTemp >= nextUptemp) { in AscJudgment() 136 if (curTemp >= levItems.at(i).threshold) { in AscJudgment() 146 void ThermalConfigSensorCluster::DescJudgment(std::vector<LevelItem>& levItems, int32_t curTemp, ui… in DescJudgment() argument [all …]
|
/base/powermgr/thermal_manager/test/unittest/src/ |
D | thermal_service_test.cpp | 317 int32_t curTemp = 1; variable 320 cluster.AscJudgment(levItems1, curTemp, level); 328 cluster.AscJudgment(levItems1, curTemp, level); 337 cluster.AscJudgment(levItems1, curTemp, level); 356 int32_t curTemp = 1; variable 359 cluster.AscJudgment(levItems, curTemp, level); 380 int32_t curTemp = 1; variable 383 cluster.AscJudgment(levItems, curTemp, level); 406 int32_t curTemp = 1; variable 409 cluster.DescJudgment(levItems, curTemp, level); [all …]
|
/base/powermgr/thermal_manager/services/native/include/thermal_policy/ |
D | thermal_config_sensor_cluster.h | 57 void AscJudgment(std::vector<LevelItem>& levItems, int32_t curTemp, uint32_t& level); 58 void DescJudgment(std::vector<LevelItem>& levItems, int32_t curTemp, uint32_t& level);
|