Searched refs:charger_callback (Results 1 – 2 of 2) sorted by relevance
59 LoopCallback(const std::shared_ptr<Health>& service, ChargerCallback* charger_callback) in LoopCallback() argument60 : service_(service), charger_(std::make_unique<::android::Charger>(charger_callback)) {} in LoopCallback()95 const std::shared_ptr<ChargerCallback>& charger_callback) { in ChargerModeMain() argument103 auto loop_callback = std::make_shared<LoopCallback>(binder, charger_callback.get()); in ChargerModeMain()105 charger_callback->set_hal_health_loop(hal_health_loop); in ChargerModeMain()
49 const std::shared_ptr<ChargerCallback>& charger_callback);