Home
last modified time | relevance | path

Searched refs:CreateObserver (Results 1 – 5 of 5) sorted by relevance

/base/powermgr/power_manager/test/unittest/src/
Dpower_mgr_util_test.cpp165 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/
Ddisplay_setting_helper.cpp38 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/
Dsetting_helper.cpp53 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/
Dsetting_provider.h38 sptr<SettingObserver> CreateObserver(const std::string& key, SettingObserver::UpdateFunc& func);
/base/powermgr/power_manager/utils/setting/src/
Dsetting_provider.cpp113 sptr<SettingObserver> SettingProvider::CreateObserver(const std::string& key, SettingObserver::Upda… in CreateObserver() function in OHOS::PowerMgr::SettingProvider