Searched refs:updateFunc (Results 1 – 6 of 6) sorted by relevance
142 SettingObserver::UpdateFunc updateFunc = [&](const std::string&) {}; in __anona3326e7f0202() variable143 settingObserver->SetUpdateFunc(updateFunc);164 SettingObserver::UpdateFunc updateFunc = [&](const std::string&) {}; in __anona3326e7f0302() variable165 auto observer = settingProvider.CreateObserver("settings.power.suspend_sources", updateFunc);183 SettingObserver::UpdateFunc updateFunc = [&](const std::string&) {}; in __anona3326e7f0402() variable184 auto observer = settingProvider.CreateObserver("settings.power.suspend_sources", updateFunc);201 SettingObserver::UpdateFunc updateFunc = [&](const std::string&) {}; in __anona3326e7f0502() variable202 auto observer = settingProvider.CreateObserver("settings.power.suspend_sources", updateFunc);
364 …SettingObserver::UpdateFunc updateFunc = [&](const std::string& key) { BrightnessSettingUpdateFunc… in RegisterSettingBrightnessObserver() local365 DisplaySettingHelper::RegisterSettingBrightnessObserver(updateFunc); in RegisterSettingBrightnessObserver()
119 …SettingObserver::UpdateFunc updateFunc = [&](const std::string& key) { AutoBrightnessSettingUpdate… in RegisterSettingAutoBrightnessObserver() local120 DisplaySettingHelper::RegisterSettingAutoBrightnessObserver(updateFunc); in RegisterSettingAutoBrightnessObserver()
127 SettingObserver::UpdateFunc updateFunc = [&](const std::string&) { in RegisterSettingsObserver() local149 g_suspendSourcesKeyObserver = SettingHelper::RegisterSettingSuspendSourcesObserver(updateFunc); in RegisterSettingsObserver()
119 SettingObserver::UpdateFunc updateFunc = [&](const std::string&) { in RegisterSettingsObserver() local139 g_wakeupSourcesKeyObserver = SettingHelper::RegisterSettingWakeupSourcesObserver(updateFunc); in RegisterSettingsObserver()
789 SettingObserver::UpdateFunc updateFunc = [&](const std::string&) { in RegisterDisplayOffTimeObserver() local792 g_displayOffTimeObserver = SettingHelper::RegisterSettingDisplayOffTimeObserver(updateFunc); in RegisterDisplayOffTimeObserver()