Searched refs:fields_size (Results 1 – 3 of 3) sorted by relevance
/hardware/google/pixel/pixelstats/ |
D | BatteryTTFReporter.cpp | 85 const int32_t fields_size = std::size(ttf_stats_stats_fields); in reportBatteryTTFStatsEvent() local 87 int32_t size, range, type, i = 0, soc[fields_size - soc_start] = { 0 }; in reportBatteryTTFStatsEvent() 88 std::vector<VendorAtomValue> values(fields_size); in reportBatteryTTFStatsEvent() 96 if (size != fields_size) in reportBatteryTTFStatsEvent() 111 for (i = soc_start; i < fields_size; i++) { in reportBatteryTTFStatsEvent()
|
D | BatteryHealthReporter.cpp | 89 int32_t i = 0, fields_size = 0, tmp[vtier_fields_size] = {0}; in reportBatteryHealthStatusEvent() local 94 fields_size = sscanf(line, "%d: %d, %d,%d,%d %d,%d,%d %d,%d, %d", &tmp[0], &tmp[1], &tmp[2], in reportBatteryHealthStatusEvent() 96 if (fields_size < (vtier_fields_size - 1) || fields_size > vtier_fields_size) { in reportBatteryHealthStatusEvent() 103 for (i = 0; i < fields_size; i++) { in reportBatteryHealthStatusEvent()
|
D | ChargeStatsReporter.cpp | 81 int32_t i = 0, tmp[chg_fields_size] = {0}, fields_size = (chg_fields_size - wlc_fields_size); in ReportChargeStats() local 118 fields_size = chg_fields_size; /* include wlc stats */ in ReportChargeStats() 128 fields_size = chg_fields_size; /* include pca stats */ in ReportChargeStats() 158 for (i = 0; i < fields_size; i++) { in ReportChargeStats() 203 fields_size = (vtier_fields_size - wlc_fields_size); in ReportVoltageTierStats() local 219 fields_size = vtier_fields_size; /* include wlc stats */ in ReportVoltageTierStats() 227 for (i = 2; i < fields_size; i++) { in ReportVoltageTierStats()
|