Home
last modified time | relevance | path

Searched refs:sessionStage (Results 1 - 25 of 41) sorted by relevance

12

/foundation/window/window_manager/window_scene/test/unittest/
H A Dscene_session_manager_proxy_test.cpp70 sptr<ISessionStage> sessionStage = new (std::nothrow) SessionStageMocker(); in HWTEST_F() local
71 sptr<IWindowEventChannel> eventChannel = new (std::nothrow) WindowEventChannelMocker(sessionStage); in HWTEST_F()
81 sceneSessionManagerProxy_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, in HWTEST_F()
98 sptr<ISessionStage> sessionStage = new (std::nothrow) SessionStageMocker(); in HWTEST_F() local
99 sptr<IWindowEventChannel> eventChannel = new (std::nothrow) WindowEventChannelMocker(sessionStage); in HWTEST_F()
108 sceneSessionManagerProxy_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, in HWTEST_F()
125 sptr<ISessionStage> sessionStage = new (std::nothrow) SessionStageMocker(); in HWTEST_F() local
126 sptr<IWindowEventChannel> eventChannel = new (std::nothrow) WindowEventChannelMocker(sessionStage); in HWTEST_F()
136 sceneSessionManagerProxy_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, in HWTEST_F()
153 sptr<ISessionStage> sessionStage in HWTEST_F() local
181 sptr<ISessionStage> sessionStage = new (std::nothrow) SessionStageMocker(); HWTEST_F() local
207 sptr<ISessionStage> sessionStage = new (std::nothrow) SessionStageMocker(); HWTEST_F() local
233 sptr<ISessionStage> sessionStage = new (std::nothrow) SessionStageMocker(); HWTEST_F() local
259 sptr<ISessionStage> sessionStage = new (std::nothrow) SessionStageMocker(); HWTEST_F() local
285 sptr<ISessionStage> sessionStage = new (std::nothrow) SessionStageMocker(); HWTEST_F() local
311 sptr<ISessionStage> sessionStage = new (std::nothrow) SessionStageMocker(); HWTEST_F() local
593 sptr<ISessionStage> sessionStage = sptr<SessionStageMocker>::MakeSptr(); HWTEST_F() local
614 sptr<ISessionStage> sessionStage = sptr<SessionStageMocker>::MakeSptr(); HWTEST_F() local
[all...]
H A Dscene_session_manager_supplement_test.cpp228 sptr<ISessionStage> sessionStage; 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()
336 sptr<ISessionStage> sessionStage; in HWTEST_F() local
410 sptr<ISessionStage> sessionStage; HWTEST_F() local
[all...]
H A Dwindow_event_channel_test.cpp47 sptr<ISessionStage> sessionStage = new SessionStageMocker(); member in OHOS::Rosen::WindowEventChannelTest
48 sptr<WindowEventChannel> windowEventChannel_ = new WindowEventChannelMocker(sessionStage);
132 sptr<WindowEventChannel> windowEventChannel = new (std::nothrow) WindowEventChannel(sessionStage); in HWTEST_F()
179 sptr<WindowEventChannel> windowEventChannel = new (std::nothrow) WindowEventChannel(sessionStage); in HWTEST_F()
281 sptr<WindowEventChannel> windowEventChannel = new (std::nothrow) WindowEventChannel(sessionStage); in HWTEST_F()
299 sptr<ISessionStage> sessionStage = new SessionStageMocker(); in HWTEST_F() local
300 sptr<WindowEventChannel> windowEventChannel = new WindowEventChannel(sessionStage); in HWTEST_F()
317 sptr<ISessionStage> sessionStage = new SessionStageMocker(); in HWTEST_F() local
318 sptr<WindowEventChannel> windowEventChannel = new WindowEventChannel(sessionStage); in HWTEST_F()
H A Dscene_session_manager_stub_test.cpp76 sptr<ISessionStage> sessionStage = new SessionStageMocker(); in HWTEST_F() local
77 ASSERT_NE(nullptr, sessionStage); in HWTEST_F()
78 data.WriteRemoteObject(sessionStage->AsObject()); in HWTEST_F()
79 sptr<IWindowEventChannel> eventChannel = new WindowEventChannel(sessionStage); in HWTEST_F()
90 data.WriteRemoteObject(sessionStage->AsObject()); in HWTEST_F()
121 sptr<ISessionStage> sessionStage = new SessionStageMocker(); in HWTEST_F() local
122 ASSERT_NE(nullptr, sessionStage); in HWTEST_F()
123 data.WriteRemoteObject(sessionStage->AsObject()); in HWTEST_F()
124 sptr<IWindowEventChannel> eventChannel = new WindowEventChannel(sessionStage); in HWTEST_F()
135 data.WriteRemoteObject(sessionStage in HWTEST_F()
166 sptr<ISessionStage> sessionStage = new SessionStageMocker(); HWTEST_F() local
1067 sptr<ISessionStage> sessionStage = new SessionStageMocker(); HWTEST_F() local
1110 sptr<ISessionStage> sessionStage = new SessionStageMocker(); HWTEST_F() local
1821 sptr<ISessionStage> sessionStage = sptr<SessionStageMocker>::MakeSptr(); HWTEST_F() local
1845 sptr<ISessionStage> sessionStage = sptr<SessionStageMocker>::MakeSptr(); HWTEST_F() local
[all...]
H A Dwindow_event_channel_stub_mock_test.cpp44 sptr<ISessionStage> sessionStage = new SessionStageMocker(); member in OHOS::Rosen::WindowEventChannelMockStubTest
45 sptr<WindowEventChannelStub> windowEventChannelStub_ = new WindowEventChannelMocker(sessionStage);
H A Dscene_session_manager_stub_lifecycle_test.cpp78 sptr<ISessionStage> sessionStage = new SessionStageMocker(); in HWTEST_F() local
79 ASSERT_NE(nullptr, sessionStage); in HWTEST_F()
83 data.WriteRemoteObject(sessionStage->AsObject()); in HWTEST_F()
84 sptr<IWindowEventChannel> eventChannel = new WindowEventChannel(sessionStage); in HWTEST_F()
95 data.WriteRemoteObject(sessionStage->AsObject()); in HWTEST_F()
H A Dwindow_event_channel_stub_test.cpp50 sptr<ISessionStage> sessionStage = new SessionStageMocker(); member in OHOS::Rosen::WindowEventChannelStubTest
51 sptr<WindowEventChannelStub> windowEventChannelStub_ = new WindowEventChannelMocker(sessionStage);
H A Dscene_session_manager_test5.cpp1328 sptr<ISessionStage> sessionStage = new (std::nothrow) SessionStageMocker(); in HWTEST_F() local
1329 ssm_->AddClientDeathRecipient(sessionStage, sceneSession); in HWTEST_F()
1499 sptr<ISessionStage> sessionStage = new (std::nothrow) SessionStageMocker(); in HWTEST_F() local
1500 ASSERT_NE(sessionStage, nullptr); in HWTEST_F()
1501 sptr<IWindowEventChannel> eventChannel = new (std::nothrow) WindowEventChannelMocker(sessionStage); in HWTEST_F()
1516 WSError res = ssm_->CreateAndConnectSpecificSession(sessionStage, eventChannel, node, property, id, session, in HWTEST_F()
1519 sessionStage = new (std::nothrow) SessionStageMocker(); 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, eventChanne in HWTEST_F()
[all...]
H A Dscene_session_manager_test2.cpp2003 sptr<ISessionStage> sessionStage; 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()
2081 sptr<ISessionStage> sessionStage; in HWTEST_F() local
2086 auto result = ssm_->RecoverAndConnectSpecificSession(sessionStage, eventChannel, in HWTEST_F()
/foundation/window/window_manager/window_scene/intention_event/framework/anr_handler/src/
H A Danr_handler.cpp52 void ANRHandler::SetSessionStage(int32_t eventId, const wptr<ISessionStage>& sessionStage) in SetSessionStage() argument
54 auto task = [this, eventId, sessionStage]() { in SetSessionStage()
55 sptr<ISessionStage> session = sessionStage.promote(); in SetSessionStage()
62 sessionStageMap_[eventId] = { persistentId, sessionStage }; in SetSessionStage()
158 sptr<ISessionStage> session = sessionStageMap_[eventId].sessionStage.promote(); in MarkProcessed()
204 WLOGFW("No sessionStage for eventId:%{public}d", eventId); in GetPersistentIdOfEvent()
/foundation/window/window_manager/window_scene/intention_event/framework/anr_handler/include/
H A Danr_handler.h36 void SetSessionStage(int32_t eventId, const wptr<ISessionStage>& sessionStage);
61 wptr<ISessionStage> sessionStage; member
/foundation/window/window_manager/window_scene/test/mock/
H A Dmock_window_event_channel.h25 WindowEventChannelMocker(sptr<ISessionStage> sessionStage) : WindowEventChannel(sessionStage) {}; in WindowEventChannelMocker() argument
H A Dmock_session.h27 MOCK_METHOD7(Connect, WSError(const sptr<ISessionStage>& sessionStage,
31 MOCK_METHOD7(CreateAndConnectSpecificSession, WSError(const sptr<ISessionStage>& sessionStage,
H A Dmock_session_stub.h32 MOCK_METHOD7(Connect, WSError(const sptr<ISessionStage>& sessionStage,
/foundation/window/window_manager/window_scene/session_manager/include/zidl/
H A Dscene_session_manager_proxy.h30 WSError CreateAndConnectSpecificSession(const sptr<ISessionStage>& sessionStage,
34 WSError RecoverAndConnectSpecificSession(const sptr<ISessionStage>& sessionStage,
37 WSError RecoverAndReconnectSceneSession(const sptr<ISessionStage>& sessionStage,
104 void AddExtensionWindowStageToSCB(const sptr<ISessionStage>& sessionStage,
106 void RemoveExtensionWindowStageFromSCB(const sptr<ISessionStage>& sessionStage,
/foundation/window/window_manager/test/common/mock/
H A Dmock_window_adapter.h58 MOCK_METHOD6(RecoverAndReconnectSceneSession, WMError(const sptr<ISessionStage>& sessionStage,
61 MOCK_METHOD6(RecoverAndConnectSpecificSession, void(const sptr<ISessionStage>& sessionStage,
/foundation/window/window_manager/window_scene/session/host/src/
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()
107 TLOGW(WmsLogTag::WMS_MAIN, "Session or sessionStage is invalid, id: %{public}d state: %{public}u", in NotifyForegroundInteractiveStatus()
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()
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
/foundation/window/window_manager/wm/include/
H A Dwindow_adapter.h102 virtual void CreateAndConnectSpecificSession(const sptr<ISessionStage>& sessionStage,
106 virtual void RecoverAndConnectSpecificSession(const sptr<ISessionStage>& sessionStage,
112 virtual WMError RecoverAndReconnectSceneSession(const sptr<ISessionStage>& sessionStage,
122 virtual void AddExtensionWindowStageToSCB(const sptr<ISessionStage>& sessionStage,
124 virtual void RemoveExtensionWindowStageFromSCB(const sptr<ISessionStage>& sessionStage,
/foundation/window/window_manager/wmserver/include/zidl/
H A Dwindow_manager_interface.h169 virtual WSError CreateAndConnectSpecificSession(const sptr<ISessionStage>& sessionStage, in CreateAndConnectSpecificSession() argument
173 virtual WSError RecoverAndConnectSpecificSession(const sptr<ISessionStage>& sessionStage, in RecoverAndConnectSpecificSession() argument
182 virtual WSError RecoverAndReconnectSceneSession(const sptr<ISessionStage>& sessionStage, in RecoverAndReconnectSceneSession() argument
205 virtual void AddExtensionWindowStageToSCB(const sptr<ISessionStage>& sessionStage, in AddExtensionWindowStageToSCB() argument
207 virtual void RemoveExtensionWindowStageFromSCB(const sptr<ISessionStage>& sessionStage, in RemoveExtensionWindowStageFromSCB() argument
/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,
/foundation/window/window_manager/wm/src/
H A Dwindow_adapter.cpp747 void WindowAdapter::CreateAndConnectSpecificSession(const sptr<ISessionStage>& sessionStage, in CreateAndConnectSpecificSession() argument
756 wmsProxy->CreateAndConnectSpecificSession(sessionStage, eventChannel, in CreateAndConnectSpecificSession()
760 void WindowAdapter::RecoverAndConnectSpecificSession(const sptr<ISessionStage>& sessionStage, in RecoverAndConnectSpecificSession() argument
770 sessionStage, eventChannel, surfaceNode, property, session, token); in RecoverAndConnectSpecificSession()
793 WMError WindowAdapter::RecoverAndReconnectSceneSession(const sptr<ISessionStage>& sessionStage, in RecoverAndReconnectSceneSession() argument
803 sessionStage, eventChannel, surfaceNode, session, property, token); in RecoverAndReconnectSceneSession()
838 void WindowAdapter::AddExtensionWindowStageToSCB(const sptr<ISessionStage>& sessionStage, in AddExtensionWindowStageToSCB() argument
845 wmsProxy->AddExtensionWindowStageToSCB(sessionStage, token, surfaceNodeId); in AddExtensionWindowStageToSCB()
848 void WindowAdapter::RemoveExtensionWindowStageFromSCB(const sptr<ISessionStage>& sessionStage, in RemoveExtensionWindowStageFromSCB() argument
855 wmsProxy->RemoveExtensionWindowStageFromSCB(sessionStage, toke in RemoveExtensionWindowStageFromSCB()
[all...]
/foundation/window/window_manager/window_scene/session_manager/src/zidl/
H A Dscene_session_manager_stub.cpp198 sptr<ISessionStage> sessionStage = iface_cast<ISessionStage>(sessionStageObject); in HandleCreateAndConnectSpecificSession() local
202 if (sessionStage == nullptr || eventChannel == nullptr || surfaceNode == nullptr) { in HandleCreateAndConnectSpecificSession()
224 CreateAndConnectSpecificSession(sessionStage, eventChannel, surfaceNode, in HandleCreateAndConnectSpecificSession()
240 sptr<ISessionStage> sessionStage = iface_cast<ISessionStage>(sessionStageObject); 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()
281 sptr<ISessionStage> sessionStage = iface_cast<ISessionStage>(sessionStageObject); in HandleRecoverAndReconnectSceneSession() local
285 if (sessionStage == nullptr || eventChannel == nullptr || surfaceNode == nullptr) { in HandleRecoverAndReconnectSceneSession()
309 RecoverAndReconnectSceneSession(sessionStage, eventChannel, surfaceNode, sceneSession, property, token); in HandleRecoverAndReconnectSceneSession()
982 sptr<ISessionStage> sessionStage in HandleAddExtensionWindowStageToSCB() local
996 sptr<ISessionStage> sessionStage = iface_cast<ISessionStage>(sessionStageObject); HandleRemoveExtensionWindowStageFromSCB() local
[all...]
H A Dscene_session_manager_proxy.cpp33 WSError SceneSessionManagerProxy::CreateAndConnectSpecificSession(const sptr<ISessionStage>& sessionStage, in CreateAndConnectSpecificSession() argument
45 if (!data.WriteRemoteObject(sessionStage->AsObject())) { in CreateAndConnectSpecificSession()
98 WSError SceneSessionManagerProxy::RecoverAndConnectSpecificSession(const sptr<ISessionStage>& sessionStage, in RecoverAndConnectSpecificSession() argument
109 if (!sessionStage || !data.WriteRemoteObject(sessionStage->AsObject())) { in RecoverAndConnectSpecificSession()
155 WSError SceneSessionManagerProxy::RecoverAndReconnectSceneSession(const sptr<ISessionStage>& sessionStage, in RecoverAndReconnectSceneSession() argument
166 if (!sessionStage || !data.WriteRemoteObject(sessionStage->AsObject())) { in RecoverAndReconnectSceneSession()
1908 void SceneSessionManagerProxy::AddExtensionWindowStageToSCB(const sptr<ISessionStage>& sessionStage, in AddExtensionWindowStageToSCB() argument
1911 if (sessionStage in AddExtensionWindowStageToSCB()
1946 RemoveExtensionWindowStageFromSCB(const sptr<ISessionStage>& sessionStage, const sptr<IRemoteObject>& token) RemoveExtensionWindowStageFromSCB() argument
[all...]

Completed in 28 milliseconds

12