/hardware/qcom/sm7250/display/composer/ |
D | hwc_session.cpp | 1554 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 …]
|
D | hwc_session_services.cpp | 649 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()
|
D | hwc_display_builtin.h | 160 virtual HWC2::Error GetPanelMaxBrightness(uint32_t *max_brightness_level);
|
D | hwc_display_builtin.cpp | 1555 HWC2::Error HWCDisplayBuiltIn::GetPanelMaxBrightness(uint32_t *max_brightness_level) { in GetPanelMaxBrightness() argument 1556 DisplayError ret = display_intf_->GetPanelMaxBrightness(max_brightness_level); in GetPanelMaxBrightness()
|
D | hwc_display.h | 399 virtual HWC2::Error GetPanelMaxBrightness(uint32_t *max_brightness_level) { in GetPanelMaxBrightness() argument
|
D | hwc_session.h | 509 int32_t getDisplayMaxBrightness(uint32_t display, uint32_t *max_brightness_level);
|
/hardware/qcom/sm8150/display/sdm/libs/core/ |
D | display_builtin.h | 118 virtual DisplayError GetPanelMaxBrightness(int32_t &max_brightness_level) const override;
|
D | display_builtin.cpp | 574 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()
|
D | display_base.h | 120 virtual DisplayError GetPanelMaxBrightness(int32_t &max_brightness_level) const override { in GetPanelMaxBrightness() argument
|
/hardware/qcom/sm7250/display/sdm/libs/core/ |
D | display_builtin.h | 162 virtual DisplayError GetPanelMaxBrightness(uint32_t *max_brightness_level);
|
D | display_builtin.cpp | 858 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()
|
D | display_base.h | 158 virtual DisplayError GetPanelMaxBrightness(uint32_t *max_brightness_level) { in GetPanelMaxBrightness() argument
|
/hardware/qcom/sm8150/display/sdm/libs/hwc2/ |
D | hwc_display_builtin.h | 99 virtual HWC2::Error GetPanelMaxBrightness(int32_t &max_brightness_level) const override;
|
D | hwc_session_services.cpp | 321 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()
|
D | hwc_display_builtin.cpp | 1092 HWC2::Error HWCDisplayBuiltIn::GetPanelMaxBrightness(int32_t &max_brightness_level) const { in GetPanelMaxBrightness() 1093 DisplayError ret = display_intf_->GetPanelMaxBrightness(max_brightness_level); in GetPanelMaxBrightness()
|
D | hwc_session.h | 276 int32_t GetPanelMaxBrightness(int32_t &max_brightness_level) const;
|
D | hwc_display.h | 223 virtual HWC2::Error GetPanelMaxBrightness(int32_t &max_brightness_level) const { in GetPanelMaxBrightness() argument
|
D | hwc_session.cpp | 1401 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/ |
D | display_interface.h | 669 virtual DisplayError GetPanelMaxBrightness(int32_t &max_brightness_level) const = 0;
|
/hardware/qcom/sm7250/display/sdm/include/core/ |
D | display_interface.h | 734 virtual DisplayError GetPanelMaxBrightness(uint32_t *max_brightness_level) = 0;
|