Lines Matching refs:sensor_info_pair
678 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()
704 for (const auto &sensor_info_pair : sensor_info_map_) { in initializeSensorMap() local
705 std::string_view sensor_name = sensor_info_pair.first; in initializeSensorMap()
706 if (sensor_info_pair.second.virtual_sensor_info != nullptr) { in initializeSensorMap()
715 if (sensor_info_pair.second.temp_path.empty()) { in initializeSensorMap()
719 path = sensor_info_pair.second.temp_path; in initializeSensorMap()