Searched refs:SETTING_BRIGHTNESS_KEY (Results 1 – 6 of 6) sorted by relevance
31 …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"};
87 uint32_t GetSettingBrightness(const std::string& key = SETTING_BRIGHTNESS_KEY) const;90 … static const constexpr char* SETTING_BRIGHTNESS_KEY {"settings.display.screen_brightness_status"};
38 brightnessObserver_ = provider.CreateObserver(SETTING_BRIGHTNESS_KEY, func); in RegisterSettingBrightnessObserver()71 auto ret = provider.PutIntValue(SETTING_BRIGHTNESS_KEY, static_cast<int32_t>(value)); in SetSettingBrightness()
60 … static constexpr const char* SETTING_BRIGHTNESS_KEY {"settings.display.screen_brightness_status"};
88 … return SettingProvider::GetInstance(POWER_MANAGER_SERVICE_ID).IsValidKey(SETTING_BRIGHTNESS_KEY); in IsBrightnessSettingValid()94 ErrCode ret = provider.PutIntValue(SETTING_BRIGHTNESS_KEY, brightness); in SetSettingBrightness()
28 const std::string SETTING_BRIGHTNESS_KEY {"settings.display.screen_brightness_status"}; variable