Searched refs:levelItem (Results 1 – 3 of 3) sorted by relevance
/base/powermgr/thermal_manager/test/unittest/src/ |
D | thermal_config_file_parser.cpp | 417 LevelItem levelItem; in ParseSensorSubnodeInfo() local 436 StringOperation::StrToUint(reinterpret_cast<char*>(xmlLevel), levelItem.level); in ParseSensorSubnodeInfo() 440 StrToInt(thresholds.at(i), levelItem.threshold); in ParseSensorSubnodeInfo() 441 StrToInt(thresholdClrs.at(i), levelItem.thresholdClr); in ParseSensorSubnodeInfo() 450 StringOperation::StrToDouble(rates.at(i), levelItem.tempRiseRate); in ParseSensorSubnodeInfo() 452 vItem.push_back(levelItem); in ParseSensorSubnodeInfo()
|
/base/powermgr/thermal_manager/services/native/src/thermal_policy/ |
D | thermal_srv_config_parser.cpp | 326 LevelItem levelItem; in ParseSensorLevelInfo() local 327 if (!ParseLevelThreshold(subNode, levelItem, sensors, sensorIdx)) { in ParseSensorLevelInfo() 343 StringOperation::StrToDouble(rates.at(sensorIdx), levelItem.tempRiseRate); in ParseSensorLevelInfo() 345 levelItems.push_back(levelItem); in ParseSensorLevelInfo() 351 bool ThermalSrvConfigParser::ParseLevelThreshold(const xmlNodePtr& subNode, LevelItem& levelItem, in ParseLevelThreshold() argument 380 StringOperation::StrToUint(reinterpret_cast<char*>(xmlLevel), levelItem.level); in ParseLevelThreshold() 387 StrToInt(thresholds.at(sensorIdx), levelItem.threshold); in ParseLevelThreshold() 388 StrToInt(thresholdClrs.at(sensorIdx), levelItem.thresholdClr); in ParseLevelThreshold()
|
/base/powermgr/thermal_manager/services/native/include/thermal_policy/ |
D | thermal_srv_config_parser.h | 55 bool ParseLevelThreshold(const xmlNodePtr& subNode, LevelItem& levelItem,
|