Home
last modified time | relevance | path

Searched refs:linked_sensors (Results 1 – 4 of 4) sorted by relevance

/hardware/google/pixel/thermal/utils/
Dthermal_info.cpp162 std::vector<std::string> linked_sensors; in ParseVirtualSensorInfo() local
171 linked_sensors.reserve(values.size()); in ParseVirtualSensorInfo()
173 linked_sensors.emplace_back(values[j].asString()); in ParseVirtualSensorInfo()
174 LOG(INFO) << "Sensor[" << name << "]'s Combination[" << j << "]: " << linked_sensors[j]; in ParseVirtualSensorInfo()
183 linked_sensors_type.reserve(linked_sensors.size()); in ParseVirtualSensorInfo()
184 for (size_t j = 0; j < linked_sensors.size(); ++j) { in ParseVirtualSensorInfo()
187 } else if (values.size() != linked_sensors.size()) { in ParseVirtualSensorInfo()
219 if (linked_sensors.size() != coefficients.size()) { in ParseVirtualSensorInfo()
226 coefficients_type.reserve(linked_sensors.size()); in ParseVirtualSensorInfo()
227 for (size_t j = 0; j < linked_sensors.size(); ++j) { in ParseVirtualSensorInfo()
[all …]
Dthermal_info.h103 std::vector<std::string> linked_sensors; member
/hardware/google/pixel/thermal/
Dthermal-helper.cpp197 i < name_status_pair.second.virtual_sensor_info->linked_sensors.size(); i++) { in ThermalHelperImpl()
199 name_status_pair.second.virtual_sensor_info->linked_sensors[i], in ThermalHelperImpl()
202 << name_status_pair.second.virtual_sensor_info->linked_sensors[i] in ThermalHelperImpl()
906 for (size_t i = 0; i < sensor_info.virtual_sensor_info->linked_sensors.size(); i++) { in readThermalSensor()
909 if (!readDataByType(sensor_info.virtual_sensor_info->linked_sensors[i], &sensor_reading, in readThermalSensor()
913 << sensor_info.virtual_sensor_info->linked_sensors[i]; in readThermalSensor()
DThermal.cpp252 i < sensor_info_pair.second.virtual_sensor_info->linked_sensors.size(); i++) { in dumpVirtualSensorInfo()
253 *dump_buf << sensor_info_pair.second.virtual_sensor_info->linked_sensors[i] << " "; in dumpVirtualSensorInfo()