Home
last modified time | relevance | path

Searched refs:updateFunc (Results 1 - 25 of 27) sorted by relevance

12

/foundation/window/window_manager/window_scene/test/dms_unittest/
H A Dsetting_provider_test.cpp111 SettingObserver::UpdateFunc updateFunc = [&](const std::string&) {}; in HWTEST_F() local
113 "settings.power.suspend_sources", updateFunc); in HWTEST_F()
125 SettingObserver::UpdateFunc updateFunc = [&](const std::string&) {}; in HWTEST_F() local
127 "settings.power.suspend_sources", updateFunc); in HWTEST_F()
138 SettingObserver::UpdateFunc updateFunc = [&](const std::string&) {}; in HWTEST_F() local
143 "settings.power.suspend_sources", updateFunc); in HWTEST_F()
154 SettingObserver::UpdateFunc updateFunc = [&](const std::string&) {}; in HWTEST_F() local
159 "settings.power.suspend_sources", updateFunc); in HWTEST_F()
/foundation/resourceschedule/resource_schedule_service/ressched/test/unittest/src/
H A Doobe_mgr_test.cpp56 OOBEManager::ResDataAbilityObserver::UpdateFunc updateFunc = [&]() {}; in HWTEST_F() local
57 int32_t ret = oobeMgr.RegisterObserver(KEYWORD, updateFunc); in HWTEST_F()
74 OOBEManager::ResDataAbilityObserver::UpdateFunc updateFunc = [&]() {}; in HWTEST_F() local
76 int32_t ret = oobeMgr.RegisterObserver(KEYWORD, updateFunc); in HWTEST_F()
96 OOBEManager::ResDataAbilityObserver::UpdateFunc updateFunc = [&]() {}; in HWTEST_F() local
97 oobeObserver->SetUpdateFunc(updateFunc); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dview_partial_update_model_impl.cpp38 auto renderFunction = [renderFunc = std::move(info.renderFunc), updateFunc = std::move(info.updateFunc)]( in CreateNode()
41 if (updateFunc) { in CreateNode()
42 updateFunc(); in CreateNode()
/foundation/multimodalinput/input/service/key_command/src/
H A Dstylus_key_handler.cpp67 SettingObserver::UpdateFunc updateFunc = [&item](const std::string& key) { in CreateStatusConfigObserver() local
79 .CreateObserver(item.statusConfig, updateFunc); in CreateStatusConfigObserver()
H A Dkey_command_handler.cpp1169 SettingObserver::UpdateFunc updateFunc = [&item](const std::string& key) { in CreateStatusConfigObserver() local
1181 .CreateObserver(item.statusConfig, updateFunc); in CreateStatusConfigObserver()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/custom/
H A Dcustom_node_base.h73 void SetUpdateFunction(std::function<void()>&& updateFunc) in SetUpdateFunction() argument
75 updateFunc_ = std::move(updateFunc); in SetUpdateFunction()
/foundation/resourceschedule/resource_schedule_service/ressched/common/src/
H A Doobe_manager.cpp169 OOBEManager::ResDataAbilityObserver::UpdateFunc updateFunc = [&]() { in StartListen() local
184 RegisterObserver(KEYWORD, updateFunc); in StartListen()
/foundation/filemanagement/dfs_service/utils/dentry/include/
H A Dmeta_file.h50 int32_t DoLookupAndUpdate(const std::string &name, CloudDiskMetaFileCallBack updateFunc);
83 int32_t DoLookupAndUpdate(const std::string &name, CloudDiskMetaFileCallBack updateFunc);
84 int32_t DoChildUpdate(const std::string &name, CloudDiskMetaFileCallBack updateFunc);
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/
H A Dview_partial_update_model.h36 std::function<void()> updateFunc; member
H A Dview_partial_update_model_ng.cpp64 customNode->SetUpdateFunction(std::move(info.updateFunc)); in CreateNode()
/foundation/resourceschedule/resource_schedule_service/ressched/test/fuzztest/ressched_fuzzer/
H A Dressched_fuzzer.cpp413 OOBEManager::ResDataAbilityObserver::UpdateFunc updateFunc = [&]() {}; in OOBEManagerFuzzTest() local
419 OOBEManager::GetInstance().RegisterObserver(key, updateFunc); in OOBEManagerFuzzTest()
423 oobeObserver->SetUpdateFunc(updateFunc); in OOBEManagerFuzzTest()
/foundation/arkui/ace_engine/test/unittest/core/pattern/grid/
H A Dgrid_test_ng.cpp238 std::function<void(const std::string&, uint32_t)> updateFunc = in CreateRepeatGrid() local
255 repeatModel.Create(itemNumber, {}, createFunc, updateFunc, getKeys, getTypes, setActiveRange); in CreateRepeatGrid()
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/manager/
H A Dvolume_data_maintainer.cpp503 AudioSettingObserver::UpdateFunc updateFunc = [&](const std::string& key) { in RegisterCloned() local
518 sptr<AudioSettingObserver> observer = settingProvider.CreateObserver(SETTINGS_CLONED, updateFunc); in RegisterCloned()
/foundation/multimodalinput/input/service/fingerprint_event_processor/src/
H A Dfingerprint_event_processor.cpp354 SettingObserver::UpdateFunc updateFunc = [&item](const std::string& key) { in CreateStatusConfigObserver() local
367 .CreateObserver(item.keyString, updateFunc); in CreateStatusConfigObserver()
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/dentry/
H A Ddentry_meta_file_clouddisk_test.cpp413 CloudDiskMetaFile::CloudDiskMetaFileCallBack updateFunc; in HWTEST_F() local
415 int32_t ret = mFile.DoChildUpdate(name, updateFunc); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/cppview/
H A Dnative_view.cpp73 .updateFunc = [weakThis]() -> void { in CreateUI()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DjsXNode.js249 const updateFunc = (typeof obj === 'object') ? obj.updateFunc : null;
250 if (typeof updateFunc === 'function') {
251 updateFunc(elmtId, /* isFirstRender */ false);
284 // avoid the incompatible change that move set function before updateFunc.
292 const updateFunc = (elmtId, isFirstRender) => {
319 // needs to move set before updateFunc.
320 // make sure the key and object value exist since it will add node in attributeModifier during updateFunc.
322 updateFunc: updateFunc,
[all...]
/foundation/multimodalinput/input/service/window_manager/src/
H A Dtouch_drawing_manager.cpp289 SettingObserver::UpdateFunc updateFunc = [&item, this](const std::string& key) { in CreateBubbleObserver() local
301 .CreateObserver(item.SwitchName, updateFunc); in CreateBubbleObserver()
316 SettingObserver::UpdateFunc updateFunc = [&item, this](const std::string& key) { in CreatePointerObserver() local
328 .CreateObserver(item.SwitchName, updateFunc); in CreatePointerObserver()
H A Dknuckle_drawing_manager.cpp951 SettingObserver::UpdateFunc updateFunc = [&item](const std::string& key) { in CreateScreenReadObserver() local
961 .CreateObserver(item.switchName, updateFunc); in CreateScreenReadObserver()
/foundation/arkui/ace_engine/test/unittest/core/pattern/custom/
H A Dcustom_test_ng.cpp274 bool updateFunc = false; in HWTEST_F() local
275 customNode->SetUpdateFunction([&updateFunc]() { updateFunc = true; }); in HWTEST_F()
621 bool updateFunc = false; in HWTEST_F() local
622 customNode->SetUpdateFunction([&updateFunc]() { updateFunc = true; }); in HWTEST_F()
/foundation/arkui/ace_engine/test/unittest/core/pattern/list/
H A Dlist_test_ng.cpp289 std::function<void(const std::string&, uint32_t)> updateFunc = [&createFunc](const std::string& value,
306 repeatModel.Create(itemNumber, {}, createFunc, updateFunc, getKeys, getTypes, setActiveRange);
/foundation/window/window_manager/window_scene/screen_session_manager/src/
H A Dscreen_session_manager.cpp2223 SettingObserver::UpdateFunc updateFunc = [&](const std::string& key) { SetDpiFromSettingData(); }; in RegisterSettingDpiObserver() local
2224 ScreenSettingHelper::RegisterSettingDpiObserver(updateFunc); in RegisterSettingDpiObserver()
2226 SettingObserver::UpdateFunc updateFunc = [&](const std::string& key) { SetDpiFromSettingData(true); }; in RegisterSettingDpiObserver() local
2227 ScreenSettingHelper::RegisterSettingDpiObserver(updateFunc); in RegisterSettingDpiObserver()
2234 SettingObserver::UpdateFunc updateFunc = [&](const std::string& key) { SetDpiFromSettingData(false); }; in RegisterExtendSettingDpiObserver() local
2235 ScreenSettingHelper::RegisterExtendSettingDpiObserver(updateFunc); in RegisterExtendSettingDpiObserver()
3215 SettingObserver::UpdateFunc updateFunc = [&](const std::string& key) { SetCastFromSettingData(); }; in RegisterCastObserver() local
3216 ScreenSettingHelper::RegisterSettingCastObserver(updateFunc); in RegisterCastObserver()
3242 SettingObserver::UpdateFunc updateFunc = [&](const std::string& key) { in RegisterSettingRotationObserver() local
3253 ScreenSettingHelper::RegisterSettingRotationObserver(updateFunc); in RegisterSettingRotationObserver()
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/waterflow/
H A Dwater_flow_test_ng.cpp132 std::function<void(const std::string&, uint32_t)> updateFunc = in CreateItemsInRepeat() local
148 repeatModel.Create(itemNumber, {}, createFunc, updateFunc, getKeys, getTypes, [](uint32_t start, uint32_t end) {}); in CreateItemsInRepeat()
/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_manager.c270 int64_t authId, int32_t (*updateFunc)(AuthManager *, const AuthManager *, AuthLinkType), in UpdateAuthManagerByAuthId()
282 if (updateFunc(auth, inAuth, type) != SOFTBUS_OK) { in UpdateAuthManagerByAuthId()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_view.cpp693 .updateFunc = std::move(updateFunction), in CreateViewNode()

Completed in 33 milliseconds

12