Home
last modified time | relevance | path

Searched refs:health_loop (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/health/2.0/default/
Dhealthd_common_adapter.cpp49 static std::unique_ptr<HealthLoopAdapter> health_loop; variable
52 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()
/hardware/interfaces/health/utils/libhealth2impl/
DBinderHealth.cpp167 auto binder_event = [](auto* health_loop, uint32_t epevents) { in Init() argument
168 static_cast<BinderHealth*>(health_loop)->BinderEvent(epevents); in Init()