/hardware/interfaces/health/utils/libhealth2impl/ |
D | BinderHealth.cpp | 63 wrapped = callbacks_.emplace_back(Wrap(callback)).get(); in registerCallback() 83 auto it = std::find_if(callbacks_.begin(), callbacks_.end(), in registerCallback() 85 if (it != callbacks_.end()) { in registerCallback() 86 callbacks_.erase(it); in registerCallback() 102 for (auto it = callbacks_.begin(); it != callbacks_.end();) { in unregisterCallbackInternal() 104 it = callbacks_.erase(it); in unregisterCallbackInternal() 134 for (auto it = callbacks_.begin(); it != callbacks_.end();) { in OnHealthInfoChanged() 137 it = callbacks_.erase(it); in OnHealthInfoChanged()
|
/hardware/interfaces/health/2.0/default/ |
D | Health.cpp | 54 callbacks_.push_back(callback); in registerCallback() 73 for (auto it = callbacks_.begin(); it != callbacks_.end();) { in unregisterCallbackInternal() 75 it = callbacks_.erase(it); in unregisterCallbackInternal() 174 std::vector<sp<IHealthInfoCallback>> storedCallbacks{std::move(callbacks_)}; in updateAndNotify() 175 callbacks_.clear(); in updateAndNotify() 177 callbacks_.push_back(callback); in updateAndNotify() 180 callbacks_ = std::move(storedCallbacks); in updateAndNotify() 204 for (auto it = callbacks_.begin(); it != callbacks_.end();) { in notifyListeners() 207 it = callbacks_.erase(it); in notifyListeners()
|
/hardware/google/pixel/thermal/ |
D | Thermal.cpp | 185 if (std::any_of(callbacks_.begin(), callbacks_.end(), [&](const CallbackSetting &c) { in registerThermalChangedCallback() 192 callbacks_.emplace_back(callback, filterType, type); in registerThermalChangedCallback() 214 callbacks_.erase( in unregisterThermalChangedCallback() 215 std::remove_if(callbacks_.begin(), callbacks_.end(), in unregisterThermalChangedCallback() 227 callbacks_.end()); in unregisterThermalChangedCallback() 244 callbacks_.erase( in sendThermalChangedCallback() 245 std::remove_if(callbacks_.begin(), callbacks_.end(), in sendThermalChangedCallback() 255 callbacks_.end()); in sendThermalChangedCallback() 348 dump_buf << "Callbacks: Total " << callbacks_.size() << std::endl; in debug() 349 for (const auto &c : callbacks_) { in debug()
|
D | Thermal.h | 86 std::vector<CallbackSetting> callbacks_; variable
|
/hardware/interfaces/thermal/2.0/default/ |
D | Thermal.cpp | 169 if (std::any_of(callbacks_.begin(), callbacks_.end(), [&](const CallbackSetting& c) { in registerThermalChangedCallback() 176 callbacks_.emplace_back(callback, filterType, type); in registerThermalChangedCallback() 198 callbacks_.erase( in unregisterThermalChangedCallback() 199 std::remove_if(callbacks_.begin(), callbacks_.end(), in unregisterThermalChangedCallback() 211 callbacks_.end()); in unregisterThermalChangedCallback()
|
D | Thermal.h | 79 std::vector<CallbackSetting> callbacks_; variable
|
/hardware/qcom/display/msm8996/sdm/libs/hwc2/ |
D | hwc_session.cpp | 112 status = HWCDisplayExternal::Create(core_intf_, buffer_allocator_, &callbacks_, qservice_, in Init() 116 status = HWCDisplayPrimary::Create(core_intf_, buffer_allocator_, &callbacks_, qservice_, in Init() 424 auto error = hwc_session->callbacks_.Register(desc, callback_data, pointer); in RegisterCallback() 427 hwc_session->callbacks_.Hotplug(HWC_DISPLAY_PRIMARY, HWC2::Connection::Connected); in RegisterCallback() 585 hwc_session->callbacks_.Refresh(display); in ValidateDisplay() 705 auto status = HWCDisplayVirtual::Create(core_intf_, buffer_allocator_, &callbacks_, width, in CreateVirtualDisplayObject() 724 status = HWCDisplayExternal::Create(core_intf_, buffer_allocator_, &callbacks_, primary_width, in ConnectDisplay() 768 callbacks_.Refresh(HWC_DISPLAY_PRIMARY); in notifyCallback() 957 callbacks_.Refresh(HWC_DISPLAY_PRIMARY); in ControlPartialUpdate() 980 callbacks_.Refresh(0); in HandleSetActiveDisplayConfig() [all …]
|
D | hwc_display_primary.cpp | 254 callbacks_->Refresh(HWC_DISPLAY_PRIMARY); in SetColorMode() 273 callbacks_->Refresh(HWC_DISPLAY_PRIMARY); in SetColorTransform() 377 callbacks_->Refresh(HWC_DISPLAY_PRIMARY); in ForceRefreshRate() 397 callbacks_->Refresh(HWC_DISPLAY_PRIMARY); in Refresh()
|
D | hwc_session.h | 180 HWCCallbacks callbacks_; variable
|
/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
D | hwc_session.cpp | 114 status = HWCDisplayExternal::Create(core_intf_, buffer_allocator_, &callbacks_, qservice_, in Init() 118 status = HWCDisplayPrimary::Create(core_intf_, buffer_allocator_, &callbacks_, qservice_, in Init() 439 auto error = hwc_session->callbacks_.Register(desc, callback_data, pointer); in RegisterCallback() 442 hwc_session->callbacks_.Hotplug(HWC_DISPLAY_PRIMARY, HWC2::Connection::Connected); in RegisterCallback() 604 hwc_session->callbacks_.Refresh(display); in ValidateDisplay() 723 auto status = HWCDisplayVirtual::Create(core_intf_, buffer_allocator_, &callbacks_, width, in CreateVirtualDisplayObject() 742 status = HWCDisplayExternal::Create(core_intf_, buffer_allocator_, &callbacks_, primary_width, in ConnectDisplay() 786 callbacks_.Refresh(HWC_DISPLAY_PRIMARY); in notifyCallback() 979 callbacks_.Refresh(HWC_DISPLAY_PRIMARY); in ControlPartialUpdate() 1002 callbacks_.Refresh(0); in HandleSetActiveDisplayConfig() [all …]
|
D | hwc_display_primary.cpp | 254 callbacks_->Refresh(HWC_DISPLAY_PRIMARY); in SetColorMode() 266 callbacks_->Refresh(HWC_DISPLAY_PRIMARY); in SetColorModeById() 285 callbacks_->Refresh(HWC_DISPLAY_PRIMARY); in SetColorTransform() 389 callbacks_->Refresh(HWC_DISPLAY_PRIMARY); in ForceRefreshRate() 409 callbacks_->Refresh(HWC_DISPLAY_PRIMARY); in Refresh()
|
D | hwc_session.h | 181 HWCCallbacks callbacks_; variable
|
D | hwc_display.cpp | 340 callbacks_(callbacks), in HWCDisplay() 644 if (shutdown_pending_ || !callbacks_->VsyncCallbackRegistered()) { in BuildLayerStack() 911 callbacks_->Vsync(id_, vsync.timestamp); in BuildLayerStack() 1586 callbacks_->Refresh(HWC_DISPLAY_PRIMARY); in BuildLayerStack() 1682 callbacks_->Refresh(HWC_DISPLAY_PRIMARY); in BuildLayerStack()
|
/hardware/qcom/sm8150/display/sdm/libs/hwc2/ |
D | hwc_display_builtin.cpp | 233 bool vsync_source = (callbacks_->GetVsyncSource() == id_); in CanSkipCommit() 328 callbacks_->Refresh(id_); in SetColorModeWithRenderIntent() 340 callbacks_->Refresh(id_); in SetColorModeById() 372 callbacks_->Refresh(id_); in RestoreColorTransform() 390 callbacks_->Refresh(id_); in SetColorTransform() 500 callbacks_->Refresh(id_); in SetDisplayDppsAdROI() 632 callbacks_->Refresh(id_); in ForceRefreshRate() 650 callbacks_->Refresh(id_); in Refresh() 932 callbacks_->Refresh(id_); in SetDynamicDSIClock()
|
D | hwc_session.cpp | 802 if (hwc_session->callbacks_.NeedsRefresh(display)) { in PresentDisplay() 804 hwc_session->callbacks_.ResetRefresh(display); in PresentDisplay() 846 auto error = hwc_session->callbacks_.Register(desc, callback_data, pointer); in RegisterCallback() 855 hwc_session->callbacks_.Hotplug(HWC_DISPLAY_PRIMARY, HWC2::Connection::Connected); in RegisterCallback() 1106 hwc_session->callbacks_.UpdateVsyncSource(display); in SetVsyncEnabled() 1434 status = HWCDisplayVirtual::Create(core_intf_, &buffer_allocator_, &callbacks_, client_id, in CreateVirtualDisplayObj() 2576 HWC2::Error err = callbacks_.Refresh(display); in Refresh() 2579 err = callbacks_.Refresh(display); in Refresh() 2585 HWC2::Error err = callbacks_.Hotplug(display, state); in HotPlug() 2588 err = callbacks_.Hotplug(display, state); in HotPlug() [all …]
|
D | hwc_display_pluggable.cpp | 325 callbacks_->Refresh(id_); in SetColorModeWithRenderIntent()
|
/hardware/qcom/display/msm8909/sdm/libs/hwc2/ |
D | hwc_display_primary.cpp | 269 callbacks_->Refresh(HWC_DISPLAY_PRIMARY); in SetColorMode() 282 callbacks_->Refresh(HWC_DISPLAY_PRIMARY); in RestoreColorTransform() 300 callbacks_->Refresh(HWC_DISPLAY_PRIMARY); in SetColorTransform() 409 callbacks_->Refresh(HWC_DISPLAY_PRIMARY); in ForceRefreshRate() 429 callbacks_->Refresh(HWC_DISPLAY_PRIMARY); in Refresh()
|
D | hwc_session.cpp | 200 status = HWCDisplayPrimary::Create(core_intf_, &buffer_allocator_, &callbacks_, qservice_, in Init() 562 error = hwc_session->callbacks_.Register(desc, callback_data, pointer); in RegisterCallback() 568 hwc_session->callbacks_.Hotplug(HWC_DISPLAY_PRIMARY, HWC2::Connection::Connected); in RegisterCallback() 874 auto status = HWCDisplayVirtual::Create(core_intf_, &buffer_allocator_, &callbacks_, width, in CreateVirtualDisplayObject() 1589 callbacks_.Refresh(display); in Refresh() 1594 HWC2::Error err = callbacks_.Hotplug(display, state); in HotPlug() 1597 err = callbacks_.Hotplug(display, state); in HotPlug() 1609 return HWCDisplayExternalTest::Create(core_intf_, &buffer_allocator_, &callbacks_, in CreateExternalDisplay() 1614 return HWCDisplayExternal::Create(core_intf_, &buffer_allocator_, &callbacks_, in CreateExternalDisplay() 1618 return HWCDisplayExternal::Create(core_intf_, &buffer_allocator_, &callbacks_, in CreateExternalDisplay()
|
/hardware/qcom/sdm845/display/sdm/libs/hwc2/ |
D | hwc_display_primary.cpp | 382 callbacks_->Refresh(HWC_DISPLAY_PRIMARY); in SetWhiteCompensation() 393 callbacks_->Refresh(HWC_DISPLAY_PRIMARY); in SetColorModeWithRenderIntent() 409 callbacks_->Refresh(HWC_DISPLAY_PRIMARY); in SetColorModeById() 422 callbacks_->Refresh(HWC_DISPLAY_PRIMARY); in RestoreColorTransform() 440 callbacks_->Refresh(HWC_DISPLAY_PRIMARY); in SetColorTransform() 642 callbacks_->Refresh(HWC_DISPLAY_PRIMARY); in ForceRefreshRate() 660 callbacks_->Refresh(HWC_DISPLAY_PRIMARY); in Refresh()
|
D | hwc_session.cpp | 193 status = HWCDisplayPrimary::Create(core_intf_, &buffer_allocator_, &callbacks_, qservice_, in Init() 705 auto error = hwc_session->callbacks_.Register(desc, callback_data, pointer); in RegisterCallback() 709 hwc_session->callbacks_.Hotplug(HWC_DISPLAY_PRIMARY, HWC2::Connection::Connected); in RegisterCallback() 1181 auto status = HWCDisplayVirtual::Create(core_intf_, &buffer_allocator_, &callbacks_, width, in CreateVirtualDisplayObject() 2213 HWC2::Error err = callbacks_.Refresh(display); in Refresh() 2216 err = callbacks_.Refresh(display); in Refresh() 2222 HWC2::Error err = callbacks_.Hotplug(display, state); in HotPlug() 2225 err = callbacks_.Hotplug(display, state); in HotPlug() 2242 return HWCDisplayExternalTest::Create(core_intf_, &buffer_allocator_, &callbacks_, in CreateExternalDisplay() 2247 return HWCDisplayExternal::Create(core_intf_, &buffer_allocator_, &callbacks_, in CreateExternalDisplay()
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/ |
D | hwc_display_primary.cpp | 261 callbacks_->Refresh(HWC_DISPLAY_PRIMARY); in SetColorMode() 280 callbacks_->Refresh(HWC_DISPLAY_PRIMARY); in SetColorTransform() 386 callbacks_->Refresh(HWC_DISPLAY_PRIMARY); in ForceRefreshRate() 406 callbacks_->Refresh(HWC_DISPLAY_PRIMARY); in Refresh()
|
D | hwc_session.cpp | 184 status = HWCDisplayExternal::Create(core_intf_, &buffer_allocator_, &callbacks_, qservice_, in Init() 189 status = HWCDisplayPrimary::Create(core_intf_, &buffer_allocator_, &callbacks_, qservice_, in Init() 535 auto error = hwc_session->callbacks_.Register(desc, callback_data, pointer); in RegisterCallback() 539 hwc_session->callbacks_.Hotplug(HWC_DISPLAY_PRIMARY, HWC2::Connection::Connected); in RegisterCallback() 829 auto status = HWCDisplayVirtual::Create(core_intf_, &buffer_allocator_, &callbacks_, width, in CreateVirtualDisplayObject() 848 status = HWCDisplayExternal::Create(core_intf_, &buffer_allocator_, &callbacks_, primary_width, in ConnectDisplay() 1406 status = HWCDisplayExternal::Create(core_intf_, &buffer_allocator_, &callbacks_, in HotPlugHandler() 1525 HWC2::Error err = callbacks_.Refresh(display); in Refresh() 1528 err = callbacks_.Refresh(display); in Refresh() 1534 HWC2::Error err = callbacks_.Hotplug(display, state); in HotPlug() [all …]
|
/hardware/interfaces/health/2.0/default/include/health2/ |
D | Health.h | 63 std::vector<sp<IHealthInfoCallback>> callbacks_; member
|
/hardware/interfaces/health/utils/libhealth2impl/include/health2impl/ |
D | Health.h | 83 std::vector<std::unique_ptr<Callback>> callbacks_; variable
|
D | BinderHealth.h | 104 std::vector<std::unique_ptr<Callback>> callbacks_; variable
|