Home
last modified time | relevance | path

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

/hardware/interfaces/health/1.0/default/
DHealth.cpp35 struct healthd_config healthd_config = {}; in init() local
42 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()
Dconvert.cpp25 void convertToHealthConfig(const struct healthd_config *hc, HealthConfig& config) { in convertToHealthConfig()
44 void convertFromHealthConfig(const HealthConfig& c, struct healthd_config *hc) { in convertFromHealthConfig()
/hardware/interfaces/health/utils/libhealthloop/
Dutils.cpp27 void InitHealthdConfig(struct healthd_config* healthd_config) { in InitHealthdConfig() argument
28 *healthd_config = { in InitHealthdConfig()
/hardware/interfaces/health/2.0/default/
DHealthImplDefault.cpp23 static struct healthd_config gHealthdConfig = {
28 void healthd_board_init(struct healthd_config*) { in healthd_board_init() argument
37 void healthd_mode_default_impl_init(struct healthd_config*) { in healthd_mode_default_impl_init() argument
Dhealthd_common_adapter.cpp44 void Init(healthd_config* config) override { healthd_mode_ops->init(config); } in Init()
DHealth.cpp39 Health::Health(struct healthd_config* c) { in Health()
290 sp<IHealth> Health::initInstance(struct healthd_config* c) { in initInstance()
/hardware/interfaces/health/1.0/default/include/
Dhal_conversion.h29 void convertToHealthConfig(const struct healthd_config *hc,
31 void convertFromHealthConfig(const HealthConfig& c, struct healthd_config *hc);
/hardware/interfaces/health/utils/libhealthloop/include/health/
DHealthLoop.h49 virtual void Init(healthd_config* config) = 0;
92 struct healthd_config healthd_config_;
/hardware/interfaces/health/1.0/default/libhealthd/
Dhealthd_board_default.cpp19 void healthd_board_init(struct healthd_config*) in healthd_board_init() argument
/hardware/interfaces/health/2.0/default/include/health2/
DHealth.h30 static sp<IHealth> initInstance(struct healthd_config* c);
36 Health(struct healthd_config* c);
/hardware/interfaces/health/utils/libhealth2impl/include/health2impl/
DHealth.h44 Health(std::unique_ptr<healthd_config>&& config);
80 std::unique_ptr<healthd_config> healthd_config_;
DHalHealthLoop.h39 virtual void Init(struct healthd_config* config) override;
DBinderHealth.h95 void Init(struct healthd_config* config) override;
/hardware/interfaces/health/2.1/default/
Dimpl.cpp46 auto config = std::make_unique<healthd_config>(); in HIDL_FETCH_IHealth()
/hardware/interfaces/health/utils/libhealth2impl/
DHalHealthLoop.cpp40 void HalHealthLoop::Init(struct healthd_config* config) { in Init()
DHealth.cpp44 using ScreenOn = decltype(healthd_config::screen_on);
65 Health::Health(std::unique_ptr<healthd_config>&& config) : healthd_config_(std::move(config)) { in Health()
DBinderHealth.cpp158 void BinderHealth::Init(struct healthd_config* config) { in Init()
/hardware/interfaces/health/2.0/utils/libhealthservice/
DHealthServiceCommon.cpp46 void healthd_mode_service_2_0_init(struct healthd_config* config) { in healthd_mode_service_2_0_init()
/hardware/interfaces/health/2.1/
DREADME.md61 passing the `healthd_config` struct to your `HealthImpl` class. See
217 HealthImpl(std::unique_ptr<healthd_config>&& config)
255 auto config = std::make_unique<healthd_config>();
/hardware/interfaces/health/2.0/
DREADME.md94 void healthd_board_init(struct healthd_config*) {}
DREADME94 void healthd_board_init(struct healthd_config*) {}