Home
last modified time | relevance | path

Searched refs:healthd_config (Results 1 – 11 of 11) sorted by relevance

/system/core/healthd/include/healthd/
DBatteryMonitor_v1.h61 void init(struct healthd_config *hc);
76 const struct healthd_config& healthd_config);
79 struct healthd_config *mHealthdConfig;
Dhealthd.h56 struct healthd_config { struct
98 void (*init)(struct healthd_config *config); argument
108 void healthd_mode_charger_init(struct healthd_config *config);
123 void healthd_board_init(struct healthd_config *config);
DBatteryMonitor.h72 void init(struct healthd_config *hc);
93 const struct healthd_config& healthd_config);
96 struct healthd_config *mHealthdConfig;
/system/core/healthd/
Dhealthd_mode_charger_test.cpp111 void Init(struct healthd_config* config) override { ChargerHidl::Init(config); } in Init()
155 struct healthd_config healthd_config; in ExpectChargerResAt() local
156 InitHealthdConfig(&healthd_config); in ExpectChargerResAt()
157 charger->Init(&healthd_config); in ExpectChargerResAt()
Dhealthd_mode_charger_hidl.h36 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()
Dcharger_utils.cpp37 auto config = std::make_unique<healthd_config>(); in GetHealthServiceOrDefault()
DBatteryMonitor_v1.cpp411 static void doLogValues(const HealthInfo& props, const struct healthd_config& healthd_config) { in doLogValues() argument
423 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() argument
452 doLogValues(aidl_health_info, healthd_config); in logValues()
594 void BatteryMonitor::init(struct healthd_config *hc) { in init()
Dcharger_test.cpp119 void healthd_board_init(struct healthd_config* config) { in healthd_board_init()
150 auto config = std::make_unique<healthd_config>(); in main()
DBatteryMonitor.cpp499 static void doLogValues(const HealthInfo& props, const struct healthd_config& healthd_config) { in doLogValues() argument
511 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() argument
540 doLogValues(aidl_health_info, healthd_config); in logValues()
756 void BatteryMonitor::init(struct healthd_config *hc) { in init()
Dhealthd_mode_charger.cpp770 void Charger::OnInit(struct healthd_config* config) { in OnInit()
/system/core/healthd/include_charger/charger/
Dhealthd_mode_charger.h67 virtual void ChargerInitConfig(healthd_config* config) = 0;
86 void OnInit(struct healthd_config* config);