Home
last modified time | relevance | path

Searched refs:LevelItem (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/base/powermgr/thermal_manager/services/native/include/thermal_policy/
H A Dthermal_config_sensor_cluster.h26 struct LevelItem { struct
40 using SensorInfoMap = std::map<std::string, std::vector<LevelItem>>; argument
62 …void AscendLevelToThreshold(std::vector<LevelItem>& levItems, uint32_t& level, uint32_t end, int32…
63 …void DescendLevelToThresholdClr(std::vector<LevelItem>& levItems, uint32_t& level, int32_t curTemp…
64 … void DescendLevelToThreshold(std::vector<LevelItem>& levItems, uint32_t& level, int32_t curTemp);
66 …void LevelUpwardsSearch(std::vector<LevelItem>& levItems, uint32_t& level, uint32_t end, int32_t c…
67 void LevelDownwardsSearch(std::vector<LevelItem>& levItems, uint32_t& level, int32_t curTemp);
68 …void LevelDownwardsSearchWithThreshold(std::vector<LevelItem>& levItems, uint32_t& level, int32_t …
69 void LevelUpwardsSearchWithThreshold(std::vector<LevelItem>& levItems, uint32_t& level,
71 void AscJudgment(std::vector<LevelItem>& levItems, int32_t curTemp, uint32_t& level);
[all …]
H A Dthermal_srv_config_parser.h53 bool ParseSensorLevelInfo(const xmlNodePtr& cur, std::vector<LevelItem>& levelItems,
55 bool ParseLevelThreshold(const xmlNodePtr& subNode, LevelItem& levelItem,
/ohos5.0/base/powermgr/thermal_manager/test/unittest/src/
H A Dthermal_config_sensor_cluster_test.cpp71 LevelItem item;
124 LevelItem item1;
126 LevelItem item2;
166 LevelItem item;
189 LevelItem item;
213 LevelItem item1;
215 LevelItem item2;
249 LevelItem item;
272 LevelItem item;
343 LevelItem item1;
[all …]
H A Dthermal_config_file_parser.cpp77 std::vector<LevelItem> ThermalConfigFileParser::GetLevelItems(const std::string& name, const std::s… in GetLevelItems()
86 return std::vector<LevelItem>{}; in GetLevelItems()
362 std::vector<LevelItem> vItem; in ParseSensorInfo()
424 void ThermalConfigFileParser::ParseSensorSubnodeInfo(const xmlNode* cur, std::vector<LevelItem>& vI… in ParseSensorSubnodeInfo()
431 LevelItem levelItem; in ParseSensorSubnodeInfo()
/ohos5.0/base/powermgr/thermal_manager/services/native/src/thermal_policy/
H A Dthermal_config_sensor_cluster.cpp127 void ThermalConfigSensorCluster::AscendLevelToThreshold(std::vector<LevelItem>& levItems, uint32_t&… in AscendLevelToThreshold()
138 void ThermalConfigSensorCluster::DescendLevelToThresholdClr(std::vector<LevelItem>& levItems, in DescendLevelToThresholdClr()
149 void ThermalConfigSensorCluster::DescendLevelToThreshold(std::vector<LevelItem>& levItems, in DescendLevelToThreshold()
161 void ThermalConfigSensorCluster::AscendLevelToThresholdClr(std::vector<LevelItem>& levItems, in AscendLevelToThresholdClr()
173 void ThermalConfigSensorCluster::LevelUpwardsSearch(std::vector<LevelItem>& levItems, in LevelUpwardsSearch()
184 void ThermalConfigSensorCluster::LevelDownwardsSearch(std::vector<LevelItem>& levItems, in LevelDownwardsSearch()
195 void ThermalConfigSensorCluster::LevelDownwardsSearchWithThreshold(std::vector<LevelItem>& levItems, in LevelDownwardsSearchWithThreshold()
207 void ThermalConfigSensorCluster::LevelUpwardsSearchWithThreshold(std::vector<LevelItem>& levItems, in LevelUpwardsSearchWithThreshold()
219 void ThermalConfigSensorCluster::AscJudgment(std::vector<LevelItem>& levItems, int32_t curTemp, uin… in AscJudgment()
242 void ThermalConfigSensorCluster::DescJudgment(std::vector<LevelItem>& levItems, int32_t curTemp, ui… in DescJudgment()
H A Dthermal_srv_config_parser.cpp374 std::vector<LevelItem> levelItems; in ParseSensorInfo()
394 bool ThermalSrvConfigParser::ParseSensorLevelInfo(const xmlNodePtr& cur, std::vector<LevelItem>& le… in ParseSensorLevelInfo()
401 LevelItem levelItem; in ParseSensorLevelInfo()
426 bool ThermalSrvConfigParser::ParseLevelThreshold(const xmlNodePtr& subNode, LevelItem& levelItem, in ParseLevelThreshold()
/ohos5.0/base/powermgr/thermal_manager/test/unittest/include/
H A Dthermal_config_file_parser.h45 std::vector<LevelItem> GetLevelItems(const std::string& name, const std::string& sensor);
65 …void ParseSensorSubnodeInfo(const xmlNode* cur, std::vector<LevelItem>& vItem, std::vector<std::st…
/ohos5.0/base/powermgr/thermal_manager/test/systemtest/src/
H A Dthermal_mgr_system_test.cpp150 static void GetSystemTestTemp(std::vector<LevelItem>& iter, const int32_t& needLevel) in GetSystemTestTemp()