Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/utils/
Dpowerhal_helper.cpp45 : power_hal_aidl_exist_(true), power_hal_aidl_(nullptr), power_hal_ext_aidl_(nullptr) { in PowerHalService()
56 if (power_hal_aidl_ && power_hal_ext_aidl_) { in connect()
86 power_hal_ext_aidl_ = IPowerExt::fromBinder(ext_power_binder); in connect()
87 if (power_hal_ext_aidl_ == nullptr) { in connect()
97 auto linked = AIBinder_linkToDeath(power_hal_ext_aidl_->asBinder().get(), in connect()
147 if (power_hal_ext_aidl_ != nullptr) { in updateSupportedPowerHints()
196 if (!power_hal_ext_aidl_->isModeSupported(power_hint, &isSupported).isOk()) { in isModeSupported()
198 power_hal_ext_aidl_ = nullptr; in isModeSupported()
215 if (!power_hal_ext_aidl_->setMode(power_hint, enable).isOk()) { in setMode()
217 power_hal_ext_aidl_ = nullptr; in setMode()
Dpowerhal_helper.h58 bool isPowerHalExtConnected() { return power_hal_ext_aidl_ != nullptr; } in isPowerHalExtConnected()
73 e->power_hal_ext_aidl_ = nullptr; in onPowerHalExtAidlBinderDied()
81 std::shared_ptr<IPowerExt> power_hal_ext_aidl_; variable