Searched refs:healthd_mode_ops (Results 1 – 4 of 4) sorted by relevance
30 struct healthd_mode_ops* healthd_mode_ops = nullptr; variable44 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()
53 static struct healthd_mode_ops healthd_mode_default_impl_ops = {62 healthd_mode_ops = &healthd_mode_default_impl_ops; in HIDL_FETCH_IHealth()
147 if (!healthd_mode_ops || !healthd_mode_ops->battery_update) { in update()163 healthd_mode_ops->battery_update(&props); in update()
78 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()