Searched refs:healthd_config (Results 1 – 11 of 11) sorted by relevance
61 void init(struct healthd_config *hc);76 const struct healthd_config& healthd_config);79 struct healthd_config *mHealthdConfig;
56 struct healthd_config { struct98 void (*init)(struct healthd_config *config); argument108 void healthd_mode_charger_init(struct healthd_config *config);123 void healthd_board_init(struct healthd_config *config);
72 void init(struct healthd_config *hc);93 const struct healthd_config& healthd_config);96 struct healthd_config *mHealthdConfig;
111 void Init(struct healthd_config* config) override { ChargerHidl::Init(config); } in Init()155 struct healthd_config healthd_config; in ExpectChargerResAt() local156 InitHealthdConfig(&healthd_config); in ExpectChargerResAt()157 charger->Init(&healthd_config); in ExpectChargerResAt()
36 void ChargerInitConfig(healthd_config* config) override { return HalHealthLoop::Init(config); } in ChargerInitConfig()44 void Init(struct healthd_config* config) override { charger_->OnInit(config); } in Init()
37 auto config = std::make_unique<healthd_config>(); in GetHealthServiceOrDefault()
411 static void doLogValues(const HealthInfo& props, const struct healthd_config& healthd_config) { in doLogValues() argument423 if (!healthd_config.batteryCurrentNowPath.empty()) { in doLogValues()428 if (!healthd_config.batteryFullChargePath.empty()) { in doLogValues()433 if (!healthd_config.batteryCycleCountPath.empty()) { in doLogValues()449 const struct healthd_config& healthd_config) { in logValues() argument452 doLogValues(aidl_health_info, healthd_config); in logValues()594 void BatteryMonitor::init(struct healthd_config *hc) { in init()
119 void healthd_board_init(struct healthd_config* config) { in healthd_board_init()150 auto config = std::make_unique<healthd_config>(); in main()
499 static void doLogValues(const HealthInfo& props, const struct healthd_config& healthd_config) { in doLogValues() argument511 if (!healthd_config.batteryCurrentNowPath.empty()) { in doLogValues()516 if (!healthd_config.batteryFullChargePath.empty()) { in doLogValues()521 if (!healthd_config.batteryCycleCountPath.empty()) { in doLogValues()537 const struct healthd_config& healthd_config) { in logValues() argument540 doLogValues(aidl_health_info, healthd_config); in logValues()756 void BatteryMonitor::init(struct healthd_config *hc) { in init()
770 void Charger::OnInit(struct healthd_config* config) { in OnInit()
67 virtual void ChargerInitConfig(healthd_config* config) = 0;86 void OnInit(struct healthd_config* config);