Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/
Dthermal-helper.cpp109 if (!sensor_info.virtual_sensor_info) { in dumpTraces()
113 if (sensor_info.virtual_sensor_info->vt_estimator) { in dumpTraces()
114 sensor_info.virtual_sensor_info->vt_estimator->DumpTraces(); in dumpTraces()
118 for (const auto &linked_sensor : sensor_info.virtual_sensor_info->linked_sensors) { in dumpTraces()
224 if (name_status_pair.second.virtual_sensor_info != nullptr) { in ThermalHelperImpl()
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()
230 name_status_pair.second.virtual_sensor_info->linked_sensors_type[i])) { in ThermalHelperImpl()
232 << name_status_pair.second.virtual_sensor_info->linked_sensors[i] in ThermalHelperImpl()
240 if (!name_status_pair.second.virtual_sensor_info->backup_sensor.empty()) { in ThermalHelperImpl()
[all …]
DThermal.cpp314 if (sensor_info_pair.second.virtual_sensor_info != nullptr) { in dumpVirtualSensorInfo()
318 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()
323 for (size_t i = 0; i < sensor_info_pair.second.virtual_sensor_info->coefficients.size(); in dumpVirtualSensorInfo()
325 *dump_buf << sensor_info_pair.second.virtual_sensor_info->coefficients[i] << " "; in dumpVirtualSensorInfo()
328 *dump_buf << " Offset: " << sensor_info_pair.second.virtual_sensor_info->offset in dumpVirtualSensorInfo()
331 if (sensor_info_pair.second.virtual_sensor_info->trigger_sensors.empty()) { in dumpVirtualSensorInfo()
335 i < sensor_info_pair.second.virtual_sensor_info->trigger_sensors.size(); i++) { in dumpVirtualSensorInfo()
336 *dump_buf << sensor_info_pair.second.virtual_sensor_info->trigger_sensors[i] in dumpVirtualSensorInfo()
342 switch (sensor_info_pair.second.virtual_sensor_info->formula) { in dumpVirtualSensorInfo()
/hardware/google/pixel/thermal/utils/
Dthermal_info.h228 std::unique_ptr<VirtualSensorInfo> virtual_sensor_info; member
Dthermal_info.cpp258 std::unique_ptr<VirtualSensorInfo> *virtual_sensor_info) { in ParseVirtualSensorInfo() argument
537 virtual_sensor_info->reset( in ParseVirtualSensorInfo()
1341 std::unique_ptr<VirtualSensorInfo> virtual_sensor_info; in ParseSensorInfo() local
1342 if (!ParseVirtualSensorInfo(name, sensors[i], &virtual_sensor_info)) { in ParseSensorInfo()
1384 .virtual_sensor_info = std::move(virtual_sensor_info), in ParseSensorInfo()