Home
last modified time | relevance | path

Searched refs:hal_health_loop (Results 1 – 7 of 7) sorted by relevance

/hardware/interfaces/health/aidl/default/
DChargerUtils.cpp51 void ChargerCallback::set_hal_health_loop(const std::weak_ptr<HalHealthLoop>& hal_health_loop) { in set_hal_health_loop() argument
52 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() local
105 charger_callback->set_hal_health_loop(hal_health_loop); in ChargerModeMain()
106 return hal_health_loop->StartLoop(); in ChargerModeMain()
Dmain.cpp64 auto hal_health_loop = std::make_shared<HalHealthLoop>(binder, binder); in main() local
65 return hal_health_loop->StartLoop(); in main()
DHealth.cpp386 void Health::OnInit(HalHealthLoop* hal_health_loop, struct healthd_config* config) { in OnInit() argument
398 if (hal_health_loop->RegisterEvent(binder_fd_, binder_event, EVENT_NO_WAKEUP_FD) != 0) { in OnInit()
/hardware/interfaces/health/aidl/default/include/health-impl/
DChargerUtils.h41 void set_hal_health_loop(const std::weak_ptr<HalHealthLoop>& hal_health_loop);
DHalHealthLoop.h34 virtual void OnInit(HalHealthLoop* hal_health_loop, struct healthd_config* config) = 0;
DHealth.h84 void OnInit(HalHealthLoop* hal_health_loop, struct healthd_config* config) override;
/hardware/interfaces/health/aidl/
DREADME.md266 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();