Searched refs:hal_health_loop (Results 1 – 7 of 7) sorted by relevance
51 void ChargerCallback::set_hal_health_loop(const std::weak_ptr<HalHealthLoop>& hal_health_loop) { in set_hal_health_loop() argument52 hal_health_loop_ = std::move(hal_health_loop); in set_hal_health_loop()104 auto hal_health_loop = std::make_shared<HalHealthLoop>(binder, std::move(loop_callback)); in ChargerModeMain() local105 charger_callback->set_hal_health_loop(hal_health_loop); in ChargerModeMain()106 return hal_health_loop->StartLoop(); in ChargerModeMain()
64 auto hal_health_loop = std::make_shared<HalHealthLoop>(binder, binder); in main() local65 return hal_health_loop->StartLoop(); in main()
386 void Health::OnInit(HalHealthLoop* hal_health_loop, struct healthd_config* config) { in OnInit() argument398 if (hal_health_loop->RegisterEvent(binder_fd_, binder_event, EVENT_NO_WAKEUP_FD) != 0) { in OnInit()
41 void set_hal_health_loop(const std::weak_ptr<HalHealthLoop>& hal_health_loop);
34 virtual void OnInit(HalHealthLoop* hal_health_loop, struct healthd_config* config) = 0;
84 void OnInit(HalHealthLoop* hal_health_loop, struct healthd_config* config) override;
266 auto hal_health_loop = std::make_shared<HalHealthLoop>(binder, binder);267 return hal_health_loop->StartLoop();289 auto hal_health_loop = std::make_shared<HalHealthLoop>(binder, binder);290 return hal_health_loop->StartLoop();