Home
last modified time | relevance | path

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

/hardware/interfaces/health/aidl/default/
DChargerUtils.cpp59 LoopCallback(const std::shared_ptr<Health>& service, ChargerCallback* charger_callback) in LoopCallback() argument
60 : service_(service), charger_(std::make_unique<::android::Charger>(charger_callback)) {} in LoopCallback()
95 const std::shared_ptr<ChargerCallback>& charger_callback) { in ChargerModeMain() argument
103 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()
/hardware/interfaces/health/aidl/default/include/health-impl/
DChargerUtils.h49 const std::shared_ptr<ChargerCallback>& charger_callback);