Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/
DThermal.cpp313 for (const auto &sensor_info_pair : map) { in dumpVirtualSensorInfo() local
314 if (sensor_info_pair.second.virtual_sensor_info != nullptr) { in dumpVirtualSensorInfo()
315 *dump_buf << " Name: " << sensor_info_pair.first << std::endl; 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()
[all …]
Dthermal-helper.cpp678 for (auto &sensor_info_pair : sensor_info_map_) { in clearAllThrottling() local
679 sensor_info_pair.second.is_watch = false; in clearAllThrottling()
680 sensor_info_pair.second.throttling_info.reset(); in clearAllThrottling()
681 sensor_info_pair.second.hot_thresholds.fill(NAN); in clearAllThrottling()
682 sensor_info_pair.second.cold_thresholds.fill(NAN); in clearAllThrottling()
684 .type = sensor_info_pair.second.type, in clearAllThrottling()
685 .name = sensor_info_pair.first, in clearAllThrottling()
690 if (sensor_info_pair.second.send_cb && cb_) { in clearAllThrottling()
694 if (sensor_info_pair.second.send_powerhint) { in clearAllThrottling()
696 power_hal_service_.setMode(sensor_info_pair.first, severity, false); in clearAllThrottling()
[all …]