Lines Matching refs:temperature
140 float temperature = 0; in monitorThread() local
145 &temperature)) { in monitorThread()
148 max(temperature, overheatEvent->max_overheat_temp_); in monitorThread()
151 status.append(std::to_string(temperature)); in monitorThread()
305 for (auto temperature : thermal_temperatures) { in getCurrentTemperature() local
306 if (temperature.name == name) { in getCurrentTemperature()
307 *temp = temperature.value; in getCurrentTemperature()
346 Return<void> UsbOverheatEvent::notifyThrottling(const Temperature &temperature) { in notifyThrottling() argument
347 ALOGV("notifyThrottling '%s' T=%2.2f throttlingStatus=%d", temperature.name.c_str(), in notifyThrottling()
348 temperature.value, temperature.throttlingStatus); in notifyThrottling()
349 if (temperature.type == monitored_zone_.type_) { in notifyThrottling()
350 if (temperature.throttlingStatus >= monitored_zone_.severity_) { in notifyThrottling()