Home
last modified time | relevance | path

Searched refs:healthd_mode_ops (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/health/2.0/default/
Dhealthd_common_adapter.cpp30 struct healthd_mode_ops* healthd_mode_ops = nullptr; variable
44 void Init(healthd_config* config) override { healthd_mode_ops->init(config); } in Init()
45 void Heartbeat() override { healthd_mode_ops->heartbeat(); } in Heartbeat()
46 int PrepareToWait() override { return healthd_mode_ops->preparetowait(); } in PrepareToWait()
64 if (!healthd_mode_ops) { in healthd_main()
DHealthImplDefault.cpp53 static struct healthd_mode_ops healthd_mode_default_impl_ops = {
62 healthd_mode_ops = &healthd_mode_default_impl_ops; in HIDL_FETCH_IHealth()
DHealth.cpp147 if (!healthd_mode_ops || !healthd_mode_ops->battery_update) { in update()
163 healthd_mode_ops->battery_update(&props); in update()
/hardware/interfaces/health/2.0/utils/libhealthservice/
DHealthServiceCommon.cpp78 static struct healthd_mode_ops healthd_mode_service_2_0_ops = {
90 healthd_mode_ops = &healthd_mode_service_2_0_ops; in health_service_main()