Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/utils/
Dthermal_stats_helper.cpp79 void resetCurrentTempStatus(CurrTempStatus *curr_temp_status, float new_temp) { in resetCurrentTempStatus() argument
80 curr_temp_status->temp = new_temp; in resetCurrentTempStatus()
81 curr_temp_status->start_time = boot_clock::now(); in resetCurrentTempStatus()
82 curr_temp_status->repeat_count = 1; in resetCurrentTempStatus()
367 auto &curr_temp_status = sensor_stats.curr_temp_status_map_[sensor.data()]; in verifySensorAbnormality() local
368 LOG(VERBOSE) << "Current Temp Status: temp=" << curr_temp_status.temp in verifySensorAbnormality()
369 << " repeat_count=" << curr_temp_status.repeat_count in verifySensorAbnormality()
370 << " start_time=" << curr_temp_status.start_time.time_since_epoch().count(); in verifySensorAbnormality()
371 if (std::fabs(curr_temp_status.temp - temp) <= kPrecisionThreshold) { in verifySensorAbnormality()
372 curr_temp_status.repeat_count++; in verifySensorAbnormality()
[all …]