Lines Matching refs:hc

25 void convertToHealthConfig(const struct healthd_config *hc, HealthConfig& config) {  in convertToHealthConfig()  argument
26 config.periodicChoresIntervalFast = hc->periodic_chores_interval_fast; in convertToHealthConfig()
27 config.periodicChoresIntervalSlow = hc->periodic_chores_interval_slow; in convertToHealthConfig()
29 config.batteryStatusPath = hc->batteryStatusPath.string(); in convertToHealthConfig()
30 config.batteryHealthPath = hc->batteryHealthPath.string(); in convertToHealthConfig()
31 config.batteryPresentPath = hc->batteryPresentPath.string(); in convertToHealthConfig()
32 config.batteryCapacityPath = hc->batteryCapacityPath.string(); in convertToHealthConfig()
33 config.batteryVoltagePath = hc->batteryVoltagePath.string(); in convertToHealthConfig()
34 config.batteryTemperaturePath = hc->batteryTemperaturePath.string(); in convertToHealthConfig()
35 config.batteryTechnologyPath = hc->batteryTechnologyPath.string(); in convertToHealthConfig()
36 config.batteryCurrentNowPath = hc->batteryCurrentNowPath.string(); in convertToHealthConfig()
37 config.batteryCurrentAvgPath = hc->batteryCurrentAvgPath.string(); in convertToHealthConfig()
38 config.batteryChargeCounterPath = hc->batteryChargeCounterPath.string(); in convertToHealthConfig()
39 config.batteryFullChargePath = hc->batteryFullChargePath.string(); in convertToHealthConfig()
40 config.batteryCycleCountPath = hc->batteryCycleCountPath.string(); in convertToHealthConfig()
44 void convertFromHealthConfig(const HealthConfig& c, struct healthd_config *hc) { in convertFromHealthConfig() argument
45 hc->periodic_chores_interval_fast = c.periodicChoresIntervalFast; in convertFromHealthConfig()
46 hc->periodic_chores_interval_slow = c.periodicChoresIntervalSlow; in convertFromHealthConfig()
48 hc->batteryStatusPath = in convertFromHealthConfig()
52 hc->batteryHealthPath = in convertFromHealthConfig()
56 hc->batteryPresentPath = in convertFromHealthConfig()
60 hc->batteryCapacityPath = in convertFromHealthConfig()
64 hc->batteryVoltagePath = in convertFromHealthConfig()
68 hc->batteryTemperaturePath = in convertFromHealthConfig()
72 hc->batteryTechnologyPath = in convertFromHealthConfig()
76 hc->batteryCurrentNowPath = in convertFromHealthConfig()
80 hc->batteryCurrentAvgPath = in convertFromHealthConfig()
84 hc->batteryChargeCounterPath = in convertFromHealthConfig()
88 hc->batteryFullChargePath = in convertFromHealthConfig()
92 hc->batteryCycleCountPath = in convertFromHealthConfig()