Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/
Dthermal-helper.cpp967 bool ThermalHelperImpl::readDataByType(std::string_view sensor_data, float *reading_value, in readDataByType() argument
972 if (!readThermalSensor(sensor_data.data(), reading_value, force_no_cache, in readDataByType()
979 *reading_value = GetPowerStatusMap().at(sensor_data.data()).last_updated_avg_power; in readDataByType()
980 if (std::isnan(*reading_value)) { in readDataByType()
984 (*sensor_log_map)[sensor_data.data()] = *reading_value; in readDataByType()
987 *reading_value = std::atof(sensor_data.data()); in readDataByType()
Dthermal-helper.h216 bool readDataByType(std::string_view sensor_data, float *reading_value,