Home
last modified time | relevance | path

Searched refs:sensorIdx (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/base/powermgr/thermal_manager/services/native/include/thermal_policy/
H A Dthermal_srv_config_parser.h50 const uint32_t sensorIdx, std::vector<AuxLevelItem>& auxLevelItem);
52 std::string& tempRangeStr, const uint32_t sensorIdx);
54 std::vector<std::string>& sensors, const uint32_t sensorIdx, SensorClusterPtr& sc);
56 std::vector<std::string>& sensors, const uint32_t sensorIdx);
/ohos5.0/base/powermgr/thermal_manager/services/native/src/thermal_policy/
H A Dthermal_srv_config_parser.cpp295 …std::vector<std::string>& auxsensors, const uint32_t sensorIdx, std::vector<AuxLevelItem>& auxLeve… in ParseAuxSensorLevInfo() argument
303 if (!ParseAuxSensorTriggerRange(subNode, auxsensors, tempRangeStr, sensorIdx)) { in ParseAuxSensorLevInfo()
334 std::vector<std::string>& auxsensors, std::string& tempRangeStr, const uint32_t sensorIdx) in ParseAuxSensorTriggerRange() argument
348 tempRangeStr = auxTempranges[sensorIdx]; in ParseAuxSensorTriggerRange()
395 std::vector<std::string>& sensors, const uint32_t sensorIdx, SensorClusterPtr& sc) in ParseSensorLevelInfo() argument
402 if (!ParseLevelThreshold(subNode, levelItem, sensors, sensorIdx)) { in ParseSensorLevelInfo()
418 StringOperation::StrToDouble(rates.at(sensorIdx), levelItem.tempRiseRate); in ParseSensorLevelInfo()
427 std::vector<std::string>& sensors, const uint32_t sensorIdx) in ParseLevelThreshold() argument
462 StrToInt(thresholds.at(sensorIdx), levelItem.threshold); in ParseLevelThreshold()
463 StrToInt(thresholdClrs.at(sensorIdx), levelItem.thresholdClr); in ParseLevelThreshold()