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.cpp269 std::vector<std::string> linked_sensors; in ParseVirtualSensorInfo() local
281 linked_sensors.reserve(values.size()); in ParseVirtualSensorInfo()
283 linked_sensors.emplace_back(values[j].asString()); in ParseVirtualSensorInfo()
284 LOG(INFO) << "Sensor[" << name << "]'s Combination[" << j << "]: " << linked_sensors[j]; in ParseVirtualSensorInfo()
310 linked_sensors_type.reserve(linked_sensors.size()); in ParseVirtualSensorInfo()
311 for (size_t j = 0; j < linked_sensors.size(); ++j) { in ParseVirtualSensorInfo()
314 } else if (values.size() != linked_sensors.size()) { in ParseVirtualSensorInfo()
346 if ((linked_sensors.size() != coefficients.size()) && in ParseVirtualSensorInfo()
354 coefficients_type.reserve(linked_sensors.size()); in ParseVirtualSensorInfo()
355 for (size_t j = 0; j < linked_sensors.size(); ++j) { in ParseVirtualSensorInfo()
[all …]
Dthermal_info.h135 std::vector<std::string> linked_sensors; member
/hardware/google/pixel/thermal/
Dthermal-helper.cpp118 for (const auto &linked_sensor : sensor_info.virtual_sensor_info->linked_sensors) { in dumpTraces()
227 i < name_status_pair.second.virtual_sensor_info->linked_sensors.size(); i++) { in ThermalHelperImpl()
229 name_status_pair.second.virtual_sensor_info->linked_sensors[i], in ThermalHelperImpl()
232 << name_status_pair.second.virtual_sensor_info->linked_sensors[i] in ThermalHelperImpl()
385 const auto &linked_sensors = sensor_info.virtual_sensor_info->linked_sensors; in checkUpdateSensorForEmul() local
386 if (std::find(linked_sensors.begin(), linked_sensors.end(), target_sensor) == in checkUpdateSensorForEmul()
387 linked_sensors.end()) { in checkUpdateSensorForEmul()
1022 model_inputs.reserve(sensor_info.virtual_sensor_info->linked_sensors.size()); in runVirtualTempEstimator()
1024 for (size_t i = 0; i < sensor_info.virtual_sensor_info->linked_sensors.size(); i++) { in runVirtualTempEstimator()
1025 std::string linked_sensor = sensor_info.virtual_sensor_info->linked_sensors[i]; in runVirtualTempEstimator()
[all …]
DThermal.cpp318 i < sensor_info_pair.second.virtual_sensor_info->linked_sensors.size(); i++) { in dumpVirtualSensorInfo()
319 *dump_buf << sensor_info_pair.second.virtual_sensor_info->linked_sensors[i] << " "; in dumpVirtualSensorInfo()