Searched refs:CreateObserver (Results 1 – 5 of 5) sorted by relevance
/base/powermgr/power_manager/test/unittest/src/ |
D | power_mgr_util_test.cpp | 165 auto observer = settingProvider.CreateObserver("settings.power.suspend_sources", updateFunc); 184 auto observer = settingProvider.CreateObserver("settings.power.suspend_sources", updateFunc); 202 auto observer = settingProvider.CreateObserver("settings.power.suspend_sources", updateFunc);
|
/base/powermgr/display_manager/service/native/src/ |
D | display_setting_helper.cpp | 38 brightnessObserver_ = provider.CreateObserver(SETTING_BRIGHTNESS_KEY, func); in RegisterSettingBrightnessObserver() 99 autoBrightnessObserver_ = provider.CreateObserver(SETTING_AUTO_ADJUST_BRIGHTNESS_KEY, func); in RegisterSettingAutoBrightnessObserver()
|
/base/powermgr/power_manager/services/native/src/setting/ |
D | setting_helper.cpp | 53 auto observer = provider.CreateObserver(SETTING_DISPLAY_OFF_TIME_KEY, func); in RegisterSettingDisplayOffTimeObserver() 132 auto observer = provider.CreateObserver(SETTING_POWER_SUSPEND_SOURCES_KEY, func); in RegisterSettingSuspendSourcesObserver() 179 auto observer = provider.CreateObserver(SETTING_POWER_WAKEUP_SOURCES_KEY, func); in RegisterSettingWakeupSourcesObserver()
|
/base/powermgr/power_manager/utils/setting/include/ |
D | setting_provider.h | 38 sptr<SettingObserver> CreateObserver(const std::string& key, SettingObserver::UpdateFunc& func);
|
/base/powermgr/power_manager/utils/setting/src/ |
D | setting_provider.cpp | 113 sptr<SettingObserver> SettingProvider::CreateObserver(const std::string& key, SettingObserver::Upda… in CreateObserver() function in OHOS::PowerMgr::SettingProvider
|