Home
last modified time | relevance | path

Searched refs:levelList (Results 1 – 3 of 3) sorted by relevance

/base/powermgr/thermal_manager/services/native/src/thermal_policy/
Dthermal_config_sensor_cluster.cpp64 std::vector<uint32_t> levelList; in UpdateThermalLevel() local
66 CalculateSensorLevel(typeTempInfo, levelList); in UpdateThermalLevel()
68 if (levelList.empty()) { in UpdateThermalLevel()
72 latestLevel_ = *std::max_element(levelList.begin(), levelList.end()); in UpdateThermalLevel()
77 std::vector<uint32_t>& levelList) in CalculateSensorLevel() argument
92 levelList.push_back(level); in CalculateSensorLevel()
96 levelList.push_back(level); in CalculateSensorLevel()
Dthermal_policy.cpp98 std::list<uint32_t> levelList; in WriteLevel() local
102 levelList.push_back(iter->second); in WriteLevel()
104 auto level = *max_element(levelList.begin(), levelList.end()); in WriteLevel()
/base/powermgr/thermal_manager/services/native/include/thermal_policy/
Dthermal_config_sensor_cluster.h56 void CalculateSensorLevel(const TypeTempMap& typeTempInfo, std::vector<uint32_t>& levelList);