/foundation/window/window_manager/window_scene/test/dms_unittest/ |
H A D | setting_provider_test.cpp | 111 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 D | oobe_mgr_test.cpp | 56 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 D | view_partial_update_model_impl.cpp | 38 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 D | stylus_key_handler.cpp | 67 SettingObserver::UpdateFunc updateFunc = [&item](const std::string& key) { in CreateStatusConfigObserver() local 79 .CreateObserver(item.statusConfig, updateFunc); in CreateStatusConfigObserver()
|
H A D | key_command_handler.cpp | 1169 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 D | custom_node_base.h | 73 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 D | oobe_manager.cpp | 169 OOBEManager::ResDataAbilityObserver::UpdateFunc updateFunc = [&]() { in StartListen() local 184 RegisterObserver(KEYWORD, updateFunc); in StartListen()
|
/foundation/filemanagement/dfs_service/utils/dentry/include/ |
H A D | meta_file.h | 50 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 D | view_partial_update_model.h | 36 std::function<void()> updateFunc; member
|
H A D | view_partial_update_model_ng.cpp | 64 customNode->SetUpdateFunction(std::move(info.updateFunc)); in CreateNode()
|
/foundation/resourceschedule/resource_schedule_service/ressched/test/fuzztest/ressched_fuzzer/ |
H A D | ressched_fuzzer.cpp | 413 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 D | grid_test_ng.cpp | 238 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 D | volume_data_maintainer.cpp | 503 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 D | fingerprint_event_processor.cpp | 354 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 D | dentry_meta_file_clouddisk_test.cpp | 413 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 D | native_view.cpp | 73 .updateFunc = [weakThis]() -> void { in CreateUI()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | jsXNode.js | 249 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 D | touch_drawing_manager.cpp | 289 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 D | knuckle_drawing_manager.cpp | 951 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 D | custom_test_ng.cpp | 274 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 D | list_test_ng.cpp | 289 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 D | screen_session_manager.cpp | 2223 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 D | water_flow_test_ng.cpp | 132 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 D | auth_manager.c | 270 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 D | js_view.cpp | 693 .updateFunc = std::move(updateFunction), in CreateViewNode()
|