Home
last modified time | relevance | path

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

/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/utils/libhealthloop/include/health/
Dutils.h24 void InitHealthdConfig(struct healthd_config* healthd_config);
DHealthLoop.h56 virtual void Init(healthd_config* config) = 0;
99 struct healthd_config healthd_config_;
/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/aidl/default/include/health-impl/
DHealth.h46 Health(std::string_view instance_name, std::unique_ptr<struct healthd_config>&& config);
84 void OnInit(HalHealthLoop* hal_health_loop, struct healthd_config* config) override;
111 std::unique_ptr<struct healthd_config> healthd_config_;
DHalHealthLoop.h34 virtual void OnInit(HalHealthLoop* hal_health_loop, struct healthd_config* config) = 0;
56 virtual void Init(struct healthd_config* config) override;
DChargerUtils.h35 void ChargerInitConfig(healthd_config* config) override;
/hardware/interfaces/health/aidl/default/
DChargerUtils.cpp35 void ChargerCallback::ChargerInitConfig(healthd_config* config) { in ChargerInitConfig()
76 void OnInit(HalHealthLoop*, struct healthd_config* config) override { in OnInit()
Dfuzzer.cpp29 auto config = std::make_unique<healthd_config>(); in LLVMFuzzerTestOneInput()
DHalHealthLoop.cpp29 void HalHealthLoop::Init(struct healthd_config* config) { in Init()
Dmain.cpp47 auto config = std::make_unique<healthd_config>(); in main()
DHealth.cpp61 Health::Health(std::string_view instance_name, std::unique_ptr<struct healthd_config>&& config) in Health()
386 void Health::OnInit(HalHealthLoop* hal_health_loop, struct healthd_config* config) { in OnInit()
/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.cpp157 void BinderHealth::Init(struct healthd_config* config) { in Init()
/hardware/interfaces/health/1.0/default/
Dconvert.cpp25 void convertToHealthConfig(const struct healthd_config *hc, HealthConfig& config) { in convertToHealthConfig()
43 void convertFromHealthConfig(const HealthConfig& c, struct healthd_config *hc) { in convertFromHealthConfig()
/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/aidl/
DREADME.md120 * The logic to modify `healthd_config`, traditionally in `healthd_board_init()`
121 should be called before passing the `healthd_config` struct to your
146 If you need to modify `healthd_config`, do it before passing it to the
152 auto config = std::make_unique<healthd_config>();