/foundation/window/window_manager/window_scene/test/unittest/ |
H A D | scene_session_manager_proxy_test.cpp | 70 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 D | scene_session_manager_supplement_test.cpp | 228 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 D | window_event_channel_test.cpp | 47 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 D | scene_session_manager_stub_test.cpp | 76 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 D | window_event_channel_stub_mock_test.cpp | 44 sptr<ISessionStage> sessionStage = new SessionStageMocker(); member in OHOS::Rosen::WindowEventChannelMockStubTest 45 sptr<WindowEventChannelStub> windowEventChannelStub_ = new WindowEventChannelMocker(sessionStage);
|
H A D | scene_session_manager_stub_lifecycle_test.cpp | 78 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 D | window_event_channel_stub_test.cpp | 50 sptr<ISessionStage> sessionStage = new SessionStageMocker(); member in OHOS::Rosen::WindowEventChannelStubTest 51 sptr<WindowEventChannelStub> windowEventChannelStub_ = new WindowEventChannelMocker(sessionStage);
|
H A D | scene_session_manager_test5.cpp | 1328 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 D | scene_session_manager_test2.cpp | 2003 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 D | anr_handler.cpp | 52 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 D | anr_handler.h | 36 void SetSessionStage(int32_t eventId, const wptr<ISessionStage>& sessionStage); 61 wptr<ISessionStage> sessionStage; member
|
/foundation/window/window_manager/window_scene/test/mock/ |
H A D | mock_window_event_channel.h | 25 WindowEventChannelMocker(sptr<ISessionStage> sessionStage) : WindowEventChannel(sessionStage) {}; in WindowEventChannelMocker() argument
|
H A D | mock_session.h | 27 MOCK_METHOD7(Connect, WSError(const sptr<ISessionStage>& sessionStage, 31 MOCK_METHOD7(CreateAndConnectSpecificSession, WSError(const sptr<ISessionStage>& sessionStage,
|
H A D | mock_session_stub.h | 32 MOCK_METHOD7(Connect, WSError(const sptr<ISessionStage>& sessionStage,
|
/foundation/window/window_manager/window_scene/session_manager/include/zidl/ |
H A D | scene_session_manager_proxy.h | 30 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 D | mock_window_adapter.h | 58 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 D | main_session.cpp | 62 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 D | extension_session.cpp | 155 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 D | window_adapter.h | 102 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 D | window_manager_interface.h | 169 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 D | main_session.h | 27 WSError Reconnect(const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel,
|
H A D | extension_session.h | 79 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 D | window_adapter.cpp | 747 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 D | scene_session_manager_stub.cpp | 198 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 D | scene_session_manager_proxy.cpp | 33 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...] |