Home
last modified time | relevance | path

Searched refs:SETTING_BRIGHTNESS_KEY (Results 1 – 6 of 6) sorted by relevance

/base/powermgr/display_manager/service/native/include/
Ddisplay_setting_helper.h31 …rrCode GetSettingBrightness(uint32_t& brightness, const std::string& key = SETTING_BRIGHTNESS_KEY);
38 … static const constexpr char* SETTING_BRIGHTNESS_KEY {"settings.display.screen_brightness_status"};
Dscreen_controller.h87 uint32_t GetSettingBrightness(const std::string& key = SETTING_BRIGHTNESS_KEY) const;
90 … static const constexpr char* SETTING_BRIGHTNESS_KEY {"settings.display.screen_brightness_status"};
/base/powermgr/display_manager/service/native/src/
Ddisplay_setting_helper.cpp38 brightnessObserver_ = provider.CreateObserver(SETTING_BRIGHTNESS_KEY, func); in RegisterSettingBrightnessObserver()
71 auto ret = provider.PutIntValue(SETTING_BRIGHTNESS_KEY, static_cast<int32_t>(value)); in SetSettingBrightness()
/base/powermgr/power_manager/services/native/src/setting/
Dsetting_helper.h60 … static constexpr const char* SETTING_BRIGHTNESS_KEY {"settings.display.screen_brightness_status"};
Dsetting_helper.cpp88 … return SettingProvider::GetInstance(POWER_MANAGER_SERVICE_ID).IsValidKey(SETTING_BRIGHTNESS_KEY); in IsBrightnessSettingValid()
94 ErrCode ret = provider.PutIntValue(SETTING_BRIGHTNESS_KEY, brightness); in SetSettingBrightness()
/base/powermgr/display_manager/test/unittest/src/
Ddisplay_power_mgr_brightness_test.cpp28 const std::string SETTING_BRIGHTNESS_KEY {"settings.display.screen_brightness_status"}; variable