Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/
Dinit.thermal.logging.sh20 cur_state=`cat $f/cur_state`
21 logline+="|$cur_state"
/hardware/google/pixel/thermal/utils/
Dthermal_stats_helper.cpp270 << " for cur_state: " << stats_record->cur_state << " with value: " in updateStatsRecord()
271 << stats_record->time_in_state_ms[stats_record->cur_state].count(); in updateStatsRecord()
273 stats_record->time_in_state_ms[stats_record->cur_state] += cur_state_duration; in updateStatsRecord()
275 stats_record->cur_state = new_state; in updateStatsRecord()
288 if (value != stats_by_threshold.stats_record.cur_state) { in updateSensorCdevRequestStats()
297 if (new_value != stats_record.cur_state) { in updateSensorCdevRequestStats()
317 if (value != stats_by_threshold.stats_record.cur_state) { in updateSensorTempStatsByThreshold()
341 if (value != stats_record.cur_state) { in updateSensorTempStatsBySeverity()
560 updateStatsRecord(stats_record, stats_record->cur_state); in processStatsRecordForReporting()
626 stats_record_before_failure.cur_state); in restoreStatsRecordOnFailure()
[all …]
Dthermal_stats_helper.h57 int cur_state; /* temperature / cdev state at current time */ member
63 : cur_state(state), in cur_state() function
/hardware/ti/am57x/libhwcomposer/
Dhwc.cpp286 bool cur_state = connector->connected(); in find_hdmi_connector_status() local
288 if (cur_state != old_state) in find_hdmi_connector_status()
290 cur_state == DRM_MODE_CONNECTED ? "Plug" : "Unplug", in find_hdmi_connector_status()
293 return cur_state == DRM_MODE_CONNECTED; in find_hdmi_connector_status()