Home
last modified time | relevance | path

Searched refs:notifyMessage (Results 1 - 16 of 16) sorted by relevance

/foundation/filemanagement/user_file_service/frameworks/js/napi/file_access_module/
H A Dnapi_observer_callback.h34 void OnChange(NotifyMessage &notifyMessage);
40 CallbackParam(NapiObserver *napiObserver, NotifyMessage notifyMessage) : napiObserver(napiObserver), in CallbackParam()
41 iNotifyMessage(notifyMessage) {} in CallbackParam()
53 void OnChange(NotifyMessage &notifyMessage) override
55 observer_->OnChange(notifyMessage);
H A Dnapi_observer_callback.cpp114 void NapiObserver::OnChange(NotifyMessage &notifyMessage) in OnChange() argument
130 std::unique_ptr<CallbackParam> callbackParam = std::make_unique<CallbackParam>(this, notifyMessage); in OnChange()
/foundation/filemanagement/user_file_service/services/native/file_access_service/src/
H A Dobserver_callback_stub.cpp68 std::shared_ptr<NotifyMessage> notifyMessage(data.ReadParcelable<NotifyMessage>()); in OnChangeStub()
69 if (notifyMessage == nullptr) { in OnChangeStub()
74 OnChange(*notifyMessage); in OnChangeStub()
H A Dobserver_callback_proxy.cpp27 void ObserverCallbackProxy::OnChange(NotifyMessage &notifyMessage) in OnChange() argument
37 if (!data.WriteParcelable(&notifyMessage)) { in OnChange()
38 HILOG_ERROR("fail to WriteParcelable notifyMessage"); in OnChange()
H A Dfile_access_service.cpp563 NotifyMessage notifyMessage{notifyType, uris}; in SendListNotify()
565 context->obs_->OnChange(notifyMessage); in SendListNotify()
577 NotifyMessage notifyMessage; in SendListNotify() local
578 notifyMessage.notifyType_ = notifyType; in SendListNotify()
579 notifyMessage.uris_ = context->notifyMap_[notifyType]; in SendListNotify()
581 context->obs_->OnChange(notifyMessage); in SendListNotify()
652 NotifyMessage notifyMessage; in InitTimer()
653 notifyMessage.notifyType_ = message.first; in InitTimer()
654 notifyMessage.uris_ = message.second; in InitTimer()
655 context->obs_->OnChange(notifyMessage); in InitTimer()
[all...]
/foundation/filemanagement/user_file_service/services/native/file_access_service/include/
H A Diobserver_callback.h33 virtual void OnChange(NotifyMessage &notifyMessage) = 0;
H A Dobserver_callback_proxy.h30 void OnChange(NotifyMessage &notifyMessage) override;
/foundation/arkui/ace_engine/test/unittest/core/manager/
H A Ddrag_drop_manager_test_ng_coverage.cpp1125 DragNotifyMsgCore notifyMessage; in HWTEST_F() local
1126 notifyMessage.dragBehavior = DragBehavior::COPY; in HWTEST_F()
1127 dragDropManager->SetDragBehavior(notifyMessage, event); in HWTEST_F()
1128 notifyMessage.dragBehavior = DragBehavior::MOVE; in HWTEST_F()
1129 dragDropManager->SetDragBehavior(notifyMessage, event); in HWTEST_F()
1130 notifyMessage.dragBehavior = DragBehavior::UNKNOWN; in HWTEST_F()
1131 dragDropManager->SetDragBehavior(notifyMessage, event); in HWTEST_F()
1147 DragNotifyMsgCore notifyMessage; in HWTEST_F() local
1148 notifyMessage.result = DragRet::DRAG_SUCCESS; in HWTEST_F()
1149 dragDropManager->SetDragResult(notifyMessage, even in HWTEST_F()
[all...]
/foundation/filemanagement/user_file_service/test/unittest/
H A Dexternal_notify_test.cpp153 void OnChange(NotifyMessage &notifyMessage) override;
156 void MyObserver::OnChange(NotifyMessage &notifyMessage) in OnChange() argument
158 g_notifyEvent = static_cast<int>(notifyMessage.notifyType_); in OnChange()
159 std::string notifyUri = notifyMessage.uris_[0]; in OnChange()
162 std::to_string(notifyMessage.uris_.size()); in OnChange()
169 void OnChange(NotifyMessage &notifyMessage) override;
172 void TestObserver::OnChange(NotifyMessage &notifyMessage) in OnChange() argument
174 g_notifyFlag = static_cast<int>(notifyMessage.notifyType_); in OnChange()
175 std::string notifyUri = notifyMessage.uris_[0]; in OnChange()
176 g_notifyUris = notifyMessage in OnChange()
[all...]
H A Dfile_access_service_proxy_test.cpp52 MOCK_METHOD1(OnChange, void(NotifyMessage &notifyMessage));
/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/drag_drop/
H A Ddrag_drop_manager.h106 const DragNotifyMsgCore& notifyMessage, const RefPtr<OHOS::Ace::DragEvent>& dragEvent, int32_t currentId);
320 void SetDragResult(const DragNotifyMsgCore& notifyMessage, const RefPtr<OHOS::Ace::DragEvent>& dragEvent);
321 void SetDragBehavior(const DragNotifyMsgCore& notifyMessage, const RefPtr<OHOS::Ace::DragEvent>& dragEvent);
H A Ddrag_drop_manager.cpp788 const DragNotifyMsgCore& notifyMessage, const RefPtr<OHOS::Ace::DragEvent>& dragEvent, int32_t currentId) in ResetDragEndOption()
790 SetDragResult(notifyMessage, dragEvent); in ResetDragEndOption()
791 SetDragBehavior(notifyMessage, dragEvent); in ResetDragEndOption()
1937 const DragNotifyMsgCore& notifyMessage, const RefPtr<OHOS::Ace::DragEvent>& dragEvent) in SetDragResult()
1940 switch (notifyMessage.result) { in SetDragResult()
1958 const DragNotifyMsgCore& notifyMessage, const RefPtr<OHOS::Ace::DragEvent>& dragEvent) in SetDragBehavior()
1961 switch (notifyMessage.dragBehavior) { in SetDragBehavior()
787 ResetDragEndOption( const DragNotifyMsgCore& notifyMessage, const RefPtr<OHOS::Ace::DragEvent>& dragEvent, int32_t currentId) ResetDragEndOption() argument
1936 SetDragResult( const DragNotifyMsgCore& notifyMessage, const RefPtr<OHOS::Ace::DragEvent>& dragEvent) SetDragResult() argument
1957 SetDragBehavior( const DragNotifyMsgCore& notifyMessage, const RefPtr<OHOS::Ace::DragEvent>& dragEvent) SetDragBehavior() argument
/foundation/arkui/ace_engine/frameworks/core/components_ng/event/
H A Dgesture_event_hub_drag.cpp737 DragNotifyMsg notifyMessage; in OnDragStart() local
738 notifyMessage.isInnerAndOuterTriggerBothNeeded = false; in OnDragStart()
741 dragCallBack(notifyMessage); in OnDragStart()
925 auto ret = [](const DragNotifyMsgCore& notifyMessage) {}; in GetDragCallback()
937 const DragNotifyMsgCore& notifyMessage) { in GetDragCallback()
940 [eventHub, dragEvent, dragDropManager, eventManager, notifyMessage, id]() { in GetDragCallback()
948 dragDropManager->ResetDragEndOption(notifyMessage, dragEvent, id); in GetDragCallback()
956 if (notifyMessage.isInnerAndOuterTriggerBothNeeded) { in GetDragCallback()
/foundation/arkui/ace_engine/advanced_ui_component/atomicserviceweb/interfaces/
H A Datomicserviceweb.js268 this.atomicService?.notifyMessage();
635 notifyMessage() {
/foundation/arkui/advanced_ui_component/atomicserviceweb/interfaces/
H A Datomicserviceweb.js268 this.atomicService?.notifyMessage();
635 notifyMessage() {
/foundation/arkui/ace_engine/test/unittest/core/event/
H A Dgesture_event_hub_test_ng_property_config.cpp1786 DragNotifyMsgCore notifyMessage; in HWTEST_F() local
1787 dragCallback(notifyMessage); in HWTEST_F()

Completed in 22 milliseconds