Home
last modified time | relevance | path

Searched refs:provider (Results 1 – 3 of 3) sorted by relevance

/base/powermgr/power_manager/services/native/src/setting/
Dsetting_helper.cpp31 SettingProvider& provider = SettingProvider::GetInstance(POWER_MANAGER_SERVICE_ID); in GetSettingDisplayOffTime() local
33 ErrCode ret = provider.GetLongValue(SETTING_DISPLAY_OFF_TIME_KEY, value); in GetSettingDisplayOffTime()
42 SettingProvider& provider = SettingProvider::GetInstance(POWER_MANAGER_SERVICE_ID); in SetSettingDisplayOffTime() local
43 ErrCode ret = provider.PutLongValue(SETTING_DISPLAY_OFF_TIME_KEY, time); in SetSettingDisplayOffTime()
52 SettingProvider& provider = SettingProvider::GetInstance(POWER_MANAGER_SERVICE_ID); in RegisterSettingDisplayOffTimeObserver() local
53 auto observer = provider.CreateObserver(SETTING_DISPLAY_OFF_TIME_KEY, func); in RegisterSettingDisplayOffTimeObserver()
54 ErrCode ret = provider.RegisterObserver(observer); in RegisterSettingDisplayOffTimeObserver()
67 SettingProvider& provider = SettingProvider::GetInstance(POWER_MANAGER_SERVICE_ID); in UnregisterSettingDisplayOffTimeObserver() local
68 provider.UnregisterObserver(observer); in UnregisterSettingDisplayOffTimeObserver()
78 SettingProvider& provider = SettingProvider::GetInstance(POWER_MANAGER_SERVICE_ID); in SetSettingAutoAdjustBrightness() local
[all …]
/base/powermgr/display_manager/service/native/src/
Ddisplay_setting_helper.cpp37 SettingProvider& provider = SettingProvider::GetInstance(DISPLAY_MANAGER_SERVICE_ID); in RegisterSettingBrightnessObserver() local
38 brightnessObserver_ = provider.CreateObserver(SETTING_BRIGHTNESS_KEY, func); in RegisterSettingBrightnessObserver()
39 ErrCode ret = provider.RegisterObserver(brightnessObserver_); in RegisterSettingBrightnessObserver()
52 SettingProvider& provider = SettingProvider::GetInstance(DISPLAY_MANAGER_SERVICE_ID); in UnregisterSettingBrightnessObserver() local
53 ErrCode ret = provider.UnregisterObserver(brightnessObserver_); in UnregisterSettingBrightnessObserver()
70 SettingProvider& provider = SettingProvider::GetInstance(DISPLAY_MANAGER_SERVICE_ID); in SetSettingBrightness() local
71 auto ret = provider.PutIntValue(SETTING_BRIGHTNESS_KEY, static_cast<int32_t>(value)); in SetSettingBrightness()
81 SettingProvider& provider = SettingProvider::GetInstance(DISPLAY_MANAGER_SERVICE_ID); in GetSettingBrightness() local
83 ErrCode ret = provider.GetIntValue(key, value); in GetSettingBrightness()
98 SettingProvider& provider = SettingProvider::GetInstance(DISPLAY_MANAGER_SERVICE_ID); in RegisterSettingAutoBrightnessObserver() local
[all …]
/base/telephony/core_service/
DREADME.md81 … number, callback: AsyncCallback\<string>): void; | Obtains the service provider name \(SPN\) of t…