Searched refs:sensor_info (Results 1 – 8 of 8) sorted by relevance
/hardware/libhardware/modules/sensors/dynamic_sensor/ |
D | DynamicSensorsSubHal.cpp | 114 const sensor_t& sensor_info = mDynamicSensorManager->getDynamicMetaSensor(); in getSensorsList_2_1() local 121 sensors[0].sensorHandle = sensor_info.handle; in getSensorsList_2_1() 122 sensors[0].name = sensor_info.name; in getSensorsList_2_1() 123 sensors[0].vendor = sensor_info.vendor; in getSensorsList_2_1() 124 sensors[0].version = sensor_info.version; in getSensorsList_2_1() 125 sensors[0].type = static_cast<SensorType>(sensor_info.type); in getSensorsList_2_1() 126 sensors[0].typeAsString = sensor_info.stringType; in getSensorsList_2_1() 127 sensors[0].maxRange = sensor_info.maxRange; in getSensorsList_2_1() 128 sensors[0].resolution = sensor_info.resolution; in getSensorsList_2_1() 129 sensors[0].power = sensor_info.power; in getSensorsList_2_1() [all …]
|
D | DynamicSensorsSubHal.h | 79 void onSensorConnected(int handle, const sensor_t* sensor_info);
|
/hardware/google/pixel/thermal/ |
D | thermal-helper.cpp | 108 const auto &sensor_info = sensor_info_map_.at(sensor_name.data()); in dumpTraces() local 109 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() 380 for (auto &[sensor_name, sensor_info] : sensor_info_map_) { in checkUpdateSensorForEmul() 381 if (sensor_info.virtual_sensor_info == nullptr || !sensor_info.is_watch) { in checkUpdateSensorForEmul() 385 const auto &linked_sensors = sensor_info.virtual_sensor_info->linked_sensors; in checkUpdateSensorForEmul() 436 const auto &sensor_info = sensor_info_map_.at(target_sensor.data()); in emulSeverity() local 444 const auto temp = sensor_info.hot_thresholds[severity] / sensor_info.multiplier; in emulSeverity() [all …]
|
D | thermal-helper.h | 202 void setMinTimeout(SensorInfo *sensor_info);
|
/hardware/google/pixel/thermal/utils/ |
D | thermal_throttling.cpp | 44 size_t getTargetStateOfPID(const SensorInfo &sensor_info, const ThrottlingSeverity curr_severity) { in getTargetStateOfPID() argument 49 if (std::isnan(sensor_info.throttling_info->s_power[state])) { in getTargetStateOfPID() 62 const SensorInfo &sensor_info) { in parseProfileProperty() argument 63 if (sensor_info.throttling_info == nullptr) { in parseProfileProperty() 70 if (profile.empty() || sensor_info.throttling_info->profile_map.count(profile)) { in parseProfileProperty() 187 const Temperature &temp, const SensorInfo &sensor_info, in updatePowerBudget() argument 202 const auto target_state = getTargetStateOfPID(sensor_info, curr_severity); in updatePowerBudget() 205 sensor_info.throttling_info->tran_cycle > 0) { in updatePowerBudget() 206 throttling_status.tran_cycle = sensor_info.throttling_info->tran_cycle - 1; in updatePowerBudget() 212 float target = sensor_info.hot_thresholds[target_state]; in updatePowerBudget() [all …]
|
D | thermal_throttling.h | 55 size_t getTargetStateOfPID(const SensorInfo &sensor_info, const ThrottlingSeverity curr_severity); 80 const Temperature &temp, const SensorInfo &sensor_info, 88 void computeCoolingDevicesRequest(std::string_view sensor_name, const SensorInfo &sensor_info, 97 void parseProfileProperty(std::string_view sensor_name, const SensorInfo &sensor_info); 100 const Temperature &temp, const SensorInfo &sensor_info, 107 float computeExcludedPower(const SensorInfo &sensor_info, 114 const Temperature &temp, const SensorInfo &sensor_info, 124 void updateCdevRequestBySeverity(std::string_view sensor_name, const SensorInfo &sensor_info, 132 const ThrottlingSeverity severity, const SensorInfo &sensor_info);
|
D | thermal_stats_helper.cpp | 131 for (const auto &[sensor, sensor_info] : sensor_info_map_) { in initializeSensorCdevRequestStats() 133 sensor_info.throttling_info->binded_cdev_info_map) { in initializeSensorCdevRequestStats() 193 for (const auto &[sensor, sensor_info] : sensor_info_map_) { in initializeSensorTempStats() 195 if (sensor_info.is_watch && in initializeSensorTempStats() 247 for (const auto &sensor_info : sensor_info_map_) { in initializeSensorAbnormalityStats() local 248 const auto &sensor = sensor_info.first; in initializeSensorAbnormalityStats()
|
/hardware/google/gfxstream/guest/mesa/include/drm-uapi/ |
D | amdgpu_drm.h | 957 } sensor_info; member
|