Home
last modified time | relevance | path

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

/base/powermgr/power_manager/test/unittest/src/
Dpower_mgr_util_test.cpp142 SettingObserver::UpdateFunc updateFunc = [&](const std::string&) {}; in __anona3326e7f0202() variable
143 settingObserver->SetUpdateFunc(updateFunc);
164 SettingObserver::UpdateFunc updateFunc = [&](const std::string&) {}; in __anona3326e7f0302() variable
165 auto observer = settingProvider.CreateObserver("settings.power.suspend_sources", updateFunc);
183 SettingObserver::UpdateFunc updateFunc = [&](const std::string&) {}; in __anona3326e7f0402() variable
184 auto observer = settingProvider.CreateObserver("settings.power.suspend_sources", updateFunc);
201 SettingObserver::UpdateFunc updateFunc = [&](const std::string&) {}; in __anona3326e7f0502() variable
202 auto observer = settingProvider.CreateObserver("settings.power.suspend_sources", updateFunc);
/base/powermgr/display_manager/service/native/src/
Dscreen_controller.cpp364 …SettingObserver::UpdateFunc updateFunc = [&](const std::string& key) { BrightnessSettingUpdateFunc… in RegisterSettingBrightnessObserver() local
365 DisplaySettingHelper::RegisterSettingBrightnessObserver(updateFunc); in RegisterSettingBrightnessObserver()
Ddisplay_power_mgr_service.cpp119 …SettingObserver::UpdateFunc updateFunc = [&](const std::string& key) { AutoBrightnessSettingUpdate… in RegisterSettingAutoBrightnessObserver() local
120 DisplaySettingHelper::RegisterSettingAutoBrightnessObserver(updateFunc); in RegisterSettingAutoBrightnessObserver()
/base/powermgr/power_manager/services/native/src/suspend/
Dsuspend_controller.cpp127 SettingObserver::UpdateFunc updateFunc = [&](const std::string&) { in RegisterSettingsObserver() local
149 g_suspendSourcesKeyObserver = SettingHelper::RegisterSettingSuspendSourcesObserver(updateFunc); in RegisterSettingsObserver()
/base/powermgr/power_manager/services/native/src/wakeup/
Dwakeup_controller.cpp119 SettingObserver::UpdateFunc updateFunc = [&](const std::string&) { in RegisterSettingsObserver() local
139 g_wakeupSourcesKeyObserver = SettingHelper::RegisterSettingWakeupSourcesObserver(updateFunc); in RegisterSettingsObserver()
/base/powermgr/power_manager/services/native/src/
Dpower_state_machine.cpp789 SettingObserver::UpdateFunc updateFunc = [&](const std::string&) { in RegisterDisplayOffTimeObserver() local
792 g_displayOffTimeObserver = SettingHelper::RegisterSettingDisplayOffTimeObserver(updateFunc); in RegisterDisplayOffTimeObserver()