Searched refs:healthd_config (Results 1 – 21 of 21) sorted by relevance
35 struct healthd_config healthd_config = {}; in init() local42 convertFromHealthConfig(config, &healthd_config); in init()43 healthd_board_init(&healthd_config); in init()44 mGetEnergyCounter = healthd_config.energyCounter; in init()45 convertToHealthConfig(&healthd_config, configOut); in init()
25 void convertToHealthConfig(const struct healthd_config *hc, HealthConfig& config) { in convertToHealthConfig()44 void convertFromHealthConfig(const HealthConfig& c, struct healthd_config *hc) { in convertFromHealthConfig()
27 void InitHealthdConfig(struct healthd_config* healthd_config) { in InitHealthdConfig() argument28 *healthd_config = { in InitHealthdConfig()
23 static struct healthd_config gHealthdConfig = {28 void healthd_board_init(struct healthd_config*) { in healthd_board_init() argument37 void healthd_mode_default_impl_init(struct healthd_config*) { in healthd_mode_default_impl_init() argument
44 void Init(healthd_config* config) override { healthd_mode_ops->init(config); } in Init()
39 Health::Health(struct healthd_config* c) { in Health()290 sp<IHealth> Health::initInstance(struct healthd_config* c) { in initInstance()
29 void convertToHealthConfig(const struct healthd_config *hc,31 void convertFromHealthConfig(const HealthConfig& c, struct healthd_config *hc);
49 virtual void Init(healthd_config* config) = 0;92 struct healthd_config healthd_config_;
19 void healthd_board_init(struct healthd_config*) in healthd_board_init() argument
30 static sp<IHealth> initInstance(struct healthd_config* c);36 Health(struct healthd_config* c);
44 Health(std::unique_ptr<healthd_config>&& config);80 std::unique_ptr<healthd_config> healthd_config_;
39 virtual void Init(struct healthd_config* config) override;
95 void Init(struct healthd_config* config) override;
46 auto config = std::make_unique<healthd_config>(); in HIDL_FETCH_IHealth()
40 void HalHealthLoop::Init(struct healthd_config* config) { in Init()
44 using ScreenOn = decltype(healthd_config::screen_on);65 Health::Health(std::unique_ptr<healthd_config>&& config) : healthd_config_(std::move(config)) { in Health()
158 void BinderHealth::Init(struct healthd_config* config) { in Init()
46 void healthd_mode_service_2_0_init(struct healthd_config* config) { in healthd_mode_service_2_0_init()
61 passing the `healthd_config` struct to your `HealthImpl` class. See217 HealthImpl(std::unique_ptr<healthd_config>&& config)255 auto config = std::make_unique<healthd_config>();
94 void healthd_board_init(struct healthd_config*) {}