Home
last modified time | relevance | path

Searched refs:eventChannel (Results 1 - 25 of 32) sorted by relevance

12

/foundation/window/window_manager/window_scene/test/unittest/
H A Dscene_session_manager_supplement_test.cpp229 sptr<IWindowEventChannel> eventChannel; in HWTEST_F() local
236 ssm_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, id, session, in HWTEST_F()
239 ssm_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, id, session, in HWTEST_F()
242 ssm_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, id, session, in HWTEST_F()
245 ssm_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, id, session, in HWTEST_F()
249 ssm_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, id, session, in HWTEST_F()
253 ssm_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, id, session, in HWTEST_F()
256 ssm_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, id, session, in HWTEST_F()
259 ssm_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, id, session, in HWTEST_F()
337 sptr<IWindowEventChannel> eventChannel; in HWTEST_F() local
411 sptr<IWindowEventChannel> eventChannel; HWTEST_F() local
[all...]
H A Dscene_session_manager_proxy_test.cpp71 sptr<IWindowEventChannel> eventChannel = new (std::nothrow) WindowEventChannelMocker(sessionStage); in HWTEST_F() local
81 sceneSessionManagerProxy_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, in HWTEST_F()
99 sptr<IWindowEventChannel> eventChannel = new (std::nothrow) WindowEventChannelMocker(sessionStage); in HWTEST_F() local
108 sceneSessionManagerProxy_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, in HWTEST_F()
126 sptr<IWindowEventChannel> eventChannel = new (std::nothrow) WindowEventChannelMocker(sessionStage); in HWTEST_F() local
136 sceneSessionManagerProxy_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, in HWTEST_F()
154 sptr<IWindowEventChannel> eventChannel = new (std::nothrow) WindowEventChannelMocker(sessionStage); in HWTEST_F() local
164 sceneSessionManagerProxy_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, in HWTEST_F()
182 sptr<IWindowEventChannel> eventChannel = new (std::nothrow) WindowEventChannelMocker(sessionStage); in HWTEST_F() local
190 auto ret = sceneSessionManagerProxy_->RecoverAndConnectSpecificSession(sessionStage, eventChannel, nod in HWTEST_F()
208 sptr<IWindowEventChannel> eventChannel = new (std::nothrow) WindowEventChannelMocker(sessionStage); HWTEST_F() local
234 sptr<IWindowEventChannel> eventChannel = new (std::nothrow) WindowEventChannelMocker(sessionStage); HWTEST_F() local
260 sptr<IWindowEventChannel> eventChannel = new (std::nothrow) WindowEventChannelMocker(sessionStage); HWTEST_F() local
286 sptr<IWindowEventChannel> eventChannel = new (std::nothrow) WindowEventChannelMocker(sessionStage); HWTEST_F() local
312 sptr<IWindowEventChannel> eventChannel = new (std::nothrow) WindowEventChannelMocker(sessionStage); HWTEST_F() local
[all...]
H A Dscene_session_manager_stub_lifecycle_test.cpp84 sptr<IWindowEventChannel> eventChannel = new WindowEventChannel(sessionStage); in HWTEST_F() local
85 ASSERT_NE(nullptr, eventChannel); in HWTEST_F()
86 data.WriteRemoteObject(eventChannel->AsObject()); in HWTEST_F()
96 data.WriteRemoteObject(eventChannel->AsObject()); in HWTEST_F()
H A Dscene_session_manager_stub_test.cpp79 sptr<IWindowEventChannel> eventChannel = new WindowEventChannel(sessionStage); in HWTEST_F() local
80 ASSERT_NE(nullptr, eventChannel); in HWTEST_F()
81 data.WriteRemoteObject(eventChannel->AsObject()); in HWTEST_F()
91 data.WriteRemoteObject(eventChannel->AsObject()); in HWTEST_F()
124 sptr<IWindowEventChannel> eventChannel = new WindowEventChannel(sessionStage); in HWTEST_F() local
125 ASSERT_NE(nullptr, eventChannel); in HWTEST_F()
126 data.WriteRemoteObject(eventChannel->AsObject()); in HWTEST_F()
136 data.WriteRemoteObject(eventChannel->AsObject()); in HWTEST_F()
169 sptr<IWindowEventChannel> eventChannel = new WindowEventChannel(sessionStage); in HWTEST_F() local
170 ASSERT_NE(nullptr, eventChannel); in HWTEST_F()
1070 sptr<IWindowEventChannel> eventChannel = new WindowEventChannel(sessionStage); HWTEST_F() local
1113 sptr<IWindowEventChannel> eventChannel = new WindowEventChannel(sessionStage); HWTEST_F() local
[all...]
H A Dscene_session_lifecycle_test.cpp773 sptr<IWindowEventChannel> eventChannel = nullptr; in HWTEST_F() local
778 WSError res = sceneSession->Connect(sessionStage, eventChannel, in HWTEST_F()
840 sptr<IWindowEventChannel> eventChannel = new WindowEventChannel(mockSessionStage); in HWTEST_F() local
841 ASSERT_NE(eventChannel, nullptr); in HWTEST_F()
843 result = sceneSession->ConnectInner(mockSessionStage, eventChannel, nullptr, systemConfig, in HWTEST_F()
863 sptr<IWindowEventChannel> eventChannel = nullptr; in HWTEST_F() local
870 sceneSession->Reconnect(sessionStage, eventChannel, surfaceNode, property, token, pid, uid); in HWTEST_F()
875 eventChannel = new TestWindowEventChannel(); in HWTEST_F()
876 res = sceneSession->Reconnect(sessionStage, eventChannel, surfaceNode, property); in HWTEST_F()
H A Dscene_session_manager_test2.cpp2004 sptr<IWindowEventChannel> eventChannel; in HWTEST_F() local
2013 WSError res = ssm_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, id, session, in HWTEST_F()
2021 res = ssm_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, id, session, in HWTEST_F()
2029 res = ssm_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, id, session, in HWTEST_F()
2036 res = ssm_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, id, session, in HWTEST_F()
2041 res = ssm_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, id, session, in HWTEST_F()
2047 res = ssm_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, id, session, in HWTEST_F()
2082 sptr<IWindowEventChannel> eventChannel; in HWTEST_F() local
2086 auto result = ssm_->RecoverAndConnectSpecificSession(sessionStage, eventChannel, in HWTEST_F()
H A Dscene_session_manager_test5.cpp1501 sptr<IWindowEventChannel> eventChannel = new (std::nothrow) WindowEventChannelMocker(sessionStage); in HWTEST_F() local
1502 ASSERT_NE(eventChannel, nullptr); in HWTEST_F()
1516 WSError res = ssm_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, id, session, in HWTEST_F()
1522 res = ssm_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, id, session, in HWTEST_F()
1526 res = ssm_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, id, session, in HWTEST_F()
1530 res = ssm_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, id, session, in HWTEST_F()
/foundation/window/window_manager/window_scene/session/host/src/
H A Dextension_session.cpp155 const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel, in ConnectInner()
164 auto task = [weakThis = wptr(this), sessionStage, eventChannel, surfaceNode, in ConnectInner()
172 if (eventChannel != nullptr) { in ConnectInner()
173 sptr<IRemoteObject> remoteObject = eventChannel->AsObject(); in ConnectInner()
188 sessionStage, eventChannel, surfaceNode, systemConfig, property, token, pid, uid); in ConnectInner()
194 const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel, in Connect()
202 return ConnectInner(sessionStage, eventChannel, surfaceNode, systemConfig, in Connect()
154 ConnectInner( const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode, SystemSessionConfig& systemConfig, sptr<WindowSessionProperty> property, sptr<IRemoteObject> token, int32_t pid, int32_t uid, const std::string& identityToken) ConnectInner() argument
193 Connect( const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode, SystemSessionConfig& systemConfig, sptr<WindowSessionProperty> property, sptr<IRemoteObject> token, const std::string& identityToken) Connect() argument
H A Dmain_session.cpp62 WSError MainSession::Reconnect(const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel, in Reconnect() argument
66 return PostSyncTask([weakThis = wptr(this), sessionStage, eventChannel, surfaceNode, property, token, pid, uid]() { in Reconnect()
72 WSError ret = session->Session::Reconnect(sessionStage, eventChannel, surfaceNode, property, token, pid, uid); in Reconnect()
H A Dsession.cpp994 const sptr<IWindowEventChannel>& eventChannel, in ConnectInner()
1007 if (sessionStage == nullptr || eventChannel == nullptr) { in ConnectInner()
1008 TLOGE(WmsLogTag::WMS_LIFE, "session stage or eventChannel is nullptr"); in ConnectInner()
1012 windowEventChannel_ = eventChannel; in ConnectInner()
1086 WSError Session::Reconnect(const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel, in Reconnect() argument
1096 if (sessionStage == nullptr || eventChannel == nullptr) { in Reconnect()
1097 TLOGE(WmsLogTag::WMS_RECOVER, "session stage or eventChannel is nullptr"); in Reconnect()
1102 windowEventChannel_ = eventChannel; in Reconnect()
993 ConnectInner(const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode, SystemSessionConfig& systemConfig, sptr<WindowSessionProperty> property, sptr<IRemoteObject> token, int32_t pid, int32_t uid, const std::string& identityToken) ConnectInner() argument
/foundation/window/window_manager/test/common/mock/
H A Dmock_window_adapter.h59 const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode,
62 const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode,
/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,
/foundation/window/window_manager/window_scene/session/host/include/
H A Dmain_session.h27 WSError Reconnect(const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel,
H A Dextension_session.h79 WSError Connect(const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel,
83 WSError ConnectInner(const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel,
H A Dscene_session.h148 WSError Connect(const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel,
152 WSError ConnectInner(const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel,
156 virtual WSError Reconnect(const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel,
/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,
/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,
/foundation/window/window_manager/wmserver/include/zidl/
H A Dwindow_manager_interface.h170 const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode, in CreateAndConnectSpecificSession()
174 const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode, in RecoverAndConnectSpecificSession()
183 const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode, in RecoverAndReconnectSceneSession()
169 CreateAndConnectSpecificSession(const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode, sptr<WindowSessionProperty> property, int32_t& persistentId, sptr<ISession>& session, SystemSessionConfig& systemConfig, sptr<IRemoteObject> token = nullptr) CreateAndConnectSpecificSession() argument
173 RecoverAndConnectSpecificSession(const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode, sptr<WindowSessionProperty> property, sptr<ISession>& session, sptr<IRemoteObject> token = nullptr) RecoverAndConnectSpecificSession() argument
182 RecoverAndReconnectSceneSession(const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode, sptr<ISession>& session, sptr<WindowSessionProperty> property, sptr<IRemoteObject> token = nullptr) RecoverAndReconnectSceneSession() argument
/foundation/window/window_manager/wm/src/
H A Dwindow_adapter.cpp748 const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode, in CreateAndConnectSpecificSession()
756 wmsProxy->CreateAndConnectSpecificSession(sessionStage, eventChannel, in CreateAndConnectSpecificSession()
761 const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode, in RecoverAndConnectSpecificSession()
770 sessionStage, eventChannel, surfaceNode, property, session, token); in RecoverAndConnectSpecificSession()
794 const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode, in RecoverAndReconnectSceneSession()
803 sessionStage, eventChannel, surfaceNode, session, property, token); in RecoverAndReconnectSceneSession()
747 CreateAndConnectSpecificSession(const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode, sptr<WindowSessionProperty> property, int32_t& persistentId, sptr<ISession>& session, SystemSessionConfig& systemConfig, sptr<IRemoteObject> token) CreateAndConnectSpecificSession() argument
760 RecoverAndConnectSpecificSession(const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode, sptr<WindowSessionProperty> property, sptr<ISession>& session, sptr<IRemoteObject> token) RecoverAndConnectSpecificSession() argument
793 RecoverAndReconnectSceneSession(const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode, sptr<ISession>& session, sptr<WindowSessionProperty> property, sptr<IRemoteObject> token) RecoverAndReconnectSceneSession() argument
/foundation/window/window_manager/window_scene/session_manager/src/zidl/
H A Dscene_session_manager_stub.cpp200 sptr<IWindowEventChannel> eventChannel = iface_cast<IWindowEventChannel>(eventChannelObject); in HandleCreateAndConnectSpecificSession() local
202 if (sessionStage == nullptr || eventChannel == nullptr || surfaceNode == nullptr) { in HandleCreateAndConnectSpecificSession()
224 CreateAndConnectSpecificSession(sessionStage, eventChannel, surfaceNode, in HandleCreateAndConnectSpecificSession()
242 sptr<IWindowEventChannel> eventChannel = iface_cast<IWindowEventChannel>(eventChannelObject); in HandleRecoverAndConnectSpecificSession() local
244 if (sessionStage == nullptr || eventChannel == nullptr || surfaceNode == nullptr) { in HandleRecoverAndConnectSpecificSession()
268 auto ret = RecoverAndConnectSpecificSession(sessionStage, eventChannel, surfaceNode, property, sceneSession, token); in HandleRecoverAndConnectSpecificSession()
283 sptr<IWindowEventChannel> eventChannel = iface_cast<IWindowEventChannel>(eventChannelObject); in HandleRecoverAndReconnectSceneSession() local
285 if (sessionStage == nullptr || eventChannel == nullptr || surfaceNode == nullptr) { in HandleRecoverAndReconnectSceneSession()
309 RecoverAndReconnectSceneSession(sessionStage, eventChannel, surfaceNode, sceneSession, property, token); in HandleRecoverAndReconnectSceneSession()
H A Dscene_session_manager_proxy.cpp34 const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode, in CreateAndConnectSpecificSession()
49 if (!data.WriteRemoteObject(eventChannel->AsObject())) { in CreateAndConnectSpecificSession()
99 const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode, in RecoverAndConnectSpecificSession()
113 if (!eventChannel || !data.WriteRemoteObject(eventChannel->AsObject())) { in RecoverAndConnectSpecificSession()
156 const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode, in RecoverAndReconnectSceneSession()
170 if (!eventChannel || !data.WriteRemoteObject(eventChannel->AsObject())) { in RecoverAndReconnectSceneSession()
33 CreateAndConnectSpecificSession(const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode, sptr<WindowSessionProperty> property, int32_t& persistentId, sptr<ISession>& session, SystemSessionConfig& systemConfig, sptr<IRemoteObject> token) CreateAndConnectSpecificSession() argument
98 RecoverAndConnectSpecificSession(const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode, sptr<WindowSessionProperty> property, sptr<ISession>& session, sptr<IRemoteObject> token) RecoverAndConnectSpecificSession() argument
155 RecoverAndReconnectSceneSession(const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode, sptr<ISession>& session, sptr<WindowSessionProperty> property, sptr<IRemoteObject> token) RecoverAndReconnectSceneSession() argument
/foundation/window/window_manager/window_scene/session/host/include/zidl/
H A Dsession_proxy.h37 WSError Connect(const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel,
H A Dsession_interface.h36 virtual WSError Connect(const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel, in Connect() argument
/foundation/window/window_manager/wm/test/unittest/
H A Dwindow_adapter_test.cpp715 sptr<IWindowEventChannel> eventChannel; in HWTEST_F() local
722 windowAdapter.CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, id, session, in HWTEST_F()

Completed in 34 milliseconds

12