Home
last modified time | relevance | path

Searched refs:cdev_callbacks_ (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/thermal/aidl/default/
DThermal.cpp155 if (std::any_of(cdev_callbacks_.begin(), cdev_callbacks_.end(), in registerCoolingDeviceChangedCallbackWithType()
162 cdev_callbacks_.push_back(in_callback); in registerCoolingDeviceChangedCallbackWithType()
177 cdev_callbacks_.erase( in unregisterCoolingDeviceChangedCallback()
178 std::remove_if(cdev_callbacks_.begin(), cdev_callbacks_.end(), in unregisterCoolingDeviceChangedCallback()
186 cdev_callbacks_.end()); in unregisterCoolingDeviceChangedCallback()
DThermal.h68 std::vector<std::shared_ptr<ICoolingDeviceChangedCallback>> cdev_callbacks_; variable
/hardware/google/pixel/thermal/
DThermal.cpp258 if (std::any_of(cdev_callbacks_.begin(), cdev_callbacks_.end(), in registerCoolingDeviceChangedCallbackWithType()
265 cdev_callbacks_.emplace_back(callback, true, type); in registerCoolingDeviceChangedCallbackWithType()
284 cdev_callbacks_.erase( in unregisterCoolingDeviceChangedCallback()
286 cdev_callbacks_.begin(), cdev_callbacks_.end(), in unregisterCoolingDeviceChangedCallback()
297 cdev_callbacks_.end()); in unregisterCoolingDeviceChangedCallback()
DThermal.h115 std::vector<CoolingDeviceCallbackSetting> cdev_callbacks_; variable