Home
last modified time | relevance | path

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

/base/powermgr/thermal_manager/application/protector/src/
Dthermal_sensor_provision.cpp227 for (auto sensorIter : tzInfoMap) { in ReportThermalZoneData() local
228 int multiple = sensorIter.second->GetMultiple(); in ReportThermalZoneData()
235 if (sensorIter.second->GetPath().empty()) { in ReportThermalZoneData()
239 …int32_t ret = ReadThermalSysfsToBuff(sensorIter.second->GetPath().c_str(), tempBuf, sizeof(tempBuf… in ReportThermalZoneData()
244 typeTempMap_.insert(std::make_pair(sensorIter.first, temp)); in ReportThermalZoneData()
/base/powermgr/battery_statistics/services/native/src/entities/
Dsensor_entity.cpp111 auto sensorIter = sensorTotalPowerMap_.find(uid); in Calculate() local
112 if (sensorIter != sensorTotalPowerMap_.end()) { in Calculate()
115 sensorIter->second = sensorTotalPowerMah; in Calculate()