Searched refs:typeTempInfo (Results 1 – 3 of 3) sorted by relevance
/base/powermgr/thermal_manager/services/native/src/thermal_policy/ |
D | thermal_config_sensor_cluster.cpp | 62 void ThermalConfigSensorCluster::UpdateThermalLevel(const TypeTempMap& typeTempInfo) in UpdateThermalLevel() argument 66 CalculateSensorLevel(typeTempInfo, levelList); in UpdateThermalLevel() 76 void ThermalConfigSensorCluster::CalculateSensorLevel(const TypeTempMap& typeTempInfo, in CalculateSensorLevel() argument 84 auto iter = typeTempInfo.find(sensorInfo->first); in CalculateSensorLevel() 85 if (iter == typeTempInfo.end()) { in CalculateSensorLevel() 91 CheckExtraCondition(typeTempInfo, level); in CalculateSensorLevel() 95 CheckExtraCondition(typeTempInfo, level); in CalculateSensorLevel() 191 void ThermalConfigSensorCluster::CheckExtraCondition(const TypeTempMap& typeTempInfo, uint32_t& lev… in CheckExtraCondition() argument 194 if (!IsAuxSensorTrigger(typeTempInfo, level)) { in CheckExtraCondition() 232 bool ThermalConfigSensorCluster::IsAuxSensorTrigger(const TypeTempMap& typeTempInfo, uint32_t& leve… in IsAuxSensorTrigger() argument [all …]
|
/base/powermgr/thermal_manager/services/native/include/thermal_policy/ |
D | thermal_config_sensor_cluster.h | 46 void UpdateThermalLevel(const TypeTempMap& typeTempInfo); 56 void CalculateSensorLevel(const TypeTempMap& typeTempInfo, std::vector<uint32_t>& levelList); 59 void CheckExtraCondition(const TypeTempMap& typeTempInfo, uint32_t& level); 61 bool IsAuxSensorTrigger(const TypeTempMap& typeTempInfo, uint32_t& level);
|
/base/powermgr/thermal_manager/test/unittest/src/ |
D | thermal_service_test.cpp | 292 TypeTempMap typeTempInfo; variable 294 cluster.UpdateThermalLevel(typeTempInfo); 481 TypeTempMap typeTempInfo; variable 485 EXPECT_TRUE(cluster.IsAuxSensorTrigger(typeTempInfo, level)); 491 EXPECT_TRUE(cluster.IsAuxSensorTrigger(typeTempInfo, level)); 501 typeTempInfo["test"] = 1; // The range is lowerTemp and upperTemp 502 typeTempInfo["test2"] = 5; // The range is not lowerTemp or upperTemp 504 EXPECT_FALSE(cluster.IsAuxSensorTrigger(typeTempInfo, level));
|