Searched refs:health_loop (Results 1 – 2 of 2) sorted by relevance
49 static std::unique_ptr<HealthLoopAdapter> health_loop; variable52 if (!health_loop) return -1; in healthd_register_event()55 return health_loop->RegisterEvent(fd, wrapped_handler, wakeup); in healthd_register_event()59 if (!health_loop) return; in healthd_battery_update_internal()60 health_loop->AdjustWakealarmPeriods(charger_online); in healthd_battery_update_internal()69 health_loop = std::make_unique<HealthLoopAdapter>(); in healthd_main()71 int ret = health_loop->StartLoop(); in healthd_main()74 health_loop.reset(); in healthd_main()
167 auto binder_event = [](auto* health_loop, uint32_t epevents) { in Init() argument168 static_cast<BinderHealth*>(health_loop)->BinderEvent(epevents); in Init()