Home
last modified time | relevance | path

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

/base/powermgr/thermal_manager/test/unittest/src/
Dthermal_config_file_parser.cpp444 std::vector<std::string> rates; in ParseSensorSubnodeInfo() local
446 StringOperation::SplitString(reinterpret_cast<char*>(tempRiseRates), rates, ","); in ParseSensorSubnodeInfo()
447 if (sensors.size() > rates.size()) { in ParseSensorSubnodeInfo()
450 StringOperation::StrToDouble(rates.at(i), levelItem.tempRiseRate); in ParseSensorSubnodeInfo()
/base/powermgr/thermal_manager/services/native/src/thermal_policy/
Dthermal_srv_config_parser.cpp334 std::vector<std::string> rates; in ParseSensorLevelInfo() local
336 StringOperation::SplitString(reinterpret_cast<char*>(tempRiseRates), rates, ","); in ParseSensorLevelInfo()
337 if (sensors.size() != rates.size()) { in ParseSensorLevelInfo()
339 sensors.size(), rates.size()); in ParseSensorLevelInfo()
343 StringOperation::StrToDouble(rates.at(sensorIdx), levelItem.tempRiseRate); in ParseSensorLevelInfo()