Home
last modified time | relevance | path

Searched refs:eventChannel (Results 1 – 25 of 31) sorted by relevance

12

/ohos5.0/foundation/window/window_manager/window_scene/test/unittest/
H A Dscene_session_manager_supplement_test.cpp229 sptr<IWindowEventChannel> eventChannel; variable
236 ssm_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, id, session,
239 ssm_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, id, session,
242 ssm_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, id, session,
245 ssm_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, id, session,
249 ssm_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, id, session,
253 ssm_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, id, session,
256 ssm_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, id, session,
259 ssm_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, id, session,
337 sptr<IWindowEventChannel> eventChannel; variable
[all …]
H A Dscene_session_manager_proxy_test.cpp70 …sptr<IWindowEventChannel> eventChannel = new (std::nothrow) WindowEventChannelMocker(sessionStage); variable
80 …sceneSessionManagerProxy_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, prope…
98 …sptr<IWindowEventChannel> eventChannel = new (std::nothrow) WindowEventChannelMocker(sessionStage); variable
107 …sceneSessionManagerProxy_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, prope…
125 …sptr<IWindowEventChannel> eventChannel = new (std::nothrow) WindowEventChannelMocker(sessionStage); variable
153 …sptr<IWindowEventChannel> eventChannel = new (std::nothrow) WindowEventChannelMocker(sessionStage); variable
181 …sptr<IWindowEventChannel> eventChannel = new (std::nothrow) WindowEventChannelMocker(sessionStage); variable
207 …sptr<IWindowEventChannel> eventChannel = new (std::nothrow) WindowEventChannelMocker(sessionStage); variable
233 …sptr<IWindowEventChannel> eventChannel = new (std::nothrow) WindowEventChannelMocker(sessionStage); variable
259 …sptr<IWindowEventChannel> eventChannel = new (std::nothrow) WindowEventChannelMocker(sessionStage); variable
[all …]
H A Dscene_session_manager_stub_lifecycle_test.cpp81 sptr<IWindowEventChannel> eventChannel = new WindowEventChannel(sessionStage); variable
82 ASSERT_NE(nullptr, eventChannel);
83 data.WriteRemoteObject(eventChannel->AsObject());
92 data.WriteRemoteObject(eventChannel->AsObject());
H A Dscene_session_manager_stub_test.cpp80 ASSERT_NE(nullptr, eventChannel);
81 data.WriteRemoteObject(eventChannel->AsObject());
91 data.WriteRemoteObject(eventChannel->AsObject());
125 ASSERT_NE(nullptr, eventChannel);
126 data.WriteRemoteObject(eventChannel->AsObject());
136 data.WriteRemoteObject(eventChannel->AsObject());
170 ASSERT_NE(nullptr, eventChannel);
171 data.WriteRemoteObject(eventChannel->AsObject());
181 data.WriteRemoteObject(eventChannel->AsObject());
1069 ASSERT_NE(nullptr, eventChannel);
[all …]
H A Dscene_session_lifecycle_test.cpp786 sptr<IWindowEventChannel> eventChannel = nullptr; variable
791 WSError res = sceneSession->Connect(sessionStage, eventChannel,
853 sptr<IWindowEventChannel> eventChannel = new WindowEventChannel(mockSessionStage); variable
854 ASSERT_NE(eventChannel, nullptr);
856 result = sceneSession->ConnectInner(mockSessionStage, eventChannel, nullptr, systemConfig,
876 sptr<IWindowEventChannel> eventChannel = nullptr; variable
883 … sceneSession->Reconnect(sessionStage, eventChannel, surfaceNode, property, token, pid, uid);
888 eventChannel = new TestWindowEventChannel();
889 res = sceneSession->Reconnect(sessionStage, eventChannel, surfaceNode, property);
H A Dscene_session_manager_test5.cpp957 sptr<IWindowEventChannel> eventChannel; variable
970 ssm_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, id, session,
973 ssm_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, id, session,
976 ssm_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, id, session,
979 ssm_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, id, session,
986 …auto res = ssm_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, id, s…
H A Dscene_session_manager_test2.cpp1960 sptr<IWindowEventChannel> eventChannel; variable
1968 ssm_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, id, session,
1973 ssm_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, id, session,
2007 sptr<IWindowEventChannel> eventChannel; variable
2011 auto result = ssm_->RecoverAndConnectSpecificSession(sessionStage, eventChannel,
/ohos5.0/foundation/window/window_manager/window_scene/session/host/src/
H A Dextension_session.cpp150 const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel, in ConnectInner() argument
159 auto task = [weakThis = wptr(this), sessionStage, eventChannel, surfaceNode, in ConnectInner()
167 if (eventChannel != nullptr) { in ConnectInner()
168 sptr<IRemoteObject> remoteObject = eventChannel->AsObject(); in ConnectInner()
192 sessionStage, eventChannel, surfaceNode, systemConfig, property, token, pid, uid); in ConnectInner()
198 const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel, in Connect() argument
206 return ConnectInner(sessionStage, eventChannel, surfaceNode, systemConfig, in Connect()
H A Dmain_session.cpp60 …::Reconnect(const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel, in Reconnect() argument
64 …return PostSyncTask([weakThis = wptr(this), sessionStage, eventChannel, surfaceNode, property, tok… in Reconnect()
70 …WSError ret = session->Session::Reconnect(sessionStage, eventChannel, surfaceNode, property, token… in Reconnect()
H A Dsession.cpp998 const sptr<IWindowEventChannel>& eventChannel, in ConnectInner() argument
1011 if (sessionStage == nullptr || eventChannel == nullptr) { in ConnectInner()
1016 windowEventChannel_ = eventChannel; in ConnectInner()
1099 …::Reconnect(const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel, in Reconnect() argument
1109 if (sessionStage == nullptr || eventChannel == nullptr) { in Reconnect()
1115 windowEventChannel_ = eventChannel; in Reconnect()
/ohos5.0/foundation/window/window_manager/window_scene/test/mock/
H A Dmock_session.h28 … const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode,
32 … const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode,
H A Dmock_session_stub.h33 … const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode,
/ohos5.0/foundation/window/window_manager/window_scene/session/host/include/
H A Dextension_session.h78 …ror Connect(const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel,
82 …onnectInner(const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel,
H A Dmain_session.h27 …r Reconnect(const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel,
H A Dscene_session.h152 …ror Connect(const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel,
156 …onnectInner(const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel,
160 …r Reconnect(const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel,
H A Dsession.h132 …onnectInner(const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel,
136 …r Reconnect(const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel,
/ohos5.0/foundation/window/window_manager/wm/include/
H A Dwindow_adapter.h103 … const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode,
107 … const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode,
113 … const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode,
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/include/zidl/
H A Dscene_session_manager_proxy.h31 … const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode,
35 … const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode,
38 … const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode,
/ohos5.0/foundation/window/window_manager/wmserver/include/zidl/
H A Dwindow_manager_interface.h170 … const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode,
174 … const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode,
183 … const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode,
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/zidl/
H A Dscene_session_manager_stub.cpp205 sptr<IWindowEventChannel> eventChannel = iface_cast<IWindowEventChannel>(eventChannelObject); in HandleCreateAndConnectSpecificSession() local
207 if (sessionStage == nullptr || eventChannel == nullptr || surfaceNode == nullptr) { in HandleCreateAndConnectSpecificSession()
229 CreateAndConnectSpecificSession(sessionStage, eventChannel, surfaceNode, in HandleCreateAndConnectSpecificSession()
247 sptr<IWindowEventChannel> eventChannel = iface_cast<IWindowEventChannel>(eventChannelObject); in HandleRecoverAndConnectSpecificSession() local
249 if (sessionStage == nullptr || eventChannel == nullptr || surfaceNode == nullptr) { in HandleRecoverAndConnectSpecificSession()
269 …auto ret = RecoverAndConnectSpecificSession(sessionStage, eventChannel, surfaceNode, property, sce… in HandleRecoverAndConnectSpecificSession()
284 sptr<IWindowEventChannel> eventChannel = iface_cast<IWindowEventChannel>(eventChannelObject); in HandleRecoverAndReconnectSceneSession() local
286 if (sessionStage == nullptr || eventChannel == nullptr || surfaceNode == nullptr) { in HandleRecoverAndReconnectSceneSession()
306 …RecoverAndReconnectSceneSession(sessionStage, eventChannel, surfaceNode, sceneSession, property, t… in HandleRecoverAndReconnectSceneSession()
H A Dscene_session_manager_proxy.cpp34 … const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode, in CreateAndConnectSpecificSession() argument
49 if (!data.WriteRemoteObject(eventChannel->AsObject())) { in CreateAndConnectSpecificSession()
99 … const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode, in RecoverAndConnectSpecificSession() argument
113 if (!eventChannel || !data.WriteRemoteObject(eventChannel->AsObject())) { in RecoverAndConnectSpecificSession()
156 … const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode, in RecoverAndReconnectSceneSession() argument
170 if (!eventChannel || !data.WriteRemoteObject(eventChannel->AsObject())) { in RecoverAndReconnectSceneSession()
/ohos5.0/foundation/window/window_manager/wm/src/
H A Dwindow_adapter.cpp748 … const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode, in CreateAndConnectSpecificSession() argument
756 wmsProxy->CreateAndConnectSpecificSession(sessionStage, eventChannel, in CreateAndConnectSpecificSession()
761 … const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode, in RecoverAndConnectSpecificSession() argument
770 sessionStage, eventChannel, surfaceNode, property, session, token); in RecoverAndConnectSpecificSession()
794 … const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode, in RecoverAndReconnectSceneSession() argument
803 sessionStage, eventChannel, surfaceNode, session, property, token); in RecoverAndReconnectSceneSession()
/ohos5.0/foundation/window/window_manager/window_scene/session/host/include/zidl/
H A Dsession_proxy.h36 …ror Connect(const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel,
H A Dsession_interface.h36 …ror Connect(const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel,
/ohos5.0/foundation/window/window_manager/window_scene/session/host/src/zidl/
H A Dsession_stub.cpp286 sptr<IWindowEventChannel> eventChannel = iface_cast<IWindowEventChannel>(eventChannelObject); in HandleConnect() local
288 if (sessionStage == nullptr || eventChannel == nullptr || surfaceNode == nullptr) { in HandleConnect()
314 … WSError errCode = Connect(sessionStage, eventChannel, surfaceNode, systemConfig, property, token, in HandleConnect()

12