Loading health/aidl/default/Health.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -60,6 +60,8 @@ Health::Health(std::string_view instance_name, std::unique_ptr<struct healthd_co battery_monitor_.init(healthd_config_.get()); } Health::~Health() {} // // Getters. // Loading health/aidl/default/include/health-impl/Health.h +1 −0 Original line number Diff line number Diff line Loading @@ -43,6 +43,7 @@ class Health : public BnHealth, public HalHealthLoopCallback { // A subclass may modify |config| before passing it to the parent constructor. // See implementation of Health for code samples. Health(std::string_view instance_name, std::unique_ptr<struct healthd_config>&& config); virtual ~Health(); ndk::ScopedAStatus registerCallback( const std::shared_ptr<IHealthInfoCallback>& callback) override; Loading Loading
health/aidl/default/Health.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -60,6 +60,8 @@ Health::Health(std::string_view instance_name, std::unique_ptr<struct healthd_co battery_monitor_.init(healthd_config_.get()); } Health::~Health() {} // // Getters. // Loading
health/aidl/default/include/health-impl/Health.h +1 −0 Original line number Diff line number Diff line Loading @@ -43,6 +43,7 @@ class Health : public BnHealth, public HalHealthLoopCallback { // A subclass may modify |config| before passing it to the parent constructor. // See implementation of Health for code samples. Health(std::string_view instance_name, std::unique_ptr<struct healthd_config>&& config); virtual ~Health(); ndk::ScopedAStatus registerCallback( const std::shared_ptr<IHealthInfoCallback>& callback) override; Loading