Home
last modified time | relevance | path

Searched refs:coefficient (Results 1 – 7 of 7) sorted by relevance

/hardware/google/pixel/thermal/utils/
Dpower_files.cpp289 float coefficient = power_rail_info.virtual_power_rail_info->coefficients[i]; in updatePowerRail() local
296 if ((coefficient < 0 && avg_power_number < -coefficient) || in updatePowerRail()
297 (coefficient >= 0 && avg_power_number >= coefficient)) in updatePowerRail()
301 avg_power_val += avg_power_number * coefficient; in updatePowerRail()
306 if (avg_power_number * coefficient > avg_power_val) in updatePowerRail()
307 avg_power_val = avg_power_number * coefficient; in updatePowerRail()
312 if (avg_power_number * coefficient < avg_power_val) in updatePowerRail()
313 avg_power_val = avg_power_number * coefficient; in updatePowerRail()
Dthermal_info.cpp515 float coefficient = getFloatFromValue(coefficients[i]); in ParseVirtualSensorInfo() local
516 if (std::isnan(coefficient)) { in ParseVirtualSensorInfo()
520 init_data.linear_model_init_data.coefficients.emplace_back(coefficient); in ParseVirtualSensorInfo()
1483 std::vector<float> coefficient; in ParsePowerRailInfo() local
1513 coefficient.reserve(values.size()); in ParsePowerRailInfo()
1515 coefficient.emplace_back(getFloatFromValue(values[j])); in ParsePowerRailInfo()
1517 << "]: " << coefficient[j]; in ParsePowerRailInfo()
1525 if (linked_power_rails.size() != coefficient.size()) { in ParsePowerRailInfo()
1536 if (linked_power_rails.size() != coefficient.size()) { in ParsePowerRailInfo()
1561 new VirtualPowerRailInfo{linked_power_rails, coefficient, offset, formula}); in ParsePowerRailInfo()
/hardware/google/pixel/thermal/
Dthermal-helper.cpp1263 float coefficient = NAN; in readThermalSensor() local
1264 if (!readDataByType(sensor_info.virtual_sensor_info->coefficients[i], &coefficient, in readThermalSensor()
1271 if (std::isnan(coefficient)) { in readThermalSensor()
1277 if ((coefficient < 0 && sensor_readings[i] < -coefficient) || in readThermalSensor()
1278 (coefficient >= 0 && sensor_readings[i] >= coefficient)) in readThermalSensor()
1282 temp_val += sensor_readings[i] * coefficient; in readThermalSensor()
1287 if (sensor_readings[i] * coefficient > temp_val) in readThermalSensor()
1288 temp_val = sensor_readings[i] * coefficient; in readThermalSensor()
1293 if (sensor_readings[i] * coefficient < temp_val) in readThermalSensor()
1294 temp_val = sensor_readings[i] * coefficient; in readThermalSensor()
/hardware/interfaces/media/c2/1.0/
Dtypes.hal230 * The numerator of the scale coefficient in the recurrence relation.
234 * The denominator of the scale coefficient in the recurrence relation.
/hardware/interfaces/neuralnetworks/1.0/
Dtypes.hal1291 * batch, by normalizing the input vector so the maximum coefficient is
/hardware/interfaces/neuralnetworks/1.2/
Dtypes.hal1660 * batch, by normalizing the input vector so the maximum coefficient is
/hardware/interfaces/neuralnetworks/1.3/
Dtypes.hal1697 * batch, by normalizing the input vector so the maximum coefficient is