Home
last modified time | relevance | path

Searched refs:max_brightness_level (Results 1 – 20 of 20) sorted by relevance

/hardware/qcom/sm7250/display/composer/
Dhwc_session.cpp1554 uint32_t max_brightness_level = 0; in notifyCallback() local
1555 status = getDisplayMaxBrightness(display, &max_brightness_level); in notifyCallback()
1556 if (status || !max_brightness_level) { in notifyCallback()
1557 output_parcel->writeInt32(max_brightness_level); in notifyCallback()
1558 DLOGE("Failed to get max brightness %u, status %d", max_brightness_level, status); in notifyCallback()
1561 DLOGV("Panel Max brightness is %u", max_brightness_level); in notifyCallback()
1568 output_parcel->writeInt32(INT32(brightness_precent*(max_brightness_level - 1) + 1)); in notifyCallback()
1579 uint32_t max_brightness_level = 0; in notifyCallback() local
1581 status = getDisplayMaxBrightness(display, &max_brightness_level); in notifyCallback()
1582 if (status || max_brightness_level <= 1) { in notifyCallback()
[all …]
Dhwc_session_services.cpp649 int32_t HWCSession::getDisplayMaxBrightness(uint32_t display, uint32_t *max_brightness_level) { in getDisplayMaxBrightness() argument
650 if (!max_brightness_level) { in getDisplayMaxBrightness()
661 error = INT32(hwc_display_[display]->GetPanelMaxBrightness(max_brightness_level)); in getDisplayMaxBrightness()
Dhwc_display_builtin.h160 virtual HWC2::Error GetPanelMaxBrightness(uint32_t *max_brightness_level);
Dhwc_display_builtin.cpp1555 HWC2::Error HWCDisplayBuiltIn::GetPanelMaxBrightness(uint32_t *max_brightness_level) { in GetPanelMaxBrightness() argument
1556 DisplayError ret = display_intf_->GetPanelMaxBrightness(max_brightness_level); in GetPanelMaxBrightness()
Dhwc_display.h399 virtual HWC2::Error GetPanelMaxBrightness(uint32_t *max_brightness_level) { in GetPanelMaxBrightness() argument
Dhwc_session.h509 int32_t getDisplayMaxBrightness(uint32_t display, uint32_t *max_brightness_level);
/hardware/qcom/sm8150/display/sdm/libs/core/
Ddisplay_builtin.h118 virtual DisplayError GetPanelMaxBrightness(int32_t &max_brightness_level) const override;
Ddisplay_builtin.cpp574 DisplayError DisplayBuiltIn::GetPanelMaxBrightness(int32_t &max_brightness_level) const { in GetPanelMaxBrightness()
577 max_brightness_level = static_cast<int32_t>(hw_panel_info_.panel_max_brightness); in GetPanelMaxBrightness()
579 DLOGI_IF(kTagDisplay, "Get panel max brightness %u", max_brightness_level); in GetPanelMaxBrightness()
Ddisplay_base.h120 virtual DisplayError GetPanelMaxBrightness(int32_t &max_brightness_level) const override { in GetPanelMaxBrightness() argument
/hardware/qcom/sm7250/display/sdm/libs/core/
Ddisplay_builtin.h162 virtual DisplayError GetPanelMaxBrightness(uint32_t *max_brightness_level);
Ddisplay_builtin.cpp858 DisplayError DisplayBuiltIn::GetPanelMaxBrightness(uint32_t *max_brightness_level) { in GetPanelMaxBrightness() argument
861 if (!max_brightness_level) { in GetPanelMaxBrightness()
866 *max_brightness_level = static_cast<uint32_t>(hw_panel_info_.panel_max_brightness); in GetPanelMaxBrightness()
868 DLOGI_IF(kTagDisplay, "Get panel max_brightness_level %u", *max_brightness_level); in GetPanelMaxBrightness()
Ddisplay_base.h158 virtual DisplayError GetPanelMaxBrightness(uint32_t *max_brightness_level) { in GetPanelMaxBrightness() argument
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_display_builtin.h99 virtual HWC2::Error GetPanelMaxBrightness(int32_t &max_brightness_level) const override;
Dhwc_session_services.cpp321 int32_t HWCSession::GetPanelMaxBrightness(int32_t &max_brightness_level) const { in GetPanelMaxBrightness()
326 error = INT32(hwc_display_[HWC_DISPLAY_PRIMARY]->GetPanelMaxBrightness(max_brightness_level)); in GetPanelMaxBrightness()
Dhwc_display_builtin.cpp1092 HWC2::Error HWCDisplayBuiltIn::GetPanelMaxBrightness(int32_t &max_brightness_level) const { in GetPanelMaxBrightness()
1093 DisplayError ret = display_intf_->GetPanelMaxBrightness(max_brightness_level); in GetPanelMaxBrightness()
Dhwc_session.h276 int32_t GetPanelMaxBrightness(int32_t &max_brightness_level) const;
Dhwc_display.h223 virtual HWC2::Error GetPanelMaxBrightness(int32_t &max_brightness_level) const { in GetPanelMaxBrightness() argument
Dhwc_session.cpp1401 int32_t max_brightness_level = 0; in SetDisplayBrightness() local
1402 auto err = INT32(hwc_session->hwc_display_[display]->GetPanelMaxBrightness(max_brightness_level)); in SetDisplayBrightness()
1411 level = INT32(brightness * (max_brightness_level - 1) + 1); in SetDisplayBrightness()
/hardware/qcom/sm8150/display/sdm/include/core/
Ddisplay_interface.h669 virtual DisplayError GetPanelMaxBrightness(int32_t &max_brightness_level) const = 0;
/hardware/qcom/sm7250/display/sdm/include/core/
Ddisplay_interface.h734 virtual DisplayError GetPanelMaxBrightness(uint32_t *max_brightness_level) = 0;