Home
last modified time | relevance | path

Searched refs:updater (Results 1 - 19 of 19) sorted by relevance

/foundation/bundlemanager/app_domain_verify/test/unittest/frameworks_common/config_test/
H A Dconfig_test.cpp177 std::shared_ptr<WhiteListConfigMgr> updater = std::make_shared<WhiteListConfigMgr>(); in HWTEST_F() local
180 updater->UpdateWhiteList(whiteList); in HWTEST_F()
182 ASSERT_TRUE(updater->whiteListSet_.empty()); in HWTEST_F()
194 std::shared_ptr<WhiteListConfigMgr> updater = std::make_shared<WhiteListConfigMgr>(); in HWTEST_F() local
198 updater->UpdateWhiteList(whiteList); in HWTEST_F()
200 ASSERT_TRUE(!updater->whiteListSet_.empty()); in HWTEST_F()
214 std::shared_ptr<WhiteListConfigMgr> updater = std::make_shared<WhiteListConfigMgr>(); in HWTEST_F() local
219 updater->UpdateWhiteList(whiteList); in HWTEST_F()
221 ASSERT_TRUE(!updater->whiteListSet_.empty()); in HWTEST_F()
236 std::shared_ptr<WhiteListConfigMgr> updater in HWTEST_F() local
255 std::shared_ptr<WhiteListConfigMgr> updater = std::make_shared<WhiteListConfigMgr>(); HWTEST_F() local
272 std::shared_ptr<WhiteListConfigMgr> updater = std::make_shared<WhiteListConfigMgr>(); HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_particle.cpp188 bool ParseFloatRandomConfig(JSRef<JSVal>& configJsValue, OHOS::Ace::NG::ParticleFloatPropertyUpdater& updater) in ParseFloatRandomConfig() argument
204 updater.SetConfig(randomUpdaterConfig); in ParseFloatRandomConfig()
208 bool ParseFloatCurveConfig(JSRef<JSVal>& configJsValue, OHOS::Ace::NG::ParticleFloatPropertyUpdater& updater, in ParseFloatCurveConfig() argument
219 updater.SetConfig(updateConfig); in ParseFloatCurveConfig()
223 bool ParseFloatUpdater(JSRef<JSObject>& updaterJsObject, OHOS::Ace::NG::ParticleFloatPropertyUpdater& updater, in ParseFloatUpdater() argument
233 updater.SetUpdaterType(type); in ParseFloatUpdater()
236 if (!ParseFloatRandomConfig(configJsValue, updater)) { in ParseFloatUpdater()
240 updater.SetConfig(randomUpdaterConfig); in ParseFloatUpdater()
244 if (!ParseFloatCurveConfig(configJsValue, updater, defaultValue, minValue, maxValue)) { in ParseFloatUpdater()
248 updater in ParseFloatUpdater()
305 NG::ParticleFloatPropertyUpdater updater; ParseFloatOption() local
500 ParseColorRandomUpdater(JSRef<JSVal> configJsValue, OHOS::Ace::NG::ParticleColorPropertyUpdater& updater) ParseColorRandomUpdater() argument
532 ParseColorCurveUpdater(JSRef<JSVal> configJsValue, OHOS::Ace::NG::ParticleColorPropertyUpdater& updater) ParseColorCurveUpdater() argument
547 ParseColorUpdater(JSRef<JSObject>& updaterJsObject, OHOS::Ace::NG::ParticleColorPropertyUpdater& updater) ParseColorUpdater() argument
606 NG::ParticleColorPropertyUpdater updater; ParseColorOption() local
[all...]
/foundation/distributeddatamgr/kv_store/interfaces/innerkits/distributeddata/include/
H A Dpriority_queue.h39 PriorityQueue(const _Tsk &task, TskUpdater updater = nullptr) in PriorityQueue()
40 : INVALID_TSK(std::move(task)), updater_(std::move(updater)) in PriorityQueue()
93 bool Update(_Tid id, TskUpdater updater) in Update() argument
98 auto [repeat, time] = updater(index->second->second.task_); in Update()
108 auto [repeat, time] = updater((*running).second.task_); in Update()
/foundation/distributeddatamgr/preferences/frameworks/native/include/
H A Dpriority_queue.h38 PriorityQueue(const _Tsk &task, TskUpdater updater = nullptr) in PriorityQueue()
39 : INVALID_TSK(std::move(task)), updater_(std::move(updater)) in PriorityQueue()
92 bool Update(_Tid id, TskUpdater updater) in Update() argument
97 auto [updated, time] = updater(index->second->second.task_); in Update()
110 auto [updated, time] = updater((*running).second.task_); in Update()
/foundation/distributeddatamgr/kv_store/frameworks/common/test/
H A Dpriority_queue_test.cpp282 auto updater = [](TestTask &) { return std::pair{false, Time()};}; in HWTEST_F() local
289 auto retUpdate = priorityqueue_.Update(id, updater); in HWTEST_F()
302 auto updater = [](TestTask &) { return std::pair{false, Time()};}; in HWTEST_F() local
309 auto retUpdate = priorityqueue_.Update(id, updater); in HWTEST_F()
322 auto updater = [](TestTask &) { return std::pair{false, Time()};}; in HWTEST_F() local
330 auto retUpdate = priorityqueue_.Update(retPop.taskId, updater); in HWTEST_F()
343 auto updater = [](TestTask &) { return std::pair{true, Time()};}; in HWTEST_F() local
351 auto retUpdate = priorityqueue_.Update(retPop.taskId, updater); in HWTEST_F()
364 auto updater = [](TestTask &) { return std::pair{false, Time()};}; in HWTEST_F() local
373 auto retUpdate = priorityqueue_.Update(retPop.taskId, updater); in HWTEST_F()
386 auto updater = [](TestTask &) { return std::pair{true, Time()};}; HWTEST_F() local
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/
H A Drs_property_drawable.cpp111 RSPropertyDrawCmdListUpdater updater(0, 0, this); in OnUpdate()
112 updater.GetRecordingCanvas()->Translate(frameOffsetX, frameOffsetY); in OnUpdate()
128 RSPropertyDrawCmdListUpdater updater(0, 0, this); in OnUpdate()
129 auto& canvas = *updater.GetRecordingCanvas(); in OnUpdate()
163 RSPropertyDrawCmdListUpdater updater(0, 0, this); in OnUpdate()
164 updater.GetRecordingCanvas()->ClipRect( in OnUpdate()
H A Drs_property_drawable_foreground.cpp193 RSPropertyDrawCmdListUpdater updater(0, 0, this);
194 Drawing::Canvas& canvas = *updater.GetRecordingCanvas();
386 RSPropertyDrawCmdListUpdater updater(0, 0, this);
387 DrawBorder(properties, *updater.GetRecordingCanvas(), border, false);
460 RSPropertyDrawCmdListUpdater updater(0, 0, this);
461 RSBorderDrawable::DrawBorder(properties, *updater.GetRecordingCanvas(), outline, true);
713 RSPropertyDrawCmdListUpdater updater(0, 0, this);
714 Drawing::Canvas& canvas = *updater.GetRecordingCanvas();
H A Drs_property_drawable_background.cpp153 RSPropertyDrawCmdListUpdater updater(0, 0, this); in OnUpdate()
154 Drawing::Canvas& canvas = *updater.GetRecordingCanvas(); in OnUpdate()
227 RSPropertyDrawCmdListUpdater updater(0, 0, this); in OnUpdate()
228 Drawing::Canvas& canvas = *updater.GetRecordingCanvas(); in OnUpdate()
281 RSPropertyDrawCmdListUpdater updater(0, 0, this); in OnUpdate()
282 Drawing::Canvas& canvas = *updater.GetRecordingCanvas(); in OnUpdate()
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Drosen_particle_context.cpp69 std::shared_ptr<Rosen::EmitterUpdater> updater = std::make_shared<Rosen::EmitterUpdater>( in updateEmitterPosition() local
71 emitUpdater.push_back(updater); in updateEmitterPosition()
H A Drosen_render_context.cpp1489 auto updater = updaterOpt.value(); in ConvertParticleColorOption() local
1490 auto updateType = updater.GetUpdateType(); in ConvertParticleColorOption()
1491 auto config = updater.GetConfig(); in ConvertParticleColorOption()
1554 auto updater = updaterOpt.value(); in ConvertParticleFloatOption() local
1555 auto updateType = updater.GetUpdaterType(); in ConvertParticleFloatOption()
1556 auto& config = updater.GetConfig(); in ConvertParticleFloatOption()
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/data/
H A Dinterface_manager.cpp26 int InterfaceManager::UpdateInterface(InterfaceInfo::InterfaceType type, const Updater &updater) in UpdateInterface() argument
29 return updater(interfaces_[static_cast<int>(type)]); in UpdateInterface()
H A Dinterface_manager.h36 int UpdateInterface(InterfaceInfo::InterfaceType type, const Updater &updater);
/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_source/hls/
H A Dm3u8.cpp141 auto updater = iter->second; in UpdateFromTags() local
142 updater(tag, info); in UpdateFromTags()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/
H A Dnavigation_model.h44 std::function<void(RefPtr<NG::NavigationStack>)> updater) {}; in SetNavigationStackWithCreatorAndUpdater()
43 SetNavigationStackWithCreatorAndUpdater(std::function<RefPtr<NG::NavigationStack>()> creator, std::function<void(RefPtr<NG::NavigationStack>)> updater) SetNavigationStackWithCreatorAndUpdater() argument
H A Dnavigation_model_ng.h31 std::function<void(RefPtr<NG::NavigationStack>)> updater) override;
H A Dnavigation_model_ng.cpp988 std::function<RefPtr<NG::NavigationStack>()> creator, std::function<void(RefPtr<NG::NavigationStack>)> updater) in SetNavigationStackWithCreatorAndUpdater()
1000 updater(stack); in SetNavigationStackWithCreatorAndUpdater()
987 SetNavigationStackWithCreatorAndUpdater( std::function<RefPtr<NG::NavigationStack>()> creator, std::function<void(RefPtr<NG::NavigationStack>)> updater) SetNavigationStackWithCreatorAndUpdater() argument
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/
H A Dparticle_property.h453 void SetUpdater(const ParticleFloatPropertyUpdater& updater) in SetUpdater()
455 updater_ = updater; in SetUpdater()
472 str.append("updater: [").append(updater_.has_value() ? updater_->ToString() : "NA").append("]"); in ToString()
689 void SetUpdater(ParticleColorPropertyUpdater& updater) in SetUpdater()
691 updater_ = updater; in SetUpdater()
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/hls/
H A Dm3u8.cpp199 auto updater = iter->second; in UpdateFromTags() local
200 updater(tag, info); in UpdateFromTags()
/foundation/multimodalinput/input/service/window_manager/src/
H A Dknuckle_drawing_manager.cpp555 auto updater = std::make_shared<Rosen::EmitterUpdater>( in UpdateEmitter() local
558 paras.push_back(updater); in UpdateEmitter()

Completed in 26 milliseconds