/base/powermgr/display_manager/brightness_manager/src/ |
D | brightness_service.cpp | 75 … DISPLAY_HILOGI(FEAT_BRIGHTNESS, "BrightnessService created for displayId=%{public}d", mDisplayId); in BrightnessService() 78 DISPLAY_HILOGE(FEAT_BRIGHTNESS, "mAction is null"); in BrightnessService() 86 DISPLAY_HILOGE(FEAT_BRIGHTNESS, "mDimmingCallback is null"); in BrightnessService() 110 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "Init mIsFoldDevice=%{public}d", mIsFoldDevice); in Init() 117 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "BrightnessService::init isFoldable=%{public}d", isFoldable); in Init() 126 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "BrightnessService::init isFoldable=%{public}d", isFoldable); in DeInit() 133 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "destruct brightness ffrt queue"); in DeInit() 141 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "OnFoldStatusChanged currenFoldStatus=%{public}d", foldStatus); in OnFoldStatusChanged() 143 DISPLAY_HILOGE(FEAT_BRIGHTNESS, "no need set foldStatus"); in OnFoldStatusChanged() 147 …DISPLAY_HILOGI(FEAT_BRIGHTNESS, "OnFoldStatusChanged currentBrightness=%{public}d", currentBrightn… in OnFoldStatusChanged() [all …]
|
D | brightness_setting_helper.cpp | 36 DISPLAY_HILOGD(FEAT_BRIGHTNESS, "setting brightness observer is already registered"); in RegisterSettingBrightnessObserver() 43 …DISPLAY_HILOGW(FEAT_BRIGHTNESS, "register setting brightness observer failed, ret=%{public}d", ret… in RegisterSettingBrightnessObserver() 51 DISPLAY_HILOGD(FEAT_BRIGHTNESS, "mBrightnessObserver is nullptr, no need to unregister"); in UnregisterSettingBrightnessObserver() 57 …DISPLAY_HILOGW(FEAT_BRIGHTNESS, "unregister setting brightness observer failed, ret=%{public}d", r… in UnregisterSettingBrightnessObserver() 69 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "no need to set setting brightness"); in SetSettingBrightness() 75 DISPLAY_HILOGW(FEAT_BRIGHTNESS, "set setting brightness failed, ret=%{public}d", ret); in SetSettingBrightness() 78 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "set setting brightness=%{public}u", value); in SetSettingBrightness() 87 DISPLAY_HILOGW(FEAT_BRIGHTNESS, "get setting brightness failed, ret=%{public}d", ret); in GetSettingBrightness() 97 DISPLAY_HILOGD(FEAT_BRIGHTNESS, "setting auto brightness observer is already registered"); in RegisterSettingAutoBrightnessObserver() 104 …DISPLAY_HILOGW(FEAT_BRIGHTNESS, "register setting auto brightness observer failed, ret=%{public}d"… in RegisterSettingAutoBrightnessObserver() [all …]
|
D | brightness_dimming.cpp | 52 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "start dimming queue"); in Reset() 56 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "destruct dimming_queue"); in Reset() 63 … DISPLAY_HILOGI(FEAT_BRIGHTNESS, "animation is running, no need to start again, from=%{public}u, "\ in StartDimming() 67 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "animation from=%{public}u, to=%{public}u, duration=%{public}u", in StartDimming() 70 DISPLAY_HILOGW(FEAT_BRIGHTNESS, "mCallback is nullptr"); in StartDimming() 89 …DISPLAY_HILOGI(FEAT_BRIGHTNESS, "animation orig mTotalSteps=%{public}d", static_cast<int32_t>(mTot… in StartDimming() 93 …DISPLAY_HILOGI(FEAT_BRIGHTNESS, "animation update mTotalSteps=%{public}d", static_cast<int32_t>(mT… in StartDimming() 106 DISPLAY_HILOGW(FEAT_BRIGHTNESS, "Callback is nullptr"); in StopDimming() 110 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "animation stopped"); in StopDimming() 126 DISPLAY_HILOGW(FEAT_BRIGHTNESS, "is not animating, return"); in NextStep() [all …]
|
D | config_parser_base.cpp | 53 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "Already init!"); in Initialize() 57 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "[%{public}d] Already init!", displayId); in Initialize() 67 DISPLAY_HILOGW(FEAT_BRIGHTNESS, "[%{public}d]Failed to find config", displayId); in GetDispIter() 77 DISPLAY_HILOGW(FEAT_BRIGHTNESS, "[%{public}d]Failed to find config", displayId); in GetConstDispIter() 90 …DISPLAY_HILOGW(FEAT_BRIGHTNESS, "[%{public}d] default path [%{public}s]!", displayId, configPath.c… in LoadConfigPath() 98 …DISPLAY_HILOGW(FEAT_BRIGHTNESS, "[%{public}d] default path [%{public}s]!", displayId, configPath.c… in LoadConfigPath() 107 DISPLAY_HILOGW(FEAT_BRIGHTNESS, "[%{public}d] name + version path [%{public}s]!", in LoadConfigPath() 116 …DISPLAY_HILOGW(FEAT_BRIGHTNESS, "[%{public}d] version path [%{public}s]!", displayId, configPath.c… in LoadConfigPath() 123 …DISPLAY_HILOGW(FEAT_BRIGHTNESS, "[%{public}d] default path [%{public}s]!", displayId, configPath.c… in LoadConfigPath() 129 …DISPLAY_HILOGI(FEAT_BRIGHTNESS, "[%{public}d] LoadConfigRoot [%{public}s]!", displayId, configName… in LoadConfigRoot() [all …]
|
D | light_lux_buffer.cpp | 38 … DISPLAY_HILOGE(FEAT_BRIGHTNESS, "initialCapacity=%{public}d out of range, Reset to %{public}d", in LightLuxBuffer() 64 DISPLAY_HILOGE(FEAT_BRIGHTNESS, "new mBufferData failed!"); in LuxBufferCheck() 71 DISPLAY_HILOGE(FEAT_BRIGHTNESS, "new mBufferTime failed!"); in LuxBufferCheck() 84 DISPLAY_HILOGE(FEAT_BRIGHTNESS, "newBufferData id null"); in CopyLuxBuffer() 89 DISPLAY_HILOGE(FEAT_BRIGHTNESS, "newBufferTime id null"); in CopyLuxBuffer() 106 …DISPLAY_HILOGE(FEAT_BRIGHTNESS, "memcpy_s error, mCapacity=%{public}d, mStart=%{public}d", mCapaci… in CopyLuxBuffer() 129 …DISPLAY_HILOGW(FEAT_BRIGHTNESS, "buffer size larger than max value %{public}d already, stop expand… in Push() 134 … DISPLAY_HILOGE(FEAT_BRIGHTNESS, "mStart error! mStart(%{public}d) >= mCapacity(%{public}d)", in Push() 195 DISPLAY_HILOGE(FEAT_BRIGHTNESS, "mBufferData is nullptr."); in GetData() 199 …DISPLAY_HILOGE(FEAT_BRIGHTNESS, "error! index = %{public}d, out of range mCount = %{public}d", ind… in GetData() [all …]
|
D | light_lux_manager.cpp | 74 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "fist sensor lux, smoothLux=%{public}f, " in IsUpdateLuxSuccess() 79 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "mLux=%{public}f, smoothLux=%{public}f", mLux, smoothLux); in IsUpdateLuxSuccess() 98 DISPLAY_HILOGE(FEAT_BRIGHTNESS, "No ambient light readings available"); in CalcSmoothLux() 118 … DISPLAY_HILOGD(FEAT_BRIGHTNESS, "sum - luxMin - luxMax = %{public}f \n", sum - luxMin - luxMax); in CalcSmoothLux() 126 DISPLAY_HILOGE(FEAT_BRIGHTNESS, "mLuxBufferFilter is empty"); in GetNextBrightenTime() 145 DISPLAY_HILOGE(FEAT_BRIGHTNESS, "mLuxBufferFilter is empty"); in GetNextDarkenTime() 173 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "mFilteredLux=%{public}f, " in UpdateParam() 180 DISPLAY_HILOGE(FEAT_BRIGHTNESS, "error! input vector is empty"); in CalcDelta() 206 DISPLAY_HILOGE(FEAT_BRIGHTNESS, "error lux = %{public}f > LIGHT_MAX_LUX", lux); in GetValidLux() 210 DISPLAY_HILOGE(FEAT_BRIGHTNESS, "error lux = %{public}f < 0", lux); in GetValidLux() [all …]
|
D | calculation_config_parser.cpp | 34 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "[%{public}d] parse CalculationConfig start!", displayId); in ParseConfig() 42 DISPLAY_HILOGW(FEAT_BRIGHTNESS, "[%{public}d] parse defaultBrightness error!", displayId); in ParseConfig() 45 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "[%{public}d] parse CalculationConfig over!", displayId); in ParseConfig() 55 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "%{public}s", text.c_str()); in PrintConfig()
|
D | lux_filter_config_parser.cpp | 40 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "[%{public}d] parse LuxFilterConfig start!", displayId); in ParseConfig() 47 DISPLAY_HILOGW(FEAT_BRIGHTNESS, "root <%{public}s> is not Array!", CONFIG_NAME.c_str()); in ParseConfig() 53 … DISPLAY_HILOGW(FEAT_BRIGHTNESS, "<%{public}s> filterName is not find!", CONFIG_NAME.c_str()); in ParseConfig() 73 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "<%{public}s> is insert!", name.c_str()); in ParseConfig() 75 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "[%{public}d] parse LuxFilterConfig over!", displayId); in ParseConfig() 97 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "%{public}s", text.c_str()); in PrintConfig()
|
D | config_parser.cpp | 39 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "Already init!"); in Initialize() 43 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "[%{public}d] Already init!", displayId); in Initialize() 59 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "[%{public}d] parse Config start!", displayId); in ParseConfig() 63 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "[%{public}d] parse Config over!", displayId); in ParseConfig()
|
D | lux_threshold_config_parser.cpp | 72 … DISPLAY_HILOGI(FEAT_BRIGHTNESS, "[%{public}d] parse LuxThresholdConfigParser start!", displayId); in ParseConfig() 86 DISPLAY_HILOGW(FEAT_BRIGHTNESS, "root <%{public}s> is not Array!", CONFIG_NAME.c_str()); in ParseConfig() 92 … DISPLAY_HILOGW(FEAT_BRIGHTNESS, "<%{public}s> modeName is not find!", CONFIG_NAME.c_str()); in ParseConfig() 105 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "<%{public}s> is insert!", name.c_str()); in ParseConfig() 107 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "[%{public}d] parse LuxThresholdConfigParser over!", displayId); in ParseConfig() 131 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "%{public}s", text.c_str()); in PrintConfig()
|
D | calculation_curve.cpp | 44 DISPLAY_HILOGE(FEAT_BRIGHTNESS, "[%{public}d]Failed to find config", displayId); in InitParameters() 54 … DISPLAY_HILOGI(FEAT_BRIGHTNESS, "GetCurrentBrightness default=%{public}f", mDefaultBrightness); in GetCurrentBrightness() 58 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "GetCurrentBrightness brightness=%{public}f", brightness); in GetCurrentBrightness()
|
D | brightness_action.cpp | 90 …DISPLAY_HILOGD(FEAT_BRIGHTNESS, "displayId=%{public}u, brightness=%{public}u", mDisplayId, mBright… in GetBrightness() 101 …DISPLAY_HILOGI(FEAT_BRIGHTNESS, "SetBrightness mDisplayId=%{public}u, displayId=%{public}u ,bright… in SetBrightness() 103 … DISPLAY_HILOGD(FEAT_BRIGHTNESS, "displayId=%{public}u, brightness=%{public}u", displayId, value); in SetBrightness()
|
D | calculation_manager.cpp | 53 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "GetInterpolatedValue lux=%{public}f, valueInterp=%{public}f, "\ in GetInterpolatedValue() 79 …DISPLAY_HILOGI(FEAT_BRIGHTNESS, "GetLevel lux=%{public}f, offsetBrightness=%{public}f, default=%{p… in GetInterpolatedBrightenssLevel() 144 … DISPLAY_HILOGI(FEAT_BRIGHTNESS, "GetOffsetLevel tempDeltaNew=%{public}f, deltaStart=%{public}f, "\ in GetOffsetLevel() 255 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "UpdateBrightnessOffset lux=%{public}f, mDelta=%{public}f, "\ in UpdateBrightnessOffset() 268 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "ResetDefaultBrightnessOffset"); in ResetDefaultBrightnessOffset()
|
/base/powermgr/display_manager/state_manager/service/native/src/ |
D | display_setting_helper.cpp | 34 DISPLAY_HILOGD(FEAT_BRIGHTNESS, "setting brightness observer is already registered"); in RegisterSettingBrightnessObserver() 41 …DISPLAY_HILOGW(FEAT_BRIGHTNESS, "register setting brightness observer failed, ret=%{public}d", ret… in RegisterSettingBrightnessObserver() 49 DISPLAY_HILOGD(FEAT_BRIGHTNESS, "brightnessObserver_ is nullptr, no need to unregister"); in UnregisterSettingBrightnessObserver() 55 …DISPLAY_HILOGW(FEAT_BRIGHTNESS, "unregister setting brightness observer failed, ret=%{public}d", r… in UnregisterSettingBrightnessObserver() 67 DISPLAY_HILOGD(FEAT_BRIGHTNESS, "no need to set setting brightness"); in SetSettingBrightness() 73 DISPLAY_HILOGW(FEAT_BRIGHTNESS, "set setting brightness failed, ret=%{public}d", ret); in SetSettingBrightness() 76 DISPLAY_HILOGD(FEAT_BRIGHTNESS, "set setting brightness=%{public}u", value); in SetSettingBrightness() 85 DISPLAY_HILOGW(FEAT_BRIGHTNESS, "get setting brightness failed, ret=%{public}d", ret); in GetSettingBrightness() 95 DISPLAY_HILOGD(FEAT_BRIGHTNESS, "setting auto brightness observer is already registered"); in RegisterSettingAutoBrightnessObserver() 102 …DISPLAY_HILOGW(FEAT_BRIGHTNESS, "register setting auto brightness observer failed, ret=%{public}d"… in RegisterSettingAutoBrightnessObserver() [all …]
|
D | screen_controller.cpp | 63 DISPLAY_HILOGD(FEAT_BRIGHTNESS, "ScreenAnimatorCallback onStart"); in OnStart() 68 DISPLAY_HILOGD(FEAT_BRIGHTNESS, "OnChanged, no Update brightness"); in OnChanged() 73 DISPLAY_HILOGD(FEAT_BRIGHTNESS, "ScreenAnimatorCallback OnEnd"); in OnEnd() 161 DISPLAY_HILOGW(FEAT_BRIGHTNESS, "Cannot set brightness, ignore the change,"\ in SetBrightness() 187 DISPLAY_HILOGW(FEAT_BRIGHTNESS, "Cannot discount brightness, ignore the change"); in DiscountBrightness() 190 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "Discount brightness, discount=%{public}lf", discount); in DiscountBrightness() 202 DISPLAY_HILOGW(FEAT_BRIGHTNESS, "Cannot override brightness, ignore the change"); in OverrideBrightness() 205 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "Override brightness, value=%{public}u", value); in OverrideBrightness() 216 DISPLAY_HILOGD(FEAT_BRIGHTNESS, "Brightness is not override, no need to restore"); in RestoreBrightness() 231 DISPLAY_HILOGW(FEAT_BRIGHTNESS, "Cannot boost brightness, ignore the change"); in BoostBrightness() [all …]
|
D | gradual_animator.cpp | 43 DISPLAY_HILOGD(FEAT_BRIGHTNESS, "animation is running, no need to start again"); in StartAnimation() 46 DISPLAY_HILOGD(FEAT_BRIGHTNESS, "animation from=%{public}u, to=%{public}u, duration=%{public}u", in StartAnimation() 49 DISPLAY_HILOGW(FEAT_BRIGHTNESS, "callback_ is nullptr"); in StartAnimation() 72 DISPLAY_HILOGD(FEAT_BRIGHTNESS, "animation started"); in StartAnimation() 80 DISPLAY_HILOGW(FEAT_BRIGHTNESS, "Callback is nullptr"); in StopAnimation() 84 DISPLAY_HILOGD(FEAT_BRIGHTNESS, "animation stopped"); in StopAnimation() 100 DISPLAY_HILOGW(FEAT_BRIGHTNESS, "is not animating, return"); in NextStep() 104 DISPLAY_HILOGW(FEAT_BRIGHTNESS, "Callback is nullptr"); in NextStep() 119 …DISPLAY_HILOGD(FEAT_BRIGHTNESS, "next step brightness is out range, brightness=%{public}u", nextBr… in NextStep() 132 …DISPLAY_HILOGD(FEAT_BRIGHTNESS, "animating next step, step=%{public}u, brightness=%{public}u, stri… in NextStep()
|
D | display_power_mgr_service.cpp | 107 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "reset begin"); in Reset() 111 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "destruct display_power_queue"); in Reset() 113 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "reset end"); in Reset() 125 …DISPLAY_HILOGI(FEAT_BRIGHTNESS, "SetBootCompletedBrightness currentDisplayId=%{public}d", currentD… in SetBootCompletedBrightness() 131 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "SetBootCompletedAutoBrightness enable=%{public}d", enable); in SetBootCompletedAutoBrightness() 169 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "no need change autoAdjustSwitch"); in AutoBrightnessSettingUpdateFunc() 172 …DISPLAY_HILOGI(FEAT_BRIGHTNESS, "AutoBrightnessSettingUpdateFunc isSettingEnable=%{public}d", isSe… in AutoBrightnessSettingUpdateFunc() 300 …DISPLAY_HILOGI(FEAT_BRIGHTNESS, "SetBrightness displayId=%{public}u, value=%{public}u, continuous=… in SetBrightness() 320 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "DiscountBrightness displayId=%{public}u, discount-%{public}lf", in DiscountBrightness() 376 DISPLAY_HILOGD(FEAT_BRIGHTNESS, "GetBrightness displayId=%{public}u", displayId); in GetBrightness() [all …]
|
D | screen_action.cpp | 199 …DISPLAY_HILOGD(FEAT_BRIGHTNESS, "displayId=%{public}u, brightness=%{public}u", displayId_, brightn… in GetBrightness() 205 … DISPLAY_HILOGD(FEAT_BRIGHTNESS, "displayId=%{public}u, brightness=%{public}u", displayId_, value); in SetBrightness()
|
/base/powermgr/display_manager/state_manager/frameworks/napi/ |
D | brightness.cpp | 83 DISPLAY_HILOGD(FEAT_BRIGHTNESS, "Brightness interface"); in SetValue() 117 DISPLAY_HILOGD(FEAT_BRIGHTNESS, "System brightness interface"); in SystemSetValue() 295 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "Get brightness: %{public}d", brightness); in GetBrightness() 301 DISPLAY_HILOGI(FEAT_BRIGHTNESS, "Set brightness: %{public}d, %{public}d", value, continuous); in SetBrightness() 306 DISPLAY_HILOGW(FEAT_BRIGHTNESS, "Failed to set brightness: %{public}d", value); in SetBrightness() 314 DISPLAY_HILOGD(FEAT_BRIGHTNESS, "Automatic brightness adjustment: %{public}d", isAuto); in GetAutoMode() 320 DISPLAY_HILOGD(FEAT_BRIGHTNESS, "AutoAdjustBrightness begin"); in SetAutoMode() 322 …DISPLAY_HILOGD(FEAT_BRIGHTNESS, "set auto brightness mode: %{public}d, succ: %{public}d", mode, is… in SetAutoMode()
|
/base/powermgr/display_manager/state_manager/utils/native/include/ |
D | display_log.h | 62 FEAT_BRIGHTNESS, enumerator
|