Home
last modified time | relevance | path

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

/hardware/google/pixel/pixelstats/
DThermalStatsReporter.cpp76 const std::vector<std::string> &thermal_stats_paths, struct ThermalDfsCounts *pcur_data) { in captureThermalDfsStats() argument
87 if (!readDfsCount(path, &(pcur_data->big_count))) { in captureThermalDfsStats()
88 pcur_data->big_count = prev_data.big_count; in captureThermalDfsStats()
90 report_stats |= (pcur_data->big_count > prev_data.big_count); in captureThermalDfsStats()
94 if (!readDfsCount(path, &(pcur_data->mid_count))) { in captureThermalDfsStats()
95 pcur_data->mid_count = prev_data.mid_count; in captureThermalDfsStats()
97 report_stats |= (pcur_data->mid_count > prev_data.mid_count); in captureThermalDfsStats()
101 if (!readDfsCount(path, &(pcur_data->little_count))) { in captureThermalDfsStats()
102 pcur_data->little_count = prev_data.little_count; in captureThermalDfsStats()
104 report_stats |= (pcur_data->little_count > prev_data.little_count); in captureThermalDfsStats()
[all …]
DDisplayStatsReporter.cpp80 struct DisplayPanelErrorStats *pcur_data) { in captureDisplayPanelErrorStats() argument
95 if (!readDisplayErrorCount(path, &(pcur_data->primary_error_count_te))) { in captureDisplayPanelErrorStats()
96 pcur_data->primary_error_count_te = prev_panel_data_.primary_error_count_te; in captureDisplayPanelErrorStats()
99 (pcur_data->primary_error_count_te > prev_panel_data_.primary_error_count_te); in captureDisplayPanelErrorStats()
105 if (!readDisplayErrorCount(path, &(pcur_data->primary_error_count_unknown))) { in captureDisplayPanelErrorStats()
106 pcur_data->primary_error_count_unknown = prev_panel_data_.primary_error_count_unknown; in captureDisplayPanelErrorStats()
108 report_stats |= (pcur_data->primary_error_count_unknown > in captureDisplayPanelErrorStats()
116 if (!readDisplayErrorCount(path, &(pcur_data->secondary_error_count_te))) { in captureDisplayPanelErrorStats()
117 pcur_data->secondary_error_count_te = prev_panel_data_.secondary_error_count_te; in captureDisplayPanelErrorStats()
120 (pcur_data->secondary_error_count_te > prev_panel_data_.secondary_error_count_te); in captureDisplayPanelErrorStats()
[all …]